| /freebsd-12-stable/sys/geom/vinum/ |
| D | geom_vinum_rm.c | 172 LIST_FOREACH_SAFE(d, &sc->drives, drive, d2) { in gv_resetconfig() 179 LIST_FOREACH_SAFE(p, &sc->plexes, plex, p2) { in gv_resetconfig() 185 LIST_FOREACH_SAFE(s, &sc->subdisks, sd, s2) in gv_resetconfig() 187 LIST_FOREACH_SAFE(d, &sc->drives, drive, d2) in gv_resetconfig() 189 LIST_FOREACH_SAFE(p, &sc->plexes, plex, p2) in gv_resetconfig() 191 LIST_FOREACH_SAFE(v, &sc->volumes, volume, v2) in gv_resetconfig() 218 LIST_FOREACH_SAFE(p, &v->plexes, in_volume, p2) in gv_rm_vol() 251 LIST_FOREACH_SAFE(s, &p->subdisks, in_plex, s2) in gv_rm_plex() 344 LIST_FOREACH_SAFE(s, &d->subdisks, from_drive, s2) { in gv_rm_drive() 356 LIST_FOREACH_SAFE(fl, &d->freelist, freelist, fl2) { in gv_rm_drive()
|
| D | geom_vinum_events.c | 244 LIST_FOREACH_SAFE(fl, &d->freelist, freelist, fl2) { in gv_drive_lost() 260 LIST_FOREACH_SAFE(s, &d->subdisks, from_drive, s2) { in gv_drive_lost()
|
| D | geom_vinum_subr.c | 1096 LIST_FOREACH_SAFE(v, &sc->volumes, volume, v2) { in gv_cleanup() 1101 LIST_FOREACH_SAFE(p, &sc->plexes, plex, p2) { in gv_cleanup() 1108 LIST_FOREACH_SAFE(s, &sc->subdisks, sd, s2) { in gv_cleanup() 1112 LIST_FOREACH_SAFE(d, &sc->drives, drive, d2) { in gv_cleanup() 1113 LIST_FOREACH_SAFE(fl, &d->freelist, freelist, fl2) { in gv_cleanup()
|
| D | geom_vinum_move.c | 178 LIST_FOREACH_SAFE(s, &p->subdisks, in_plex, s2) { in gv_move_sd()
|
| /freebsd-12-stable/sys/fs/nfsserver/ |
| D | nfs_nfsdcache.c | 818 LIST_FOREACH_SAFE(rp, &nfsrchash_table[i].tbl, rc_hash, nextrp) in nfsrvd_cleancache() 824 LIST_FOREACH_SAFE(rp, &nfsrvudphashtbl[i], rc_hash, nextrp) { in nfsrvd_cleancache() 850 LIST_FOREACH_SAFE(rp, &hbp->tbl, rc_ahash, nextrp) { in nfsrc_trimcache() 905 LIST_FOREACH_SAFE(rp, &nfsrchash_table[i].tbl, rc_hash, in nfsrc_trimcache() 955 LIST_FOREACH_SAFE(rp, &nfsrchash_table[i].tbl, in nfsrc_trimcache()
|
| /freebsd-12-stable/sys/dev/fb/ |
| D | fbd.c | 225 LIST_FOREACH_SAFE(entry, &fb_list_head, fb_list, tmp) { in fbd_find() 273 LIST_FOREACH_SAFE(entry, &fb_list_head, fb_list, tmp) { in fbd_unregister()
|
| /freebsd-12-stable/sys/geom/ |
| D | geom_subr.c | 390 LIST_FOREACH_SAFE(gap, &gp->aliases, ga_next, gaptmp) in g_destroy_geom() 459 LIST_FOREACH_SAFE(gp, &mp->geom, geom, gp2) { in g_wither_washer() 460 LIST_FOREACH_SAFE(pp, &gp->provider, provider, pp2) { in g_wither_washer() 468 LIST_FOREACH_SAFE(pp, &gp->provider, provider, pp2) { in g_wither_washer() 472 LIST_FOREACH_SAFE(cp, &gp->consumer, consumer, cp2) { in g_wither_washer() 545 LIST_FOREACH_SAFE(cp, &pp->consumers, consumers, next_cp) { in g_new_provider_event() 636 LIST_FOREACH_SAFE(cp, &pp->consumers, consumers, cp2) { in g_resize_provider_event() 654 LIST_FOREACH_SAFE(cp, &pp->consumers, consumers, cp2) { in g_resize_provider_event()
|
| D | geom_event.c | 138 LIST_FOREACH_SAFE(cp, &pp->consumers, consumers, next_cp) { in g_attr_changed_event() 208 LIST_FOREACH_SAFE(cp, &pp->consumers, consumers, cp2) { in g_orphan_register()
|
| /freebsd-12-stable/lib/libc/stdlib/ |
| D | cxa_thread_atexit_impl.c | 126 LIST_FOREACH_SAFE(dtor, &dtors, entry, tdtor) { in cxa_thread_walk()
|
| /freebsd-12-stable/contrib/elftoolchain/common/ |
| D | _elftc.h | 79 #ifndef LIST_FOREACH_SAFE 80 #define LIST_FOREACH_SAFE(var, head, field, tvar) \ macro
|
| /freebsd-12-stable/lib/libpmcstat/ |
| D | libpmcstat_string.c | 137 LIST_FOREACH_SAFE(ps, &pmcstat_string_hash[i], ps_next, in pmcstat_string_shutdown()
|
| D | libpmcstat_logging.c | 632 LIST_FOREACH_SAFE(pi, &pmcstat_image_hash[i], pi_next, in pmcstat_shutdown_logging() 646 LIST_FOREACH_SAFE(pp, &pmcstat_process_hash[i], pp_next, in pmcstat_shutdown_logging()
|
| D | libpmcstat_process.c | 227 LIST_FOREACH_SAFE(pp, &pmcstat_process_hash[hash], pp_next, pptmp) in pmcstat_process_lookup()
|
| /freebsd-12-stable/sys/rpc/rpcsec_gss/ |
| D | rpcsec_gss.c | 478 LIST_FOREACH_SAFE(pr, &gd->gd_reqs, pr_link, npr) { in rpc_gss_purge_xid() 487 LIST_FOREACH_SAFE(pr, &reqs, pr_link, npr) { in rpc_gss_purge_xid() 675 LIST_FOREACH_SAFE(pr, &gd->gd_reqs, pr_link, npr) { in rpc_gss_validate() 703 LIST_FOREACH_SAFE(pr, &reqs, pr_link, npr) in rpc_gss_validate() 724 LIST_FOREACH_SAFE(pr, &reqs, pr_link, npr) { in rpc_gss_validate()
|
| /freebsd-12-stable/sys/fs/nfsclient/ |
| D | nfs_clstate.c | 1498 LIST_FOREACH_SAFE(lp, lhp, nfsl_list, nlp) { in nfscl_freealllocks() 1608 LIST_FOREACH_SAFE(lop, &lp->nfsl_lock, nfslo_list, nlop) { in nfscl_freelockowner() 1642 LIST_FOREACH_SAFE(owp, &dp->nfsdl_owner, nfsow_list, nowp) { in nfscl_cleandeleg() 1683 LIST_FOREACH_SAFE(dip, &clp->nfsc_devinfo, nfsdi_list, ndip) in nfscl_cleanclient() 1687 LIST_FOREACH_SAFE(owp, &clp->nfsc_owner, nfsow_list, nowp) { in nfscl_cleanclient() 1688 LIST_FOREACH_SAFE(op, &owp->nfsow_open, nfso_list, nop) { in nfscl_cleanclient() 1771 LIST_FOREACH_SAFE(owp, &clp->nfsc_owner, nfsow_list, nowp) { in nfscl_expireclient() 1773 LIST_FOREACH_SAFE(op, &owp->nfsow_open, nfso_list, nop) { in nfscl_expireclient() 1842 LIST_FOREACH_SAFE(owp, &clp->nfsc_owner, nfsow_list, nowp) { in nfscl_cleanupkext() 1844 LIST_FOREACH_SAFE(lp, &op->nfso_lock, nfsl_list, nlp) { in nfscl_cleanupkext() [all …]
|
| /freebsd-12-stable/sys/dev/vmware/vmci/ |
| D | vmci_kernel_if.h | 35 LIST_FOREACH_SAFE(_e, _l, n, t)
|
| /freebsd-12-stable/lib/libthr/thread/ |
| D | thr_pshared.c | 109 LIST_FOREACH_SAFE(h, hd, link, h1) { in pshared_gc()
|
| /freebsd-12-stable/usr.sbin/pmcstat/ |
| D | pmcpl_callgraph.c | 120 LIST_FOREACH_SAFE(cgc, &cg->pcg_children, pcg_sibling, cgtmp) in pmcstat_cgnode_free() 687 LIST_FOREACH_SAFE(pch, &pmcstat_cgnode_hash[i], pch_next, in pmcpl_cg_shutdown()
|
| /freebsd-12-stable/sys/dev/xen/xenstore/ |
| D | xenstore_dev.c | 430 LIST_FOREACH_SAFE(trans, &u->transactions, list, tmpt) { in xs_dev_dtor() 436 LIST_FOREACH_SAFE(watch, &u->watches, list, tmpw) { in xs_dev_dtor()
|
| /freebsd-12-stable/sys/geom/sched/ |
| D | g_sched.c | 445 LIST_FOREACH_SAFE(cp, &hp[i], gsc_clist, cp2) in g_sched_hash_fini() 478 LIST_FOREACH_SAFE(cp, &sc->sc_hash[i], gsc_clist, cp2) { in g_sched_flush_classes() 656 LIST_FOREACH_SAFE(gp, &g_sched_class.geom, geom, gp_tmp) { in g_gsched_unregister() 668 LIST_FOREACH_SAFE(cur, &me.gs_scheds, glist, tmp) { in g_gsched_unregister()
|
| /freebsd-12-stable/sys/dev/proto/ |
| D | proto_busdma.c | 380 LIST_FOREACH_SAFE(md, &busdma->mds, mds, md1) in proto_busdma_cleanup() 382 LIST_FOREACH_SAFE(tag, &busdma->tags, tags, tag1) in proto_busdma_cleanup()
|
| /freebsd-12-stable/sys/kern/ |
| D | subr_rtc.c | 262 LIST_FOREACH_SAFE(rtc, &rtc_list, rtc_entries, tmp) { in clock_unregister()
|
| /freebsd-12-stable/usr.bin/truss/ |
| D | setup.c | 350 LIST_FOREACH_SAFE(t, &p->threadlist, entries, t2) { in free_proc() 362 LIST_FOREACH_SAFE(p, &info->proclist, entries, p2) { in detach_all_procs()
|
| /freebsd-12-stable/crypto/openssh/openbsd-compat/ |
| D | sys-queue.h | 67 #undef LIST_FOREACH_SAFE 286 #define LIST_FOREACH_SAFE(var, head, field, tvar) \ macro
|
| /freebsd-12-stable/sys/dev/bhnd/nvram/ |
| D | bhnd_nvram_store.c | 227 LIST_FOREACH_SAFE(alias, &sc->aliases[i], na_link, anext) in bhnd_nvram_store_free() 234 LIST_FOREACH_SAFE(path, &sc->paths[i], np_link, pnext) in bhnd_nvram_store_free()
|