RB_FIND
if ((found = RB_FIND(x509_issuer_tree, &x509_issuer_cache,
erki = RB_FIND(revoked_key_id_tree, &rc->revoked_key_ids, &rki);
ers = RB_FIND(revoked_serial_tree, &rc->revoked_serials, &rs);
erb = RB_FIND(revoked_blob_tree, &krl->revoked_sha1s, &rb);
erb = RB_FIND(revoked_blob_tree, &krl->revoked_sha256s, &rb);
erb = RB_FIND(revoked_blob_tree, &krl->revoked_keys, &rb);
if ((found = RB_FIND(idname_tree, tree, &idname)) != NULL)
if ((penalty = RB_FIND(penalties_by_addr, by_addr, &find)) == NULL)
pstate = RB_FIND(dmsg_state_tree,
pstate = RB_FIND(dmsg_state_tree,
state = RB_FIND(dmsg_state_tree,
state = RB_FIND(dmsg_state_tree,
cls = RB_FIND(h2span_cluster_tree, &cluster_tree, &dummy_cls);
cls = RB_FIND(h2span_cluster_tree, &cluster_tree, &dummy_cls);
node = RB_FIND(h2span_node_tree, &cls->tree, &dummy_node);
e = RB_FIND(blockref_tree, root, &bref_find);
e = RB_FIND(blockref_tree, droot, &bref_find);
sha_de = RB_FIND(sha_dedup_entry_rb_tree,
sha_de = RB_FIND(sha_dedup_entry_rb_tree, &de->u.fict_root,
if ((hlp = RB_FIND(hl_tree, &hl_root, &hl_find)) == NULL) {
if ((unp = RB_FIND(ac_utree, &ac_uroot, &ufind)) == NULL)
if ((gnp = RB_FIND(ac_gtree, &ac_groot, &gfind)) == NULL)
sc = RB_FIND(xa_softc_tree, &xa_device_tree, &xaio->dummysc);
state = RB_FIND(kdmsg_state_tree, &iocom->statewr_tree,
state = RB_FIND(kdmsg_state_tree, &iocom->staterd_tree,
pstate = RB_FIND(kdmsg_state_tree,
pstate = RB_FIND(kdmsg_state_tree,
if ((unp = RB_FIND(ac_utree, &mp->mnt_acct.ac_uroot, &ufind)) == NULL)
if ((gnp = RB_FIND(ac_gtree, &mp->mnt_acct.ac_groot, &gfind)) == NULL)
unp = RB_FIND(ac_utree, &mp->mnt_acct.ac_uroot, &ufind);
gnp = RB_FIND(ac_gtree, &mp->mnt_acct.ac_groot, &gfind);
if ((unp = RB_FIND(ac_utree, &mp->mnt_acct.ac_uroot, &ufind)) == NULL)
if ((gnp = RB_FIND(ac_gtree, &mp->mnt_acct.ac_groot, &gfind)) == NULL)
if ((unp = RB_FIND(ac_utree, &mp->mnt_acct.ac_uroot, &ufind)) == NULL) {
if ((gnp = RB_FIND(ac_gtree, &mp->mnt_acct.ac_groot, &gfind)) == NULL) {
s = RB_FIND(ipfw_state_tree, &ctx->ipfw_state_tree, key);
t = RB_FIND(ipfw_track_tree, &ctx->ipfw_track_tree, key);
trk = RB_FIND(ipfw_trkcnt_tree, &ipfw_gd.ipfw_trkcnt_tree,
s = RB_FIND(fw3_state_tree, state_tree1, k);
s = RB_FIND(fw3_state_tree, state_tree2, k);
s = RB_FIND(fw3_state_tree, the_tree, k);
s = RB_FIND(state_tree, tree_out, k);
} while (RB_FIND(state_tree, tree, s) != NULL);
return (RB_FIND(pf_state_tree_id, &tree_id[cpu],
sk = RB_FIND(pf_state_tree, &pf_statetbl[cpu], skey);
sk = RB_FIND(pf_state_tree, &pf_statetbl[ncpus], skey);
sk = RB_FIND(pf_state_tree, &pf_statetbl[cpu], skey);
sk = RB_FIND(pf_state_tree, &pf_statetbl[ncpus], skey);
*sn = RB_FIND(pf_src_tree, &tree_src_tracking[cpu], &k);
*sn = RB_FIND(pf_src_tree, &tree_src_tracking[cpu], &k);
(cur = RB_FIND(pf_state_rtree,
return (RB_FIND(pfi_ifhead, &pfi_ifs, (struct pfi_kif *)&s));
p = RB_FIND(pfi_ifhead, &pfi_ifs, (struct pfi_kif *)&key);
frag = RB_FIND(pf_frag_tree, tree, &key);
found = RB_FIND(pf_anchor_global, &pf_anchors, key);
p = RB_FIND(pfr_ktablehead, &pfr_ktables, &key);
r = RB_FIND(pfr_ktablehead, &pfr_ktables, &key);
p = RB_FIND(pfr_ktablehead, &pfr_ktables, &key);
p = RB_FIND(pfr_ktablehead, &pfr_ktables, &key);
p = RB_FIND(pfr_ktablehead, &pfr_ktables, &key);
kt = RB_FIND(pfr_ktablehead, &pfr_ktables, (struct pfr_ktable *)tbl);
rt = RB_FIND(pfr_ktablehead, &pfr_ktables, &key);
return (RB_FIND(pfr_ktablehead, &pfr_ktables,
anp = RB_FIND(autofs_node_tree, &parent->an_children, &find);
rterm = RB_FIND(hammer_rterm_rb_tree, root, &rtval);
rterm = RB_FIND(hammer_rterm_rb_tree, root, &rtval);
de = RB_FIND(tmpfs_dirtree, &node->tn_dir.tn_dirtree, &wanted);
ve = RB_FIND(vmspace_rb_tree, &vkp->root, &key);
if ((wc != (wchar_t)-1) && ((RB_FIND(cmap_wc, &cmap_wc, &srch)) == NULL)) {
if (RB_FIND(cmap_sym, &cmap_sym, &srch) != NULL) {
cm = RB_FIND(cmap_sym, &cmap_sym, &srch);
n = RB_FIND(cmap_sym, &cmap_sym, &srch);
return (RB_FIND(cmap_wc, &cmap_wc, &srch) ? 0 : -1);
if (RB_FIND(weights, &weights[pass], &srch) != NULL)
if ((w = RB_FIND(weights, &weights[pass], &srch)) == NULL) {
if (RB_FIND(collsyms, &collsyms, sym) != NULL) {
return (RB_FIND(collsyms, &collsyms, &srch));
return (RB_FIND(elem_by_symbol, &elem_by_symbol, &srch));
if ((ud = RB_FIND(collundefs, &collundefs, &srch)) == NULL) {
cc = RB_FIND(collchars, &collchars, &srch);
if ((RB_FIND(elem_by_symbol, &elem_by_symbol, e) != NULL) ||
(RB_FIND(elem_by_expand, &elem_by_expand, e) != NULL)) {
s = RB_FIND(substs_ref, &substs_ref[curr_weight], &srch);
if (RB_FIND(substs, &substs[curr_weight], s) != NULL) {
if ((ctn = RB_FIND(ctypes, &ctypes, &srch)) == NULL) {
if ((elm = RB_FIND(mytcpcb_tree, &mytcp_tree, &dummy)) == NULL) {
if ((elm = RB_FIND(mypfstate_tree, &mypf_tree, &dummy)) == NULL) {