Home
last modified time | relevance | path

Searched refs:LIST_FOREACH_SAFE (Results 1 – 25 of 112) sorted by relevance

12345

/freebsd-14.2/sys/geom/vinum/
H A Dgeom_vinum_rm.c171 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 Dgeom_vinum_events.c242 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 Dgeom_vinum_subr.c1092 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 Dgeom_vinum_move.c177 LIST_FOREACH_SAFE(s, &p->subdisks, in_plex, s2) { in gv_move_sd()
/freebsd-14.2/sys/dev/fb/
H A Dfbd.c221 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 Dnfs_nfsdcache.c825 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 Dcxa_thread_atexit_impl.c124 LIST_FOREACH_SAFE(dtor, &dtors, entry, tdtor) { in cxa_thread_walk()
/freebsd-14.2/sys/geom/
H A Dgeom_subr.c491 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 Dgeom_event.c136 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 Dlibpmcstat_string.c135 LIST_FOREACH_SAFE(ps, &pmcstat_string_hash[i], ps_next, in pmcstat_string_shutdown()
H A Dlibpmcstat_logging.c630 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 Dlibpmcstat_process.c225 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.h79 #ifndef LIST_FOREACH_SAFE
80 #define LIST_FOREACH_SAFE(var, head, field, tvar) \ macro
/freebsd-14.2/sys/rpc/rpcsec_gss/
H A Drpcsec_gss.c476 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 Dvmci_kernel_if.h33 LIST_FOREACH_SAFE(_e, _l, n, t)
/freebsd-14.2/sys/fs/nfsclient/
H A Dnfs_clstate.c1593 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 Dt4_clip.c440 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 Dthr_pshared.c112 LIST_FOREACH_SAFE(h, hd, link, h1) { in pshared_gc()
/freebsd-14.2/sys/dev/xen/xenstore/
H A Dxenstore_dev.c426 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-format83 - LIST_FOREACH_SAFE
/freebsd-14.2/usr.sbin/pmcstat/
H A Dpmcpl_callgraph.c119 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 Dproto_busdma.c378 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 Dsubr_rtc.c260 LIST_FOREACH_SAFE(rtc, &rtc_list, rtc_entries, tmp) { in clock_unregister()
/freebsd-14.2/contrib/lib9p/
H A Dthreadpool.c405 LIST_FOREACH_SAFE(worker, &tp->ltp_workers, ltw_link, tmp) { in l9p_threadpool_shutdown()
/freebsd-14.2/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_store.c224 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()

12345