Searched refs:reqlist (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/lib/libcpc/common/ |
H A D | subr.c | 50 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() 72 if (nvlist_alloc(&reqlist[i], 0, 0) == ENOMEM) in __cpc_pack_set() 75 if (nvlist_add_string(reqlist[i], "cr_event", in __cpc_pack_set() 78 if (nvlist_add_uint64(reqlist[i], "cr_preset", 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() 103 if (nvlist_add_nvlist(reqlist[i], "cr_attr", in __cpc_pack_set() 114 if (nvlist_add_nvlist_array(setlist, "reqs", reqlist, in __cpc_pack_set() [all …]
|
/illumos-gate/usr/src/cmd/devmgmt/cmds/ |
H A D | devreserv.c | 151 char ***reqlist; /* * to list of lists */ in main() local 355 if (reqlist = buildreqlist(argp)) { in main() 358 if (alloclist = devreserv(key, reqlist)) { in main() 387 freereqlist(reqlist); in main()
|
/illumos-gate/usr/src/uts/common/io/softmac/ |
H A D | softmac_fp.c | 1065 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 D | cpc.c | 576 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 D | aio.c | 101 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 …]
|