LIST_FOREACH_SAFE
LIST_FOREACH_SAFE(cb, &qp->rx_buffers, link, ncb) {
LIST_FOREACH_SAFE(cb, &qp->tx_buffers, link, ncb) {
LIST_FOREACH_SAFE(pi, &pmcstat_image_hash[i], pi_next,
LIST_FOREACH_SAFE(pp, &pmcstat_process_hash[i], pp_next,
LIST_FOREACH_SAFE(pp, &pmcstat_process_hash[hash], pp_next, pptmp)
LIST_FOREACH_SAFE(ps, &pmcstat_string_hash[i], ps_next,
LIST_FOREACH_SAFE(h, hd, link, h1) {
LIST_FOREACH_SAFE(conn, &connections, c_next, tconn) {
LIST_FOREACH_SAFE(ifp, &ifnet, int_list, ifp1) {
LIST_FOREACH_SAFE(entry, &iommu_list, next, tmp) {
LIST_FOREACH_SAFE(io, &lun->ooa_queue, ooa_links, next_io) {
LIST_FOREACH_SAFE(io, &lun->ooa_queue, ooa_links, next_io) {
LIST_FOREACH_SAFE(dwr, &dwa->refs, dw_link, dwr_next) {
LIST_FOREACH_SAFE(alias, &sc->aliases[i], na_link, anext)
LIST_FOREACH_SAFE(path, &sc->paths[i], np_link, pnext)
LIST_FOREACH_SAFE(cde, &clip_db[i], link, cde_tmp) {
LIST_FOREACH_SAFE(ce, &sc->clip_table[i], link, ce_temp) {
LIST_FOREACH_SAFE(ce, &sc->clip_table[i], link, ce_temp) {
LIST_FOREACH_SAFE(f, &head[i], link_tid, ftmp) {
LIST_FOREACH_SAFE(f, &head[i], link_4t, ftmp) {
LIST_FOREACH_SAFE(lctx, &td->listen_hash[bucket], link, l) {
LIST_FOREACH_SAFE(entry, &fb_list_head, fb_list, tmp) {
LIST_FOREACH_SAFE(entry, &fb_list_head, fb_list, tmp) {
LIST_FOREACH_SAFE(req, &rp->head, next, tmp) {
LIST_FOREACH_SAFE(pt, &pmc_threadfreelist, pt_next, next) {
LIST_FOREACH_SAFE(ptgt, &pm->pm_targets, pt_next, tmp) {
LIST_FOREACH_SAFE(po, ph, po_next, tmp) {
LIST_FOREACH_SAFE(pm, &po->po_pmcs, pm_next, tmp) {
LIST_FOREACH_SAFE(entry, &hwt_backends, next, tmp) {
LIST_FOREACH_SAFE(ho, hoh, next, tmp) {
LIST_FOREACH_SAFE(f, &vsi->ftl, ftle, tmp) {
LIST_FOREACH_SAFE(f, to_add, ftle, fn) {
LIST_FOREACH_SAFE(f, to_del, ftle, f_temp) {
LIST_FOREACH_SAFE(f, &vsi->ftl, ftle, fn) {
LIST_FOREACH_SAFE(hn, &(hash)[i], hlist, tmp)
LIST_FOREACH_SAFE(md, &busdma->mds, mds, md1)
LIST_FOREACH_SAFE(tag, &busdma->tags, tags, tag1)
LIST_FOREACH_SAFE(_e, _l, n, t)
LIST_FOREACH_SAFE(aip, &peer->p_aips, a_entry, taip) {
LIST_FOREACH_SAFE(aip, &peer->p_aips, a_entry, taip) {
LIST_FOREACH_SAFE(r, &rl->rl_table[i], r_entry, tr) {
LIST_FOREACH_SAFE(trans, &u->transactions, list, tmpt) {
LIST_FOREACH_SAFE(watch, &u->watches, list, tmpw) {
LIST_FOREACH_SAFE(fufh, &fvdat->handles, next, fufh_tmp) {
LIST_FOREACH_SAFE(fufh, &fvdat->handles, next, fufh_tmp) {
LIST_FOREACH_SAFE(lop, &lp->nfsl_lock, nfslo_list, nlop) {
LIST_FOREACH_SAFE(lp, &op->nfso_lock, nfsl_list, nlp)
LIST_FOREACH_SAFE(lp, lhp, nfsl_list, nlp) {
LIST_FOREACH_SAFE(lop, &lp->nfsl_lock, nfslo_list, nlop) {
LIST_FOREACH_SAFE(owp, &dp->nfsdl_owner, nfsow_list, nowp) {
LIST_FOREACH_SAFE(dip, &clp->nfsc_devinfo, nfsdi_list, ndip)
LIST_FOREACH_SAFE(owp, &clp->nfsc_owner, nfsow_list, nowp) {
LIST_FOREACH_SAFE(op, &owp->nfsow_open, nfso_list, nop) {
LIST_FOREACH_SAFE(owp, &clp->nfsc_owner, nfsow_list, nowp) {
LIST_FOREACH_SAFE(op, &owp->nfsow_open, nfso_list, nop) {
LIST_FOREACH_SAFE(owp, &clp->nfsc_owner, nfsow_list, nowp) {
LIST_FOREACH_SAFE(lp, &op->nfso_lock, nfsl_list, nlp) {
LIST_FOREACH_SAFE(lp, &dp->nfsdl_lock, nfsl_list, nlp) {
LIST_FOREACH_SAFE(op, &extra_open, nfso_list, nop) {
LIST_FOREACH_SAFE(owp, &clp->nfsc_owner, nfsow_list, nowp) {
LIST_FOREACH_SAFE(dip, &clp->nfsc_devinfo, nfsdi_list, ndip) {
LIST_FOREACH_SAFE(lp, &lfhp->nfslfh_lock, nfsl_list,
LIST_FOREACH_SAFE(owp, &dp->nfsdl_owner, nfsow_list, nowp) {
LIST_FOREACH_SAFE(op, &delayed, nfso_list, nop) {
LIST_FOREACH_SAFE(nflp, newfhlp, nfsfl_list, tflp) {
LIST_FOREACH_SAFE(flp, &layp->nfsly_flayread, nfsfl_list, nflp) {
LIST_FOREACH_SAFE(flp, &layp->nfsly_flayrw, nfsfl_list, nflp) {
LIST_FOREACH_SAFE(rp, &layp->nfsly_recall, nfsrecly_list, nrp) {
LIST_FOREACH_SAFE(rp, &NFSD_VNET(nfsrchash_table)[i].tbl,
LIST_FOREACH_SAFE(rp, &NFSD_VNET(nfsrvudphashtbl)[i], rc_hash,
LIST_FOREACH_SAFE(rp, &hbp->tbl, rc_ahash, nextrp) {
LIST_FOREACH_SAFE(rp,
LIST_FOREACH_SAFE(rp,
LIST_FOREACH_SAFE(clp, &NFSD_VNET(nfsclienthash)[i],
LIST_FOREACH_SAFE(stp, &clp->lc_open, ls_list, nstp) {
LIST_FOREACH_SAFE(sep, &clp->lc_session, sess_list, nsep)
LIST_FOREACH_SAFE(stp, sthp, ls_list, nstp) {
LIST_FOREACH_SAFE(tstp, &stp->ls_open, ls_list, nstp)
LIST_FOREACH_SAFE(rlp, &lfp->lf_rollback, rlck_list,
LIST_FOREACH_SAFE(sp, &sf->nsf_head, nst_list, nsp) {
LIST_FOREACH_SAFE(sp, &sf->nsf_head, nst_list, nsp) {
LIST_FOREACH_SAFE(sep, &old_sess, sess_list, nsep) {
LIST_FOREACH_SAFE(clp, &NFSD_VNET(nfsclienthash)[i], lc_hash,
LIST_FOREACH_SAFE(stp, &clp->lc_open, ls_list, nstp) {
LIST_FOREACH_SAFE(rlp, &lfp->lf_rollback, rlck_list, nrlp) {
LIST_FOREACH_SAFE(rlp, &lfp->lf_rollback, rlck_list, nrlp)
LIST_FOREACH_SAFE(clp, &NFSD_VNET(nfsclienthash)[i], lc_hash,
LIST_FOREACH_SAFE(lfp, &NFSD_VNET(nfslockhash)[i], lf_hash,
LIST_FOREACH_SAFE(mrp, &nfsrv_dontlisthead, nfsmr_list, nmrp)
LIST_FOREACH_SAFE(stp, &lfp->lf_deleg, ls_file, nstp)
LIST_FOREACH_SAFE(tnp, &tm->tm_nodes_used, tn_entries, tnp1) {
LIST_FOREACH_SAFE(unp_t1, hd, un_hash, unp_t2) {
LIST_FOREACH_SAFE(unsp, &(unp->un_unshead), uns_list, unsp_tmp) {
LIST_FOREACH_SAFE(cp1, &gp->consumer, consumer, tmp) {
LIST_FOREACH_SAFE(cp, &gp->consumer, consumer, cp1) {
LIST_FOREACH_SAFE(gp, &mp->geom, geom, gp2) {
LIST_FOREACH_SAFE(gp, &mp->geom, geom, gp2) {
LIST_FOREACH_SAFE(gp, &mp->geom, geom, gp2) {
LIST_FOREACH_SAFE(dap, &dp->d_aliases, da_next, daptmp)
LIST_FOREACH_SAFE(dap, &dp->d_aliases, da_next, daptmp)
LIST_FOREACH_SAFE(cp, &pp->consumers, consumers, next_cp) {
LIST_FOREACH_SAFE(cp, &pp->consumers, consumers, cp2) {
LIST_FOREACH_SAFE(gp, &mp->geom, geom, gp2) {
LIST_FOREACH_SAFE(pp, &gp->provider, provider, pp2) {
LIST_FOREACH_SAFE(pp, &gp->provider, provider, pp2) {
LIST_FOREACH_SAFE(cp, &gp->consumer, consumer, cp2) {
LIST_FOREACH_SAFE(cp, &pp->consumers, consumers, next_cp) {
LIST_FOREACH_SAFE(cp, &pp->consumers, consumers, cp2) {
LIST_FOREACH_SAFE(cp, &pp->consumers, consumers, cp2) {
LIST_FOREACH_SAFE(gap, &pp->aliases, ga_next, gaptmp)
LIST_FOREACH_SAFE(gp, &mp->geom, geom, gp2) {
LIST_FOREACH_SAFE(disk, &sc->sc_disks, d_next, tdisk) {
LIST_FOREACH_SAFE(gp, &mp->geom, geom, gp2) {
LIST_FOREACH_SAFE(cp, &sc->sc_sync.ds_geom->consumer, consumer, tmpcp) {
LIST_FOREACH_SAFE(gp, &mp->geom, geom, gp2) {
LIST_FOREACH_SAFE(cp, &gp->consumer, consumer, cp1) {
LIST_FOREACH_SAFE(cp, &gp->consumer, consumer, cp1) {
LIST_FOREACH_SAFE(entry, &table->gpt_entry, gpe_entry, tmp) {
LIST_FOREACH_SAFE(entry, &table->gpt_entry, gpe_entry, tmp) {
LIST_FOREACH_SAFE(entry, &table->gpt_entry, gpe_entry, tmp) {
LIST_FOREACH_SAFE(gp, &mp->geom, geom, gp2) {
LIST_FOREACH_SAFE(gp, &mp->geom, geom, gp2) {
LIST_FOREACH_SAFE(cp1, &gp->consumer, consumer, tmp) {
LIST_FOREACH_SAFE(cp1, &gp->consumer, consumer, tmp) {
LIST_FOREACH_SAFE(cp, &gp->consumer, consumer, cp1) {
LIST_FOREACH_SAFE(c, &gp->consumer, consumer, tmp) {
LIST_FOREACH_SAFE(dset, &cpuset_domains, ds_link, tmp)
LIST_FOREACH_SAFE(p2, &p->p_reaplist, p_reapsibling, ptmp) {
LIST_FOREACH_SAFE(hhh, &V_hhook_vhead_list, hhh_vnext, tmphhh) {
LIST_FOREACH_SAFE(e, &lock->lf_inedges, le_inlink, ne) {
LIST_FOREACH_SAFE(lock, &state->ls_pending, lf_link, nlock) {
LIST_FOREACH_SAFE(lock, &state->ls_active, lf_link, nlock) {
LIST_FOREACH_SAFE(osd, &osdm[type].osd_list, osd_next, tosd)
LIST_FOREACH_SAFE(link, &racct->r_rule_links, rrl_next, linktmp) {
LIST_FOREACH_SAFE(c, sc, c_links.le, next) {
LIST_FOREACH_SAFE(reg, USHM_OBJ_UMTX(object), ushm_obj_link, reg1) {
LIST_FOREACH_SAFE(fp, &firmware_table, link, tmp) {
LIST_FOREACH_SAFE(rtc, &rtc_list, rtc_entries, tmp) {
LIST_FOREACH_SAFE(sq, &sc->sc_queues, sq_hash, sq1) {
LIST_FOREACH_SAFE(suptr, &semu_list, un_next, suptr1) {
LIST_FOREACH_SAFE(pn, &mqfs_data.mi_root->mn_children,
LIST_FOREACH_SAFE(shmm, &shm_dictionary[i], sm_link, tshmm) {
LIST_FOREACH_SAFE(unp, &unp_deadhead, unp_dead, unptmp)
LIST_FOREACH_SAFE(ncp, &vp->v_cache_src, nc_src, nnp) {
LIST_FOREACH_SAFE(sc, &list, vxl_ifdetach_list, tsc) {
LIST_FOREACH_SAFE(fe, &sc->vxl_ftable[i], vxlfe_hash, tfe) {
LIST_FOREACH_SAFE(fe, &sc->vxl_ftable[i], vxlfe_hash, tfe) {
LIST_FOREACH_SAFE(node, &V_ng_ID_hash[i], nd_idnodes, node2) {
LIST_FOREACH_SAFE(node, &V_ng_name_hash[i], nd_nodes, node2) {
LIST_FOREACH_SAFE(igi, igi_head, igi_link, tigi) {
LIST_FOREACH_SAFE(igi, &V_igi_head, igi_link, tigi) {
LIST_FOREACH_SAFE(rt, &mfct->mfchashtbl[i], mfc_hash, nrt) {
LIST_FOREACH_SAFE(rt, &mfct->mfchashtbl[i], mfc_hash,
LIST_FOREACH_SAFE(rt, &mfct->mfchashtbl[i], mfc_hash, nrt) {
LIST_FOREACH_SAFE(G_Addr, &(assoc->Gaddr), list_Gaddr, G_Addr_tmp) {
LIST_FOREACH_SAFE(G_Addr, &(assoc->Gaddr), list_Gaddr, G_Addr_tmp) {
LIST_FOREACH_SAFE(laddr, &inp->sctp_addr_list, sctp_nxt_addr, nladdr) {
LIST_FOREACH_SAFE(l, &asc->list_of_work, sctp_nxt_addr, nl) {
LIST_FOREACH_SAFE(laddr, &inp->sctp_addr_list, sctp_nxt_addr, nladdr) {
LIST_FOREACH_SAFE(tinp, head, sctp_hash, ninp) {
LIST_FOREACH_SAFE(stcb, &inp->sctp_asoc_list, sctp_tcblist, nstcb) {
LIST_FOREACH_SAFE(stcb, &inp->sctp_asoc_list, sctp_tcblist, nstcb) {
LIST_FOREACH_SAFE(shared_key, &inp->sctp_ep.shared_keys, next, nshared_key) {
LIST_FOREACH_SAFE(laddr, &inp->sctp_addr_list, sctp_nxt_addr, nladdr) {
LIST_FOREACH_SAFE(stcb, &inp->sctp_asoc_free_list, sctp_tcblist, nstcb) {
LIST_FOREACH_SAFE(laddr, &asoc->sctp_restricted_addrs, sctp_nxt_addr, naddr) {
LIST_FOREACH_SAFE(shared_key, &asoc->shared_keys, next, nshared_key) {
LIST_FOREACH_SAFE(wi, &SCTP_BASE_INFO(addr_wq), sctp_nxt_addr, nwi) {
LIST_FOREACH_SAFE(vrf, vrf_bucket, next_vrf, nvrf) {
LIST_FOREACH_SAFE(ifn, &vrf->ifnlist, next_ifn, nifn) {
LIST_FOREACH_SAFE(ifa, &ifn->ifalist, next_ifa, nifa) {
LIST_FOREACH_SAFE(wi, &SCTP_BASE_INFO(addr_wq), sctp_nxt_addr, nwi) {
LIST_FOREACH_SAFE(counter, counter_hash + i, nodes,
LIST_FOREACH_SAFE(le, &lc->lro_active, next, le_tmp) {
LIST_FOREACH_SAFE(le, &lc->lro_active, next, le_tmp) {
LIST_FOREACH_SAFE(imm, &ifa6->ia6_memberships,
LIST_FOREACH_SAFE(pr, &V_nd_prefix, ndpr_entry, npr) {
LIST_FOREACH_SAFE(pr, &V_nd_prefix, ndpr_entry, npr) {
LIST_FOREACH_SAFE(pr, &V_nd_prefix, ndpr_entry, next) {
LIST_FOREACH_SAFE(pfr, &pr->ndpr_advrtrs, pfr_entry, next)
LIST_FOREACH_SAFE(entry, &V_spdcachehashtbl[hashv], chain, tmpentry) {
LIST_FOREACH_SAFE(ptr, &chain->nat, _next, ptr_temp) {
LIST_FOREACH_SAFE(r, head, _next, tmp_r) {
LIST_FOREACH_SAFE(s, &r->spool_chain, _next, tmp_s) {
LIST_FOREACH_SAFE(sn, head, entry, tmp) {
LIST_FOREACH_SAFE(cur, &sh->nodes, entry, next)
LIST_FOREACH_SAFE(kif, &V_pfi_unlinked_kifs, pfik_list, kif1) {
LIST_FOREACH_SAFE(sn, &sh->nodes, entry, tmp)
LIST_FOREACH_SAFE(pvo, vm_page_to_pvoh(m), pvo_vlink, next_pvo) {
LIST_FOREACH_SAFE(pvo, &freequeue, pvo_vlink, next_pvo)
LIST_FOREACH_SAFE(pr, &gd->gd_reqs, pr_link, npr) {
LIST_FOREACH_SAFE(pr, &reqs, pr_link, npr) {
LIST_FOREACH_SAFE(pr, &gd->gd_reqs, pr_link, npr) {
LIST_FOREACH_SAFE(pr, &reqs, pr_link, npr)
LIST_FOREACH_SAFE(pr, &reqs, pr_link, npr) {
LIST_FOREACH_SAFE(ip, &(lp->file_head), entries, tip) {
LIST_FOREACH_SAFE(wk, dst, wk_list, wkn) {
LIST_FOREACH_SAFE(wk, wkhd, wk_list, wkn) {
LIST_FOREACH_SAFE(jaddref, &bmsafemap->sm_jaddrefhd,
LIST_FOREACH_SAFE(jnewblk, &bmsafemap->sm_jnewblkhd, jn_deps,
LIST_FOREACH_SAFE(wk, &ump->softdep_alldeps[D_INDIRDEP],
LIST_FOREACH_SAFE(aip, &indirdep->ir_deplisthd, ai_next, aipn)
LIST_FOREACH_SAFE(aip, &indirdep->ir_donehd, ai_next, aipn)
LIST_FOREACH_SAFE(aip, &indirdep->ir_writehd, ai_next, aipn)
LIST_FOREACH_SAFE(aip, &indirdep->ir_completehd, ai_next, aipn)
LIST_FOREACH_SAFE(wk, &inodedep->id_bufwait, wk_list, wkn) {
LIST_FOREACH_SAFE(dirrem, &pagedep->pd_dirremhd, dm_next, tmp) {
LIST_FOREACH_SAFE(wk, &bp->b_dep, wk_list, wkn) {
LIST_FOREACH_SAFE(slab, &freeslabs, us_link, tmp)
LIST_FOREACH_SAFE(tbl, &idpgtbls, link, tbl1) {
LIST_FOREACH_SAFE(t, &p->threadlist, entries, t2) {
LIST_FOREACH_SAFE(p, &info->proclist, entries, p2) {
LIST_FOREACH_SAFE(mevp, &change_head, me_list, tmpp) {
LIST_FOREACH_SAFE(conn, &sep->se_conn[i], co_link, conn_temp) {
LIST_FOREACH_SAFE(ph, &phash[i], le, tph)
LIST_FOREACH_SAFE(cgc, &cg->pcg_children, pcg_sibling, cgtmp)
LIST_FOREACH_SAFE(pch, &pmcstat_cgnode_hash[i], pch_next,
LIST_FOREACH_SAFE(pgf, &pi->pi_gmlist, pgf_next, pgftmp) {
LIST_FOREACH_SAFE(ifl, &blockedlocklist_head, nfslocklist, nfl) {