Home
last modified time | relevance | path

Searched refs:RB_FIND (Results 1 – 25 of 31) sorted by relevance

12

/dragonfly/usr.bin/localedef/
H A Dcharmap.c230 if ((wc != (wchar_t)-1) && ((RB_FIND(cmap_wc, &cmap_wc, &srch)) == NULL)) { in add_charmap_impl()
240 if (RB_FIND(cmap_sym, &cmap_sym, &srch) != NULL) { in add_charmap_impl()
270 cm = RB_FIND(cmap_sym, &cmap_sym, &srch); in add_charmap_undefined()
346 n = RB_FIND(cmap_sym, &cmap_sym, &srch); in lookup_charmap()
361 return (RB_FIND(cmap_wc, &cmap_wc, &srch) ? 0 : -1); in check_charmap()
H A Dcollate.c506 if (RB_FIND(collsyms, &collsyms, sym) != NULL) { in define_collsym()
523 return (RB_FIND(collsyms, &collsyms, &srch)); in lookup_collsym()
532 return (RB_FIND(elem_by_symbol, &elem_by_symbol, &srch)); in lookup_collelem()
543 if ((ud = RB_FIND(collundefs, &collundefs, &srch)) == NULL) { in get_collundef()
566 cc = RB_FIND(collchars, &collchars, &srch); in get_collchar()
818 if ((RB_FIND(elem_by_symbol, &elem_by_symbol, e) != NULL) || in define_collelem()
819 (RB_FIND(elem_by_expand, &elem_by_expand, e) != NULL)) { in define_collelem()
930 s = RB_FIND(substs_ref, &substs_ref[curr_weight], &srch); in add_order_subst()
958 if (RB_FIND(substs, &substs[curr_weight], s) != NULL) { in add_order_subst()
1038 if (RB_FIND(weights, &weights[pass], &srch) != NULL) in add_weight()
[all …]
H A Dctype.c175 if ((ctn = RB_FIND(ctypes, &ctypes, &srch)) == NULL) { in get_ctype()
/dragonfly/sys/kern/
H A Dvfs_quota.c162 if ((unp = RB_FIND(ac_utree, &mp->mnt_acct.ac_uroot, &ufind)) == NULL) in vfs_stdaccount()
164 if ((gnp = RB_FIND(ac_gtree, &mp->mnt_acct.ac_groot, &gfind)) == NULL) in vfs_stdaccount()
252 unp = RB_FIND(ac_utree, &mp->mnt_acct.ac_uroot, &ufind); in cmd_set_usage_all()
258 gnp = RB_FIND(ac_gtree, &mp->mnt_acct.ac_groot, &gfind); in cmd_set_usage_all()
299 if ((unp = RB_FIND(ac_utree, &mp->mnt_acct.ac_uroot, &ufind)) == NULL) in cmd_set_limit_uid()
320 if ((gnp = RB_FIND(ac_gtree, &mp->mnt_acct.ac_groot, &gfind)) == NULL) in cmd_set_limit_gid()
454 if ((unp = RB_FIND(ac_utree, &mp->mnt_acct.ac_uroot, &ufind)) == NULL) { in vq_write_ok()
470 if ((gnp = RB_FIND(ac_gtree, &mp->mnt_acct.ac_groot, &gfind)) == NULL) { in vq_write_ok()
H A Dkern_dmsg.c811 state = RB_FIND(kdmsg_state_tree, &iocom->statewr_tree, in kdmsg_state_msgrx()
814 state = RB_FIND(kdmsg_state_tree, &iocom->staterd_tree, in kdmsg_state_msgrx()
872 pstate = RB_FIND(kdmsg_state_tree, in kdmsg_state_msgrx()
876 pstate = RB_FIND(kdmsg_state_tree, in kdmsg_state_msgrx()
/dragonfly/sbin/vquota/
H A Dvquota.c157 if ((hlp = RB_FIND(hl_tree, &hl_root, &hl_find)) == NULL) { in hl_register()
314 if ((unp = RB_FIND(ac_utree, &ac_uroot, &ufind)) == NULL) in get_dirsize()
316 if ((gnp = RB_FIND(ac_gtree, &ac_groot, &gfind)) == NULL) in get_dirsize()
/dragonfly/crypto/libressl/crypto/x509/
H A Dx509_issuer_cache.c133 if ((found = RB_FIND(x509_issuer_tree, &x509_issuer_cache, in x509_issuer_cache_find()
/dragonfly/crypto/openssh/
H A Dkrl.c1225 erki = RB_FIND(revoked_key_id_tree, &rc->revoked_key_ids, &rki); in is_cert_revoked()
1240 ers = RB_FIND(revoked_serial_tree, &rc->revoked_serials, &rs); in is_cert_revoked()
1262 erb = RB_FIND(revoked_blob_tree, &krl->revoked_sha1s, &rb); in is_key_revoked()
1272 erb = RB_FIND(revoked_blob_tree, &krl->revoked_sha256s, &rb); in is_key_revoked()
1283 erb = RB_FIND(revoked_blob_tree, &krl->revoked_keys, &rb); in is_key_revoked()
H A Dsftp-usergroup.c84 if ((found = RB_FIND(idname_tree, tree, &idname)) != NULL) in idname_lookup()
/dragonfly/sys/net/ipfw3_basic/
H A Dip_fw3_state.c205 s = RB_FIND(fw3_state_tree, state_tree1, k); in check_check_state()
220 s = RB_FIND(fw3_state_tree, state_tree2, k); in check_check_state()
297 s = RB_FIND(fw3_state_tree, the_tree, k); in check_keep_state()
/dragonfly/sys/net/pf/
H A Dpf_table.c1170 p = RB_FIND(pfr_ktablehead, &pfr_ktables, &key); in pfr_add_tables()
1186 r = RB_FIND(pfr_ktablehead, &pfr_ktables, &key); in pfr_add_tables()
1247 p = RB_FIND(pfr_ktablehead, &pfr_ktables, &key); in pfr_del_tables()
1372 p = RB_FIND(pfr_ktablehead, &pfr_ktables, &key); in pfr_clr_tstats()
1410 p = RB_FIND(pfr_ktablehead, &pfr_ktables, &key); in pfr_set_tflags()
1500 kt = RB_FIND(pfr_ktablehead, &pfr_ktables, (struct pfr_ktable *)tbl); in pfr_ina_define()
1513 rt = RB_FIND(pfr_ktablehead, &pfr_ktables, &key); in pfr_ina_define()
1960 return (RB_FIND(pfr_ktablehead, &pfr_ktables, in pfr_lookup_table()
H A Dpf_if.c181 return (RB_FIND(pfi_ifhead, &pfi_ifs, (struct pfi_kif *)&s)); in pfi_kif_find()
717 p = RB_FIND(pfi_ifhead, &pfi_ifs, (struct pfi_kif *)&key); in pfi_update_status()
H A Dpf_ruleset.c163 found = RB_FIND(pf_anchor_global, &pf_anchors, key); in pf_find_anchor()
H A Dpf.c577 *sn = RB_FIND(pf_src_tree, &tree_src_tracking[cpu], &k); in pf_insert_src_node()
854 (cur = RB_FIND(pf_state_rtree, in pf_state_key_attach()
1127 return (RB_FIND(pf_state_tree_id, &tree_id[cpu], in pf_find_state_byid()
1153 sk = RB_FIND(pf_state_tree, &pf_statetbl[cpu], skey); in pf_find_state()
1156 sk = RB_FIND(pf_state_tree, &pf_statetbl[ncpus], skey); in pf_find_state()
1217 sk = RB_FIND(pf_state_tree, &pf_statetbl[cpu], skey); in pf_find_state_all()
1220 sk = RB_FIND(pf_state_tree, &pf_statetbl[ncpus], skey); in pf_find_state_all()
2725 *sn = RB_FIND(pf_src_tree, &tree_src_tracking[cpu], &k); in pf_map_addr()
/dragonfly/lib/libdmsg/
H A Dmsg_lnk.c570 cls = RB_FIND(h2span_cluster_tree, &cluster_tree, &dummy_cls); in dmsg_lnk_span()
587 node = RB_FIND(h2span_node_tree, &cls->tree, &dummy_node); in dmsg_lnk_span()
1173 cls = RB_FIND(h2span_cluster_tree, &cluster_tree, &dummy_cls);
H A Dmsg.c2117 pstate = RB_FIND(dmsg_state_tree,
2121 pstate = RB_FIND(dmsg_state_tree,
2164 state = RB_FIND(dmsg_state_tree,
2167 state = RB_FIND(dmsg_state_tree,
/dragonfly/share/man/man3/
H A DMakefile95 MLINKS+=tree.3 RB_FIND.3
/dragonfly/sbin/hammer/
H A Dcmd_dedup.c601 sha_de = RB_FIND(sha_dedup_entry_rb_tree, in process_btree_elm()
759 sha_de = RB_FIND(sha_dedup_entry_rb_tree, &de->u.fict_root, in process_btree_elm()
/dragonfly/sys/vfs/hammer/
H A Dhammer_recover.c1243 rterm = RB_FIND(hammer_rterm_rb_tree, root, &rtval); in hammer_recover_redo_run()
1283 rterm = RB_FIND(hammer_rterm_rb_tree, root, &rtval); in hammer_recover_redo_run()
/dragonfly/usr.bin/systat/
H A Dnetbw.c476 if ((elm = RB_FIND(mytcpcb_tree, &mytcp_tree, &dummy)) == NULL) { in updatepcb()
H A Dpftop.c523 if ((elm = RB_FIND(mypfstate_tree, &mypf_tree, &dummy)) == NULL) { in updatestate()
/dragonfly/sys/vfs/autofs/
H A Dautofs_vnops.c533 anp = RB_FIND(autofs_node_tree, &parent->an_children, &find); in autofs_node_find()
/dragonfly/sys/net/ipfw3_nat/
H A Dip_fw3_nat.c256 s = RB_FIND(state_tree, tree_out, k); in ip_fw3_nat()
440 } while (RB_FIND(state_tree, tree, s) != NULL); in pick_alias_port()
/dragonfly/sys/vm/
H A Dvm_vmspace.c683 ve = RB_FIND(vmspace_rb_tree, &vkp->root, &key); in vkernel_find_vmspace()
/dragonfly/sbin/fsck_hammer2/
H A Dtest.c501 e = RB_FIND(blockref_tree, root, &bref_find); in add_blockref_entry()
808 e = RB_FIND(blockref_tree, droot, &bref_find); in verify_blockref()

12