Home
last modified time | relevance | path

Searched refs:reqlist (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/libcpc/common/
H A Dsubr.c50 nvlist_t *setlist, **reqlist; in __cpc_pack_set() local
61 if ((reqlist = (nvlist_t **)malloc(set->cs_nreqs * sizeof (*reqlist))) in __cpc_pack_set()
68 bzero((void *)reqlist, set->cs_nreqs * sizeof (*reqlist)); in __cpc_pack_set()
75 if (nvlist_add_string(reqlist[i], "cr_event", in __cpc_pack_set()
81 if (nvlist_add_uint32(reqlist[i], "cr_flags", in __cpc_pack_set()
84 if (nvlist_add_uint32(reqlist[i], "cr_index", in __cpc_pack_set()
126 nvlist_free(reqlist[i]); in __cpc_pack_set()
129 free(reqlist); in __cpc_pack_set()
136 if (reqlist[i] != 0) in __cpc_pack_set()
137 nvlist_free(reqlist[i]); in __cpc_pack_set()
[all …]
/illumos-gate/usr/src/cmd/devmgmt/cmds/
H A Ddevreserv.c151 char ***reqlist; /* * to list of lists */ in main() local
339 if (reqlist = buildreqlist(argp)) { in main()
342 if (alloclist = devreserv(key, reqlist)) { in main()
372 freereqlist(reqlist); in main()
/illumos-gate/usr/src/uts/common/io/softmac/
H A Dsoftmac_fp.c1065 list_t reqlist; in softmac_datapath_switch() local
1097 list_create(&reqlist, sizeof (softmac_switch_req_t), in softmac_datapath_switch()
1114 list_insert_tail(&reqlist, req); in softmac_datapath_switch()
1125 list_insert_tail(&reqlist, req); in softmac_datapath_switch()
1167 req = list_head(&reqlist); in softmac_datapath_switch()
1169 list_remove(&reqlist, req); in softmac_datapath_switch()
1174 ASSERT(list_is_empty(&reqlist)); in softmac_datapath_switch()
1175 list_destroy(&reqlist); in softmac_datapath_switch()
1187 while ((req = list_head(&reqlist)) != NULL) { in softmac_datapath_switch()
1188 list_remove(&reqlist, req); in softmac_datapath_switch()
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Dcpc.c576 nvlist_t **reqlist; in kcpc_copyin_set() local
617 nvpair_value_nvlist_array(nvp, &reqlist, in kcpc_copyin_set()
672 while ((nvp = nvlist_next_nvpair(reqlist[i], nvp)) != NULL) { in kcpc_copyin_set()
/illumos-gate/usr/src/uts/common/os/
H A Daio.c101 aio_req_t *reqlist, aio_t *aiop, model_t model);
102 static int aio_reqlist_concat(aio_t *aiop, aio_req_t **reqlist, int max);
613 aio_req_t *reqlist = NULL; in aiowaitn() local
727 cnt += aio_reqlist_concat(aiop, &reqlist, nent - cnt); in aiowaitn()
771 iocb_index = aio_unlock_requests(iocblist, iocb_index, reqlist, in aiowaitn()
810 aio_req_t *reqlist, in aio_unlock_requests() argument
817 for (reqp = reqlist; reqp != NULL; reqp = nreqp) { in aio_unlock_requests()
830 for (reqp = reqlist; reqp != NULL; reqp = nreqp) { in aio_unlock_requests()
854 aio_reqlist_concat(aio_t *aiop, aio_req_t **reqlist, int max) in aio_reqlist_concat() argument
859 list = *reqlist; in aio_reqlist_concat()
[all …]