| /freebsd-14.2/sys/geom/vinum/ |
| H A D | geom_vinum_rm.c | 171 LIST_FOREACH_SAFE(d, &sc->drives, drive, d2) { in gv_resetconfig() 178 LIST_FOREACH_SAFE(p, &sc->plexes, plex, p2) { in gv_resetconfig() 184 LIST_FOREACH_SAFE(s, &sc->subdisks, sd, s2) in gv_resetconfig() 186 LIST_FOREACH_SAFE(d, &sc->drives, drive, d2) in gv_resetconfig() 188 LIST_FOREACH_SAFE(p, &sc->plexes, plex, p2) in gv_resetconfig() 190 LIST_FOREACH_SAFE(v, &sc->volumes, volume, v2) in gv_resetconfig() 217 LIST_FOREACH_SAFE(p, &v->plexes, in_volume, p2) in gv_rm_vol() 250 LIST_FOREACH_SAFE(s, &p->subdisks, in_plex, s2) in gv_rm_plex() 343 LIST_FOREACH_SAFE(s, &d->subdisks, from_drive, s2) { in gv_rm_drive() 355 LIST_FOREACH_SAFE(fl, &d->freelist, freelist, fl2) { in gv_rm_drive()
|
| H A D | geom_vinum_events.c | 242 LIST_FOREACH_SAFE(fl, &d->freelist, freelist, fl2) { in gv_drive_lost() 258 LIST_FOREACH_SAFE(s, &d->subdisks, from_drive, s2) { in gv_drive_lost()
|
| H A D | geom_vinum_subr.c | 1092 LIST_FOREACH_SAFE(v, &sc->volumes, volume, v2) { in gv_cleanup() 1097 LIST_FOREACH_SAFE(p, &sc->plexes, plex, p2) { in gv_cleanup() 1104 LIST_FOREACH_SAFE(s, &sc->subdisks, sd, s2) { in gv_cleanup() 1108 LIST_FOREACH_SAFE(d, &sc->drives, drive, d2) { in gv_cleanup() 1109 LIST_FOREACH_SAFE(fl, &d->freelist, freelist, fl2) { in gv_cleanup()
|
| H A D | geom_vinum_move.c | 177 LIST_FOREACH_SAFE(s, &p->subdisks, in_plex, s2) { in gv_move_sd()
|
| /freebsd-14.2/sys/dev/fb/ |
| H A D | fbd.c | 221 LIST_FOREACH_SAFE(entry, &fb_list_head, fb_list, tmp) { in fbd_find() 269 LIST_FOREACH_SAFE(entry, &fb_list_head, fb_list, tmp) { in fbd_unregister()
|
| /freebsd-14.2/sys/fs/nfsserver/ |
| H A D | nfs_nfsdcache.c | 825 LIST_FOREACH_SAFE(rp, &NFSD_VNET(nfsrchash_table)[i].tbl, in nfsrvd_cleancache() 830 LIST_FOREACH_SAFE(rp, &NFSD_VNET(nfsrvudphashtbl)[i], rc_hash, in nfsrvd_cleancache() 856 LIST_FOREACH_SAFE(rp, &hbp->tbl, rc_ahash, nextrp) { in nfsrc_trimcache() 914 LIST_FOREACH_SAFE(rp, in nfsrc_trimcache() 965 LIST_FOREACH_SAFE(rp, in nfsrc_trimcache()
|
| /freebsd-14.2/lib/libc/stdlib/ |
| H A D | cxa_thread_atexit_impl.c | 124 LIST_FOREACH_SAFE(dtor, &dtors, entry, tdtor) { in cxa_thread_walk()
|
| /freebsd-14.2/sys/geom/ |
| H A D | geom_subr.c | 491 LIST_FOREACH_SAFE(gp, &mp->geom, geom, gp2) { in g_wither_washer() 492 LIST_FOREACH_SAFE(pp, &gp->provider, provider, pp2) { in g_wither_washer() 500 LIST_FOREACH_SAFE(pp, &gp->provider, provider, pp2) { in g_wither_washer() 504 LIST_FOREACH_SAFE(cp, &gp->consumer, consumer, cp2) { in g_wither_washer() 577 LIST_FOREACH_SAFE(cp, &pp->consumers, consumers, next_cp) { in g_new_provider_event() 699 LIST_FOREACH_SAFE(cp, &pp->consumers, consumers, cp2) { in g_resize_provider_event() 717 LIST_FOREACH_SAFE(cp, &pp->consumers, consumers, cp2) { in g_resize_provider_event() 810 LIST_FOREACH_SAFE(gap, &pp->aliases, ga_next, gaptmp) in g_destroy_provider()
|
| H A D | geom_event.c | 136 LIST_FOREACH_SAFE(cp, &pp->consumers, consumers, next_cp) { in g_attr_changed_event() 206 LIST_FOREACH_SAFE(cp, &pp->consumers, consumers, cp2) { in g_orphan_register()
|
| /freebsd-14.2/lib/libpmcstat/ |
| H A D | libpmcstat_string.c | 135 LIST_FOREACH_SAFE(ps, &pmcstat_string_hash[i], ps_next, in pmcstat_string_shutdown()
|
| H A D | libpmcstat_logging.c | 630 LIST_FOREACH_SAFE(pi, &pmcstat_image_hash[i], pi_next, in pmcstat_shutdown_logging() 644 LIST_FOREACH_SAFE(pp, &pmcstat_process_hash[i], pp_next, in pmcstat_shutdown_logging()
|
| H A D | libpmcstat_process.c | 225 LIST_FOREACH_SAFE(pp, &pmcstat_process_hash[hash], pp_next, pptmp) in pmcstat_process_lookup()
|
| /freebsd-14.2/contrib/elftoolchain/common/ |
| H A D | _elftc.h | 79 #ifndef LIST_FOREACH_SAFE 80 #define LIST_FOREACH_SAFE(var, head, field, tvar) \ macro
|
| /freebsd-14.2/sys/rpc/rpcsec_gss/ |
| H A D | rpcsec_gss.c | 476 LIST_FOREACH_SAFE(pr, &gd->gd_reqs, pr_link, npr) { in rpc_gss_purge_xid() 485 LIST_FOREACH_SAFE(pr, &reqs, pr_link, npr) { in rpc_gss_purge_xid() 673 LIST_FOREACH_SAFE(pr, &gd->gd_reqs, pr_link, npr) { in rpc_gss_validate() 701 LIST_FOREACH_SAFE(pr, &reqs, pr_link, npr) in rpc_gss_validate() 722 LIST_FOREACH_SAFE(pr, &reqs, pr_link, npr) { in rpc_gss_validate()
|
| /freebsd-14.2/sys/dev/vmware/vmci/ |
| H A D | vmci_kernel_if.h | 33 LIST_FOREACH_SAFE(_e, _l, n, t)
|
| /freebsd-14.2/sys/fs/nfsclient/ |
| H A D | nfs_clstate.c | 1593 LIST_FOREACH_SAFE(lp, lhp, nfsl_list, nlp) { in nfscl_freealllocks() 1703 LIST_FOREACH_SAFE(lop, &lp->nfsl_lock, nfslo_list, nlop) { in nfscl_freelockowner() 1737 LIST_FOREACH_SAFE(owp, &dp->nfsdl_owner, nfsow_list, nowp) { in nfscl_cleandeleg() 1783 LIST_FOREACH_SAFE(op, &owp->nfsow_open, nfso_list, nop) { in nfscl_cleanclient() 1872 LIST_FOREACH_SAFE(op, &owp->nfsow_open, nfso_list, nop) { in nfscl_expireclient() 1949 LIST_FOREACH_SAFE(lp, &op->nfso_lock, nfsl_list, nlp) { in nfscl_cleanupkext() 1968 LIST_FOREACH_SAFE(lp, &dp->nfsdl_lock, nfsl_list, nlp) { in nfscl_cleanupkext() 2448 LIST_FOREACH_SAFE(op, &extra_open, nfso_list, nop) { in nfscl_recover() 3058 LIST_FOREACH_SAFE(lp, &lfhp->nfslfh_lock, nfsl_list, in nfscl_renewthread() 3476 LIST_FOREACH_SAFE(op, &delayed, nfso_list, nop) { in nfscl_doclose() [all …]
|
| /freebsd-14.2/sys/dev/cxgbe/ |
| H A D | t4_clip.c | 440 LIST_FOREACH_SAFE(cde, &clip_db[i], link, cde_tmp) { in update_clip_db() 501 LIST_FOREACH_SAFE(ce, &sc->clip_table[i], link, ce_temp) { in update_sw_clip_table() 699 LIST_FOREACH_SAFE(ce, &sc->clip_table[i], link, ce_temp) { in t4_destroy_clip_table()
|
| /freebsd-14.2/lib/libthr/thread/ |
| H A D | thr_pshared.c | 112 LIST_FOREACH_SAFE(h, hd, link, h1) { in pshared_gc()
|
| /freebsd-14.2/sys/dev/xen/xenstore/ |
| H A D | xenstore_dev.c | 426 LIST_FOREACH_SAFE(trans, &u->transactions, list, tmpt) { in xs_dev_dtor() 432 LIST_FOREACH_SAFE(watch, &u->watches, list, tmpw) { in xs_dev_dtor()
|
| /freebsd-14.2/ |
| H A D | .clang-format | 83 - LIST_FOREACH_SAFE
|
| /freebsd-14.2/usr.sbin/pmcstat/ |
| H A D | pmcpl_callgraph.c | 119 LIST_FOREACH_SAFE(cgc, &cg->pcg_children, pcg_sibling, cgtmp) in pmcstat_cgnode_free() 701 LIST_FOREACH_SAFE(pch, &pmcstat_cgnode_hash[i], pch_next, in pmcpl_cg_shutdown()
|
| /freebsd-14.2/sys/dev/proto/ |
| H A D | proto_busdma.c | 378 LIST_FOREACH_SAFE(md, &busdma->mds, mds, md1) in proto_busdma_cleanup() 380 LIST_FOREACH_SAFE(tag, &busdma->tags, tags, tag1) in proto_busdma_cleanup()
|
| /freebsd-14.2/sys/kern/ |
| H A D | subr_rtc.c | 260 LIST_FOREACH_SAFE(rtc, &rtc_list, rtc_entries, tmp) { in clock_unregister()
|
| /freebsd-14.2/contrib/lib9p/ |
| H A D | threadpool.c | 405 LIST_FOREACH_SAFE(worker, &tp->ltp_workers, ltw_link, tmp) { in l9p_threadpool_shutdown()
|
| /freebsd-14.2/sys/dev/bhnd/nvram/ |
| H A D | bhnd_nvram_store.c | 224 LIST_FOREACH_SAFE(alias, &sc->aliases[i], na_link, anext) in bhnd_nvram_store_free() 231 LIST_FOREACH_SAFE(path, &sc->paths[i], np_link, pnext) in bhnd_nvram_store_free()
|