Home
last modified time | relevance | path

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

1234

/NextBSD/sys/geom/vinum/
HDgeom_vinum_rm.c170 LIST_FOREACH_SAFE(d, &sc->drives, drive, d2) { in gv_resetconfig()
177 LIST_FOREACH_SAFE(p, &sc->plexes, plex, p2) { in gv_resetconfig()
183 LIST_FOREACH_SAFE(s, &sc->subdisks, sd, s2) in gv_resetconfig()
185 LIST_FOREACH_SAFE(d, &sc->drives, drive, d2) in gv_resetconfig()
187 LIST_FOREACH_SAFE(p, &sc->plexes, plex, p2) in gv_resetconfig()
189 LIST_FOREACH_SAFE(v, &sc->volumes, volume, v2) in gv_resetconfig()
216 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()
HDgeom_vinum_events.c228 LIST_FOREACH_SAFE(fl, &d->freelist, freelist, fl2) { in gv_drive_lost()
244 LIST_FOREACH_SAFE(s, &d->subdisks, from_drive, s2) { in gv_drive_lost()
HDgeom_vinum_subr.c1094 LIST_FOREACH_SAFE(v, &sc->volumes, volume, v2) { in gv_cleanup()
1099 LIST_FOREACH_SAFE(p, &sc->plexes, plex, p2) { in gv_cleanup()
1106 LIST_FOREACH_SAFE(s, &sc->subdisks, sd, s2) { in gv_cleanup()
1110 LIST_FOREACH_SAFE(d, &sc->drives, drive, d2) { in gv_cleanup()
1111 LIST_FOREACH_SAFE(fl, &d->freelist, freelist, fl2) { in gv_cleanup()
HDgeom_vinum_move.c176 LIST_FOREACH_SAFE(s, &p->subdisks, in_plex, s2) { in gv_move_sd()
/NextBSD/sys/dev/fb/
HDfbd.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()
/NextBSD/sys/fs/nfsserver/
HDnfs_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()
HDnfs_nfsdstate.c1188 LIST_FOREACH_SAFE(stp, &clp->lc_open, ls_list, nstp) in nfsrv_cleanclient()
1191 LIST_FOREACH_SAFE(sep, &clp->lc_session, sess_list, nsep) in nfsrv_cleanclient()
1238 LIST_FOREACH_SAFE(stp, sthp, ls_list, nstp) { in nfsrv_freedeleglist()
1314 LIST_FOREACH_SAFE(tstp, &stp->ls_open, ls_list, nstp) in nfsrv_freeopen()
1412 LIST_FOREACH_SAFE(rlp, &lfp->lf_rollback, rlck_list, in nfsrv_freeallnfslocks()
4511 LIST_FOREACH_SAFE(sp, &sf->nsf_head, nst_list, nsp) { in nfsrv_setupstable()
4628 LIST_FOREACH_SAFE(sp, &sf->nsf_head, nst_list, nsp) { in nfsrv_updatestable()
5365 LIST_FOREACH_SAFE(clp, &nfsclienthash[i], lc_hash, nclp) { in nfsrv_throwawayopens()
5366 LIST_FOREACH_SAFE(stp, &clp->lc_open, ls_list, nstp) { in nfsrv_throwawayopens()
5660 LIST_FOREACH_SAFE(rlp, &lfp->lf_rollback, rlck_list, nrlp) { in nfsrv_locallock_rollback()
[all …]
/NextBSD/sys/net/
HDif_llatbl.c142 LIST_FOREACH_SAFE(lle, &llt->lle_head[i], lle_next, next) { in htable_foreach_lle()
229 LIST_FOREACH_SAFE(lle, &pmd.dchain, lle_chain, next) in htable_prefix_free()
246 LIST_FOREACH_SAFE(lle, head, lle_chain, next) in llentries_unlink()
516 LIST_FOREACH_SAFE(lle, &dchain, lle_chain, next) { in lltable_free()
/NextBSD/sys/geom/
HDgeom_subr.c452 LIST_FOREACH_SAFE(gp, &mp->geom, geom, gp2) { in g_wither_washer()
453 LIST_FOREACH_SAFE(pp, &gp->provider, provider, pp2) { in g_wither_washer()
461 LIST_FOREACH_SAFE(pp, &gp->provider, provider, pp2) { in g_wither_washer()
465 LIST_FOREACH_SAFE(cp, &gp->consumer, consumer, cp2) { in g_wither_washer()
538 LIST_FOREACH_SAFE(cp, &pp->consumers, consumers, next_cp) { in g_new_provider_event()
627 LIST_FOREACH_SAFE(cp, &pp->consumers, consumers, cp2) { in g_resize_provider_event()
637 LIST_FOREACH_SAFE(cp, &pp->consumers, consumers, cp2) { in g_resize_provider_event()
HDgeom_event.c135 LIST_FOREACH_SAFE(cp, &pp->consumers, consumers, next_cp) { in g_attr_changed_event()
205 LIST_FOREACH_SAFE(cp, &pp->consumers, consumers, cp2) { in g_orphan_register()
/NextBSD/contrib/elftoolchain/common/
HD_elftc.h79 #ifndef LIST_FOREACH_SAFE
80 #define LIST_FOREACH_SAFE(var, head, field, tvar) \ macro
/NextBSD/sys/rpc/rpcsec_gss/
HDrpcsec_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()
/NextBSD/sys/fs/nfsclient/
HDnfs_clstate.c1418 LIST_FOREACH_SAFE(lp, lhp, nfsl_list, nlp) { in nfscl_freealllocks()
1500 LIST_FOREACH_SAFE(lop, &lp->nfsl_lock, nfslo_list, nlop) { in nfscl_freelockowner()
1534 LIST_FOREACH_SAFE(owp, &dp->nfsdl_owner, nfsow_list, nowp) { in nfscl_cleandeleg()
1570 LIST_FOREACH_SAFE(owp, &clp->nfsc_owner, nfsow_list, nowp) { in nfscl_cleanclient()
1571 LIST_FOREACH_SAFE(op, &owp->nfsow_open, nfso_list, nop) { in nfscl_cleanclient()
1654 LIST_FOREACH_SAFE(owp, &clp->nfsc_owner, nfsow_list, nowp) { in nfscl_expireclient()
1656 LIST_FOREACH_SAFE(op, &owp->nfsow_open, nfso_list, nop) { in nfscl_expireclient()
1681 LIST_FOREACH_SAFE(lp, &dp->nfsdl_lock, nfsl_list, nlp) { in nfscl_cleanup_common()
1721 LIST_FOREACH_SAFE(owp, &clp->nfsc_owner, nfsow_list, nowp) { in nfscl_cleanupkext()
1723 LIST_FOREACH_SAFE(lp, &op->nfso_lock, nfsl_list, nlp) { in nfscl_cleanupkext()
[all …]
/NextBSD/usr.sbin/pmcstat/
HDpmcpl_callgraph.c115 LIST_FOREACH_SAFE(cgc, &cg->pcg_children, pcg_sibling, cgtmp) in pmcstat_cgnode_free()
679 LIST_FOREACH_SAFE(pch, &pmcstat_cgnode_hash[i], pch_next, in pmcpl_cg_shutdown()
HDpmcstat_log.c403 LIST_FOREACH_SAFE(ps, &pmcstat_string_hash[i], ps_next, in pmcstat_string_shutdown()
1257 LIST_FOREACH_SAFE(pp, &pmcstat_process_hash[hash], pp_next, pptmp) in pmcstat_process_lookup()
2186 LIST_FOREACH_SAFE(pi, &pmcstat_image_hash[i], pi_next, in pmcstat_shutdown_logging()
2200 LIST_FOREACH_SAFE(pp, &pmcstat_process_hash[i], pp_next, in pmcstat_shutdown_logging()
HDpmcpl_gprof.c367 LIST_FOREACH_SAFE(pgf, &pi->pi_gmlist, pgf_next, pgftmp) { in pmcpl_gmon_shutdownimage()
/NextBSD/sys/geom/sched/
HDg_sched.c443 LIST_FOREACH_SAFE(cp, &hp[i], gsc_clist, cp2) in g_sched_hash_fini()
476 LIST_FOREACH_SAFE(cp, &sc->sc_hash[i], gsc_clist, cp2) { in g_sched_flush_classes()
654 LIST_FOREACH_SAFE(gp, &g_sched_class.geom, geom, gp_tmp) { in g_gsched_unregister()
666 LIST_FOREACH_SAFE(cur, &me.gs_scheds, glist, tmp) { in g_gsched_unregister()
/NextBSD/sys/dev/xen/xenstore/
HDxenstore_dev.c194 LIST_FOREACH_SAFE(trans, &u->transactions, list, tmp) { in xs_dev_dtor()
/NextBSD/sys/dev/proto/
HDproto_busdma.c376 LIST_FOREACH_SAFE(md, &busdma->mds, mds, md1) in proto_busdma_cleanup()
378 LIST_FOREACH_SAFE(tag, &busdma->tags, tags, tag1) in proto_busdma_cleanup()
/NextBSD/usr.sbin/bhyve/
HDmevent.c188 LIST_FOREACH_SAFE(mevp, &change_head, me_list, tmpp) { in mevent_build()
/NextBSD/sys/netpfil/ipfw/
HDip_fw_nat.c157 LIST_FOREACH_SAFE(r, head, _next, tmp_r) { in del_redir_spool_cfg()
169 LIST_FOREACH_SAFE(s, &r->spool_chain, _next, tmp_s) { in del_redir_spool_cfg()
1148 LIST_FOREACH_SAFE(ptr, &chain->nat, _next, ptr_temp) { in vnet_ipfw_nat_uninit()
/NextBSD/sys/netinet/
HDsctp_pcb.c1884 LIST_FOREACH_SAFE(tinp, head, sctp_hash, ninp) { in sctp_swap_inpcb_for_listen()
3355 LIST_FOREACH_SAFE(asoc, &inp->sctp_asoc_list, sctp_tcblist, nasoc) { in sctp_inpcb_free()
3518 LIST_FOREACH_SAFE(asoc, &inp->sctp_asoc_list, sctp_tcblist, nasoc) { in sctp_inpcb_free()
3664 LIST_FOREACH_SAFE(shared_key, &inp->sctp_ep.shared_keys, next, nshared_key) { in sctp_inpcb_free()
3675 LIST_FOREACH_SAFE(laddr, &inp->sctp_addr_list, sctp_nxt_addr, nladdr) { in sctp_inpcb_free()
3681 LIST_FOREACH_SAFE(asoc, &inp->sctp_asoc_free_list, sctp_tcblist, nasoc) { in sctp_inpcb_free()
5133 LIST_FOREACH_SAFE(laddr, &asoc->sctp_restricted_addrs, sctp_nxt_addr, naddr) { in sctp_free_assoc()
5165 LIST_FOREACH_SAFE(shared_key, &asoc->shared_keys, next, nshared_key) { in sctp_free_assoc()
5955 LIST_FOREACH_SAFE(wi, &SCTP_BASE_INFO(addr_wq), sctp_nxt_addr, nwi) { in sctp_pcb_finish()
5970 LIST_FOREACH_SAFE(vrf, vrf_bucket, next_vrf, nvrf) { in sctp_pcb_finish()
[all …]
/NextBSD/share/man/man3/
HDMakefile75 queue.3 LIST_FOREACH_SAFE.3 \
/NextBSD/sbin/fsck_ffs/
HDgjournal.c186 LIST_FOREACH_SAFE(cgc, &cglist, cgc_next, cgc2) { in putcgs()
/NextBSD/sys/kern/
HDkern_hhook.c501 LIST_FOREACH_SAFE(hhh, &V_hhook_vhead_list, hhh_vnext, tmphhh) { in hhook_vnet_uninit()

1234