RBT_REMOVE
assert(RBT_REMOVE(tree, &root, ins) == ins);
assert(RBT_REMOVE(tree, &root, tmp) == tmp);
assert(RBT_REMOVE(tree, &root, tmp) == tmp);
assert(RBT_REMOVE(tree, &root, ins) == ins);
if (RBT_REMOVE(tree, &root, ins) != ins)
if (RBT_REMOVE(tree, &root, ins) == NULL)
if (RBT_REMOVE(tree, &root, ins) != ins)
if (RBT_REMOVE(tree, &root, ins) == NULL)
if (RBT_REMOVE(tree, &root, ins) == NULL)
assert(RBT_REMOVE(tree, &root, tmp) == tmp);
assert(RBT_REMOVE(tree, &root, tmp) == tmp);
assert(RBT_REMOVE(tree, &root, ins) == ins);
assert(RBT_REMOVE(tree, &root, ins) == ins);
assert(RBT_REMOVE(tree, &root, ins) == ins);
assert(RBT_REMOVE(tree, &root, ins) == ins);
if (RBT_REMOVE(tree, &root, tmp) != tmp)
if (RBT_REMOVE(tree, &root, tmp) != tmp)
if (RBT_REMOVE(tree, &root, tmp) != tmp)
if (RBT_REMOVE(tree, &root, tmp) != tmp)
if (RBT_REMOVE(tree, &root, tmp) != tmp)
RBT_REMOVE(pfctl_statelim_ids, &pf->statelim_ids, stlim);
RBT_REMOVE(pfctl_sourcelim_ids, &pf->sourcelim_ids, srlim);
RBT_REMOVE(octcrypto_tree, &sc->sc_sessions, ses);
RBT_REMOVE(bio_mappings, &bios, bm);
RBT_REMOVE(kstat_id_tree, &kstat_id_tree, ks);
RBT_REMOVE(kstat_pv_tree, &kstat_pv_tree, ks);
RBT_REMOVE(kstat_nm_tree, &kstat_nm_tree, ks);
RBT_REMOVE(unvname_rbt, &uv->uv_names, unvn);
RBT_REMOVE(hiballoc_addr, &arena->hib_addrs, entry);
RBT_REMOVE(phtree, &pp->pr_phtree, ph);
RBT_REMOVE(buf_rb_bufs,
RBT_REMOVE(buf_rb_bufs, &bp->b_vp->v_bufs_tree, bp);
RBT_REMOVE(buf_rb_bufs, &bp->b_vp->v_bufs_tree, bp);
RBT_REMOVE(namecache_rb_cache, &ncp->nc_dvp->v_nc_tree, ncp);
RBT_REMOVE(bpe_tree, &bpe_interfaces, (struct bpe_key *)sc);
RBT_REMOVE(bpe_tree, &bpe_interfaces, (struct bpe_key *)sc);
RBT_REMOVE(eb_tree, &eb->eb_tree, ebe);
RBT_REMOVE(eb_tree, &eb->eb_tree, oebe);
RBT_REMOVE(eb_tree, &eb->eb_tree, ebe);
RBT_REMOVE(mgre_tree, &mgre_tree, sc);
RBT_REMOVE(egre_tree, &egre_tree, sc);
RBT_REMOVE(nvgre_ucast_tree, &nvgre_ucast_tree, sc);
RBT_REMOVE(nvgre_mcast_tree, &nvgre_mcast_tree, sc);
RBT_REMOVE(nvgre_ucast_tree, &nvgre_ucast_tree, sc);
RBT_REMOVE(nvgre_mcast_tree, &nvgre_mcast_tree, sc);
RBT_REMOVE(eoip_tree, &eoip_tree, sc);
RBT_REMOVE(erspan_tree, &erspan_tree, sc);
if (RBT_REMOVE(pppx_ifs, &pppx_ifs, pxi) == NULL)
if (RBT_REMOVE(pppx_ifs, &pppx_ifs, pxi) == NULL)
RBT_REMOVE(veb_pvlan_vp, &sc->sc_pvlans_vp, v);
RBT_REMOVE(veb_pvlan_vs, &sc->sc_pvlans_vs, v);
RBT_REMOVE(veb_pvlan_vp, &sc->sc_pvlans_vp, v);
RBT_REMOVE(veb_pvlan_vs, &sc->sc_pvlans_vs, v);
RBT_REMOVE(vxlan_peers, &vt->vt_peers, p);
RBT_REMOVE(pf_state_tree, &pf_statetbl, sk);
RBT_REMOVE(pf_state_tree, &pf_statetbl, sk);
RBT_REMOVE(pf_state_tree_id, &tree_id, st);
RBT_REMOVE(pf_source_tree, &srlim->pfsrlim_sources, sr);
RBT_REMOVE(pf_source_ioc_tree, &srlim->pfsrlim_ioc_sources, sr);
RBT_REMOVE(pf_statelim_id_tree,
RBT_REMOVE(pf_statelim_id_tree,
RBT_REMOVE(pf_source_tree,
RBT_REMOVE(pf_source_ioc_tree,
RBT_REMOVE(pf_sourcelim_id_tree,
RBT_REMOVE(pf_sourcelim_id_tree,
RBT_REMOVE(pf_source_tree, &pfsrlim->pfsrlim_sources, pfsr);
RBT_REMOVE(pf_source_ioc_tree, &pfsrlim->pfsrlim_ioc_sources, pfsr);
RBT_REMOVE(ieee80211_tree, &ic->ic_tree, ni);
RBT_REMOVE(ipsec_ids_tree, &ipsec_ids_tree, ids);
RBT_REMOVE(ipsec_ids_tree, &ipsec_ids_tree, ids);
RBT_REMOVE(ipsec_ids_flows, &ipsec_ids_flows, ids);
RBT_REMOVE(nfs_nodetree, &nmp->nm_ntree, np);
if (RBT_REMOVE(uaddr_free_rbtree, &uaddr->up_free, entry) != entry)
if (RBT_REMOVE(uaddr_free_rbtree, &uaddr->ubf_free, entry) != entry)
res = RBT_REMOVE(uvm_map_addr, &map->addr, entry);
RBT_REMOVE(uvm_objtree, &pg->uobject->memt, pg);
RBT_REMOVE(uvm_pmr_addr, &pmr->addr, pg);
RBT_REMOVE(uvm_pmr_size, &pmr->size[memtype], pg + 1);
RBT_REMOVE(ifaces, &lldpd->ifaces, ifp);