Home
last modified time | relevance | path

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

12345

/freebsd-12-stable/sys/geom/vinum/
Dgeom_vinum_rm.c172 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()
Dgeom_vinum_events.c244 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()
Dgeom_vinum_subr.c1096 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()
Dgeom_vinum_move.c178 LIST_FOREACH_SAFE(s, &p->subdisks, in_plex, s2) { in gv_move_sd()
/freebsd-12-stable/sys/fs/nfsserver/
Dnfs_nfsdcache.c818 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/
Dfbd.c225 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/
Dgeom_subr.c390 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()
Dgeom_event.c138 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/
Dcxa_thread_atexit_impl.c126 LIST_FOREACH_SAFE(dtor, &dtors, entry, tdtor) { in cxa_thread_walk()
/freebsd-12-stable/contrib/elftoolchain/common/
D_elftc.h79 #ifndef LIST_FOREACH_SAFE
80 #define LIST_FOREACH_SAFE(var, head, field, tvar) \ macro
/freebsd-12-stable/lib/libpmcstat/
Dlibpmcstat_string.c137 LIST_FOREACH_SAFE(ps, &pmcstat_string_hash[i], ps_next, in pmcstat_string_shutdown()
Dlibpmcstat_logging.c632 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()
Dlibpmcstat_process.c227 LIST_FOREACH_SAFE(pp, &pmcstat_process_hash[hash], pp_next, pptmp) in pmcstat_process_lookup()
/freebsd-12-stable/sys/rpc/rpcsec_gss/
Drpcsec_gss.c478 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/
Dnfs_clstate.c1498 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/
Dvmci_kernel_if.h35 LIST_FOREACH_SAFE(_e, _l, n, t)
/freebsd-12-stable/lib/libthr/thread/
Dthr_pshared.c109 LIST_FOREACH_SAFE(h, hd, link, h1) { in pshared_gc()
/freebsd-12-stable/usr.sbin/pmcstat/
Dpmcpl_callgraph.c120 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/
Dxenstore_dev.c430 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/
Dg_sched.c445 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/
Dproto_busdma.c380 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/
Dsubr_rtc.c262 LIST_FOREACH_SAFE(rtc, &rtc_list, rtc_entries, tmp) { in clock_unregister()
/freebsd-12-stable/usr.bin/truss/
Dsetup.c350 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/
Dsys-queue.h67 #undef LIST_FOREACH_SAFE
286 #define LIST_FOREACH_SAFE(var, head, field, tvar) \ macro
/freebsd-12-stable/sys/dev/bhnd/nvram/
Dbhnd_nvram_store.c227 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()

12345