Home
last modified time | relevance | path

Searched refs:list_next (Results 1 – 25 of 270) sorted by relevance

1234567891011

/illumos-gate/usr/src/common/list/
H A Dlist.c51 lnew->list_next = (node)->list_next; \
53 (node)->list_next = lnew; \
58 lnew->list_next = (node); \
65 (node)->list_prev->list_next = (node)->list_next; \
135 ASSERT(lold->list_next != NULL); in list_remove()
212 dstnode->list_prev->list_next = srcnode->list_next; in list_move_tail()
227 lnew->list_next = lold->list_next; in list_link_replace()
229 lold->list_prev->list_next = lnew; in list_link_replace()
230 lold->list_next->list_prev = lnew; in list_link_replace()
237 link->list_next = NULL; in list_link_init()
[all …]
/illumos-gate/usr/src/lib/libpcidb/common/
H A Dpcidb.c495 v = list_next(&hdl->ph_vendors, v)) { in pcidb_lookup_vendor()
525 return (list_next(&vend->pv_hdl->ph_vendors, vend)); in pcidb_vendor_iter_next()
534 dev = list_next(&vend->pv_devs, dev)) { in pcidb_lookup_device_by_vendor()
563 return (list_next(&dev->pd_vend->pv_devs, dev)); in pcidb_device_iter_next()
592 sub = list_next(&dev->pd_subs, sub)) { in pcidb_lookup_subvd_by_device()
637 return (list_next(&sub->ps_dev->pd_subs, sub)); in pcidb_subvd_iter_next()
675 class = list_next(&hdl->ph_classes, class)) { in pcidb_lookup_class()
693 return (list_next(&class->pc_hdl->ph_classes, class)); in pcidb_class_iter_next()
743 return (list_next(&sub->psc_class->pc_subclass, sub)); in pcidb_subclass_iter_next()
776 prog = list_next(&sub->psc_progifs, prog)) { in pcidb_lookup_progif_by_subclass()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/smartpqi/
H A Dsmartpqi.c273 if (current->list_next == (list_node_t *)listp) in pqi_list_next()
276 if (current->list_next == (list_node_t *)NULL) in pqi_list_next()
279 if (current->list_next == current->list_prev) in pqi_list_next()
282 rval = mdb_vread(structp, sz, (uintptr_t)current->list_next); in pqi_list_next()
297 if (*list_anchor == list.list_head.list_next) { in pqi_list_head()
314 (uintptr_t)s_devnodes.list_head.list_next); in pqi_device_list_head()
334 (uintptr_t)cmds.list_head.list_next); in pqi_cmd_list_head()
337 "command list (0x%p)\n", cmds.list_head.list_next); in pqi_cmd_list_head()
421 d_drvrp = (pqi_device_t *)(s_devnodes.list_head.list_next); in pqi_display_devices()
458 d_drvrp = (pqi_device_t *)(next_dp->pd_list.list_next); in pqi_display_devices()
/illumos-gate/usr/src/uts/common/sys/ib/clients/rdsv3/
H A Drdsv3_impl.h142 if ((node)->list_next != NULL) { \
143 (node)->list_prev->list_next = (node)->list_next; \
144 (node)->list_next->list_prev = (node)->list_prev; \
145 (node)->list_next = (node)->list_prev = NULL; \
154 for (objp = list_head(listp); objp; objp = list_next(listp, objp))
157 list_next(listp, objp) : NULL; \
160 list_next(listp, objp) : NULL)
/illumos-gate/usr/src/uts/common/inet/ilb/
H A Dilb_alg_rr.c74 rr_alg->rr_next = list_next(servers, rr_alg->rr_next); in rr_lb()
84 rr_alg->rr_next = list_next(servers, rr_alg->rr_next); in rr_lb()
98 tmp_server = list_next(servers, tmp_server)) { in rr_server_del()
101 rr_alg->rr_next = list_next(servers, in rr_server_del()
146 tmp_server = list_next(servers, tmp_server)) { in rr_server_toggle()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzio_inject.c171 handler = list_next(&inject_handlers, handler)) { in zio_handle_panic_injection()
230 handler = list_next(&inject_handlers, handler)) { in zio_handle_decrypt_injection()
272 handler = list_next(&inject_handlers, handler)) { in zio_handle_fault_injection()
314 handler = list_next(&inject_handlers, handler)) { in zio_handle_label_injection()
362 handler = list_next(&inject_handlers, handler)) { in zio_handle_device_injection()
431 handler = list_next(&inject_handlers, handler)) { in zio_handle_ignored_writes()
469 handler = list_next(&inject_handlers, handler)) { in spa_handle_ignored_writes()
551 handler != NULL; handler = list_next(&inject_handlers, handler)) { in zio_handle_io_delay()
836 handler = list_next(&inject_handlers, handler)) in zio_inject_list_next()
867 handler = list_next(&inject_handlers, handler)) in zio_clear_fault()
H A Dvdev_indirect.c1246 is != NULL; is = list_next(&iv->iv_splits, is)) { in vdev_indirect_read_all()
1415 is != NULL; is = list_next(&iv->iv_splits, is)) { in vdev_indirect_repair()
1449 is != NULL; is = list_next(&iv->iv_splits, is)) { in vdev_indirect_all_checksum_errors()
1479 is != NULL; is = list_next(&iv->iv_splits, is)) { in vdev_indirect_splits_checksum_validate()
1506 is != NULL; is = list_next(&iv->iv_splits, is)) in vdev_indirect_splits_enumerate_all()
1518 is->is_good_child = list_next(&is->is_unique_child, in vdev_indirect_splits_enumerate_all()
1553 ic = list_next(&is->is_unique_child, ic); in vdev_indirect_splits_enumerate_randomly()
1577 is != NULL; is = list_next(&iv->iv_splits, is)) { in vdev_indirect_splits_damage()
1607 is != NULL; is = list_next(&iv->iv_splits, is)) { in vdev_indirect_splits_damage()
1629 is != NULL; is = list_next(&iv->iv_splits, is)) { in vdev_indirect_splits_damage()
[all …]
/illumos-gate/usr/src/uts/i86pc/io/
H A Dimmu_dmar.c260 for (; idt; idt = list_next(&ioapic_drhd_list, idt)) { in ioapic_drhd_lookup()
548 scope = list_next(scope_list, scope)) { in print_scope_list()
571 drhd = list_next(drhd_list, drhd)) { in print_drhd_list()
598 rmrr = list_next(rmrr_list, rmrr)) { in print_rmrr_list()
718 drhd = list_next(drhd_list, drhd), unit++) { in dmar_devinfos_create()
758 for (; drhd; drhd = list_next(drhd_list, drhd)) { in dmar_devi_destroy()
963 for (; rmrr; rmrr = list_next(&(tbl->tbl_rmrr_list)[seg], in immu_dmar_rmrr_map()
971 scope = list_next(&(rmrr->rm_scope_list), scope)) { in immu_dmar_rmrr_map()
1087 scope = list_next(&(drhd->dr_scope_list), scope)) { in immu_dmar_get_immu()
1141 scope = list_next(&(drhd->dr_scope_list), scope)) { in immu_dmar_get_immu()
[all …]
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_addr.c213 sctp_ipif = list_next( in sctp_lookup_ipif_addr()
258 sctp_ipif = list_next( in sctp_get_all_ipifs()
269 sctp_ipif = list_next( in sctp_get_all_ipifs()
851 fsctp_ill = list_next( in sctp_move_ipif()
862 tsctp_ill = list_next( in sctp_move_ipif()
872 sctp_ipif = list_next( in sctp_move_ipif()
1041 sctp_ill = list_next( in sctp_update_ipif_addr()
1164 sctp_ill = list_next( in sctp_update_ipif()
1182 sctp_ipif = list_next( in sctp_update_ipif()
1911 sctp_ipif = list_next( in sctp_get_addrlist()
[all …]
/illumos-gate/usr/src/uts/common/io/overlay/
H A Doverlay_plugin.c179 ipp = list_next(&overlay_plugin_list, ipp)) { in overlay_plugin_register()
199 opp = list_next(&overlay_plugin_list, opp)) { in overlay_plugin_unregister()
233 opp = list_next(&overlay_plugin_list, opp)) { in overlay_plugin_lookup()
274 opp = list_next(&overlay_plugin_list, opp)) { in overlay_plugin_walk()
/illumos-gate/usr/src/uts/common/io/arn/
H A Darn_core.h70 #define list_empty(a) ((a)->list_head.list_next == &(a)->list_head)
76 ((node)->list_next == &(list)->list_head)
80 temp = list_object((list_t), ((list_d2l(list_t, object))->list_next));\
81 ((list_d2l(list_t, temp))->list_next) != &((list_t)->list_head);\
83 temp = list_object((list_t), (list_d2l(list_t, temp))->list_next))
101 dstnode->list_prev->list_next = srcnode->list_next; in list_splice_tail_init()
102 srcnode->list_next->list_prev = dstnode->list_prev; in list_splice_tail_init()
104 srcnode->list_prev->list_next = dstnode; in list_splice_tail_init()
107 srcnode->list_next = srcnode->list_prev = srcnode; in list_splice_tail_init()
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsockparams.c366 for (sp = list_head(list); sp != NULL; sp = list_next(list, sp)) { in sockparams_find()
686 sp = list_next(&sphead, sp)) { in solookup()
775 sp = list_next(list, sp)) { in sockparams_filter_cleanup_impl()
779 fil = list_next(flist, fil)) { in sockparams_filter_cleanup_impl()
808 sp = list_next(list, sp)) { in sockparams_new_filter_impl()
856 sp = list_next(&sphead, sp)) { in sockparams_copyout_socktable()
872 sp = list_next(&sphead, sp)) { in sockparams_copyout_socktable()
/illumos-gate/usr/src/lib/libzonestat/common/
H A Dlibzonestat.c101 zone = list_next(&u->zsu_zone_list, zone)) { in zs_lookup_zone_byid()
114 zone = list_next(&u->zsu_zone_list, zone)) { in zs_lookup_zone_byname()
272 znew = list_next(&unew->zsu_zone_list, znew); in zs_usage_compute_zones()
281 zold = list_next(&uold->zsu_zone_list, zold); in zs_usage_compute_zones()
322 znew = list_next(&unew->zsu_zone_list, znew); in zs_usage_compute_zones()
323 zold = list_next(&uold->zsu_zone_list, zold); in zs_usage_compute_zones()
343 znew = list_next(&unew->zsu_zone_list, znew); in zs_usage_compute_zones()
655 pnew = list_next(&unew->zsu_pset_list, pnew); in zs_usage_compute_psets()
2485 pz = list_next(&pset->zsp_usage_list, pz); in zs_usage_free()
2619 z = list_next(&u->zsu_zone_list, z)) { in zs_usage_set_compute()
[all …]
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_browser.c876 hinfo = list_next(&smb_binfo.bi_hlist, hinfo); in smb_browser_process_AnnouncementRequest()
1078 hinfo = list_next(&smb_binfo.bi_hlist, hinfo); in smb_browser_config()
1097 hinfo = list_next(&smb_binfo.bi_hlist, hinfo); in smb_browser_config()
1262 hinfo = list_next(&smb_binfo.bi_hlist, hinfo); in smb_browser_service()
1279 hinfo = list_next(&smb_binfo.bi_hlist, hinfo); in smb_browser_service()
1312 hinfo = list_next(&smb_binfo.bi_hlist, hinfo); in smb_browser_netlogon()
/illumos-gate/usr/src/uts/common/os/
H A Dretire_store.c266 for (rsp = list_head(listp); rsp; rsp = list_next(listp, rsp)) { in rio_store_encode()
334 for (rsp = list_head(listp); rsp; rsp = list_next(listp, rsp)) { in e_ddi_retire_persist()
381 next = list_next(listp, rsp); in e_ddi_retire_unpersist()
416 for (rsp = list_head(listp); rsp; rsp = list_next(listp, rsp)) { in e_ddi_device_retired()
H A Dksensor.c360 s = list_next(&ksdip->ksdip_sensors, s)) { in ksensor_search_ksdip()
399 sensor = list_next(&k->ksdip_sensors, sensor)) { in ksensor_dip_unbind_taskq()
442 sensor = list_next(&k->ksdip_sensors, sensor)) { in ksensor_dip_unbind_cb()
474 k = list_next(&ksensor_dips, k)) { in ksensor_dip_find()
625 sensor = list_next(&kdip->ksdip_sensors, sensor)) { in ksensor_remove()
/illumos-gate/usr/src/uts/common/refhash/
H A Drefhash.c122 lp = list_next(&hp->rh_buckets[bucket], lp)) { in refhash_lookup()
140 lp = list_next(&hp->rh_objs, lp)) { in refhash_linear_search()
188 while ((lp = list_next(&hp->rh_objs, lp)) != NULL) { in refhash_next()
/illumos-gate/usr/src/common/core/
H A Dcore_shstrtab.c76 ent = list_next(&s->sst_names, ent)) { in shstrtab_ndx()
140 ent = list_next(&s->sst_names, ent)) { in shstrtab_dump()
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_domain.c208 dcnode = list_next(&smb_dcache.dc_cache, dcnode); in smb_domain_lookup_name()
251 dcnode = list_next(&smb_dcache.dc_cache, dcnode); in smb_domain_lookup_sid()
288 dcnode = list_next(&smb_dcache.dc_cache, dcnode); in smb_domain_lookup_type()
397 dcnode = list_next(&smb_dcache.dc_cache, dcnode); in smb_domain_update()
464 domain = list_next(&smb_dcache.dc_cache, domain); in smb_domain_save()
471 domain = list_next(&smb_dcache.dc_cache, domain); in smb_domain_save()
/illumos-gate/usr/src/uts/common/io/
H A Dbridge.c472 blp = list_next(&bip->bi_links, blp)) { in bridge_m_setprop()
596 bmp = list_next(&bmac_list, bmp)) { in bmac_alloc()
726 bip = list_next(&inst_list, bip)) { in bridge_find_name()
752 bip = list_next(&inst_list, bip)) { in bridge_create()
1251 blnext = list_next(&bip->bi_links, blp); in shutdown_inst()
1302 bip = list_next(&inst_list, bip)) { in bridge_trill_register_cb()
1365 blp = list_next(&bip->bi_links, blp)) { in bridge_trill_lnref()
1420 bip = list_next(&inst_list, bip)) { in bridge_timer()
1473 bmnext = list_next(&bmac_list, bmp); in bridge_timer()
2820 bipt = list_next(&inst_list, bipt)) { in bridge_add_link()
[all …]
/illumos-gate/usr/src/uts/common/io/audio/impl/
H A Daudio_engine.c291 for (d = list_head(l); d; d = list_next(l, d)) { in auimpl_dev_hold_by_devt()
310 for (d = list_head(l); d; d = list_next(l, d)) { in auimpl_dev_hold_by_index()
426 for (audio_engine_t *t = list_head(list); t; t = list_next(list, t)) { in auimpl_engine_setup()
902 for (srch = list_head(l); srch; srch = list_next(l, srch)) { in audio_dev_register()
921 for (srch = list_head(l); srch; srch = list_next(l, srch)) { in audio_dev_register()
1099 for (srch = list_head(l); srch; srch = list_next(l, srch)) { in auclnt_set_dev_number()
1118 for (d = list_head(l); d; d = list_next(l, d)) { in auclnt_walk_devs()
1135 for (d = list_head(l); d; d = list_next(l, d)) { in auclnt_walk_devs_by_number()
1152 for (e = list_head(l); e != NULL; e = list_next(l, e)) { in auclnt_dev_walk_engines()
1279 for (e = list_head(l); e != NULL; e = list_next(l, e)) { in auimpl_dev_suspend()
[all …]
/illumos-gate/usr/src/uts/intel/io/vmm/
H A Dvmm_vm.c447 vmc = list_next(&vms->vms_clients, vmc)) { in vmspace_set_tracking()
642 for (vmsm = list_head(ml); vmsm != NULL; vmsm = list_next(ml, vmsm)) { in vm_mapping_find()
670 for (vmsm = list_head(ml); vmsm != NULL; vmsm = list_next(ml, vmsm)) { in vm_mapping_gap()
712 for (; vmc != NULL; vmc = list_next(&vms->vms_clients, vmc)) { in vmspace_hold_enter()
735 for (; vmc != NULL; vmc = list_next(&vms->vms_clients, vmc)) { in vmspace_hold_exit()
750 vmc = list_next(&vms->vms_clients, vmc)) { in vmspace_clients_invalidate()
831 vmc = list_next(&vms->vms_clients, vmc)) { in vmspace_unmap()
1206 vmp = list_next(&vmc->vmc_held_pages, vmc)) { in vmc_space_unmap()
1244 next = list_next(&vms->vms_clients, vmc); in vmc_space_orphan()
1254 vmp = list_next(&vmc->vmc_held_pages, vmp)) { in vmc_space_orphan()
[all …]
H A Dvmm_zsd.c71 zsd = list_next(&vmm_zsd_list, zsd)) { in vmm_zsd_add_vm()
162 sc = list_next(&zsd->vz_vmms, sc)) { in vmm_zsd_shutdown()
/illumos-gate/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c891 tmp = list_next(&ctl->zsctl_zones, tmp); in zsd_lookup_insert_zone()
1124 usage = list_next(&pset->zsp_usage_list, in zsd_mark_pset_usages_end()
1368 cpu = list_next(&ctl->zsctl_cpus, cpu); in zsd_mark_cpus_end()
1443 tmp = list_next(&ctl->zsctl_psets, tmp); in zsd_lookup_insert_pset()
3017 proc = list_next(&plist, proc); in zsd_refresh_procs()
3028 proc = list_next(&plist, proc); in zsd_refresh_procs()
3047 proc = list_next(&plist, proc); in zsd_refresh_procs()
3056 proc = list_next(&plist, proc); in zsd_refresh_procs()
3065 proc = list_next(&plist, proc); in zsd_refresh_procs()
3074 proc = list_next(&plist, proc); in zsd_refresh_procs()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd_hc.c96 hc = list_next(&ilbd_hc_list, hc)) { in ilbd_get_hc()
423 tmp_srv = list_next(&hc_rule->hcr_servers, tmp_srv); in ilbd_hc_copy_srvs()
440 hc = list_next(&ilbd_hc_list, hc)) { in ilbd_get_hc_srvs()
442 hc_rule = list_next(&hc->ihc_rules, hc_rule)) { in ilbd_get_hc_srvs()
784 tmp_srv = list_next(&hc_rule->hcr_servers, tmp_srv)) { in ilbd_hc_srv_rem()
845 ilbd_srv = list_next(&sg->isg_srvlist, ilbd_srv)) { in ilbd_hc_associate_rule()
875 hc_rule = list_next(&hc->ihc_rules, hc_rule)) { in ilbd_hc_dissociate_rule()
907 tmp_hc_rule = list_next(&tmp_hc->ihc_rules, tmp_hc_rule)) { in ilbd_hc_check_rule()
955 tmp_srv = list_next(&hc_rule->hcr_servers, tmp_srv)) { in ilbd_hc_toggle_server()
1015 tmp_srv = list_next(&hc_rule->hcr_servers, tmp_srv)) { in ilbd_hc_toggle_rule()

1234567891011