Home
last modified time | relevance | path

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

12

/freebsd/usr.bin/localedef/
H A Dcharmap.c263 if ((wc != (wchar_t)-1) && ((RB_FIND(cmap_wc, &cmap_wc, &srch)) == NULL)) { in add_charmap_impl()
273 if (RB_FIND(cmap_sym, &cmap_sym, &srch) != NULL) { in add_charmap_impl()
303 cm = RB_FIND(cmap_sym, &cmap_sym, &srch); in add_charmap_undefined()
379 n = RB_FIND(cmap_sym, &cmap_sym, &srch); in lookup_charmap()
394 return (RB_FIND(cmap_wc, &cmap_wc, &srch) ? 0 : -1); in check_charmap()
H A Dcollate.c503 if (RB_FIND(collsyms, &collsyms, sym) != NULL) { in define_collsym()
521 return (RB_FIND(collsyms, &collsyms, &srch)); in lookup_collsym()
530 return (RB_FIND(elem_by_symbol, &elem_by_symbol, &srch)); in lookup_collelem()
541 if ((ud = RB_FIND(collundefs, &collundefs, &srch)) == NULL) { in get_collundef()
565 cc = RB_FIND(collchars, &collchars, &srch); in get_collchar()
817 if ((RB_FIND(elem_by_symbol, &elem_by_symbol, e) != NULL) || in define_collelem()
818 (RB_FIND(elem_by_expand, &elem_by_expand, e) != NULL)) { in define_collelem()
931 s = RB_FIND(substs_ref, &substs_ref[curr_weight], &srch); in add_order_subst()
959 if (RB_FIND(substs, &substs[curr_weight], s) != NULL) { in add_order_subst()
1039 if (RB_FIND(weights, &weights[pass], &srch) != NULL) in add_weight()
[all …]
H A Dctype.c182 if ((ctn = RB_FIND(ctypes, &ctypes, &srch)) == NULL) { in get_ctype()
/freebsd/usr.sbin/ypldap/
H A Dyp.c349 if ((ue = RB_FIND(user_name_tree, env->sc_user_names, in ypproc_match_2_svc()
365 if ((ue = RB_FIND(user_uid_tree, &env->sc_user_uids, in ypproc_match_2_svc()
379 if ((ge = RB_FIND(group_gid_tree, &env->sc_group_gids, in ypproc_match_2_svc()
389 if ((ge = RB_FIND(group_name_tree, env->sc_group_names, in ypproc_match_2_svc()
428 if ((ue = RB_FIND(user_uid_tree, &env->sc_user_uids, in ypproc_match_2_svc()
499 if ((ue = RB_FIND(user_name_tree, env->sc_user_names, in ypproc_next_2_svc()
537 if ((ge = RB_FIND(group_name_tree, env->sc_group_names, in ypproc_next_2_svc()
H A Dypldap.c244 if ((ue = RB_FIND(user_name_tree, env->sc_user_names_t, in main_create_user_groups()
/freebsd/sys/geom/eli/
H A Dg_eli_key_cache.c116 ekey = RB_FIND(g_eli_key_tree, &sc->sc_ekeys_tree, &keysearch); in g_eli_key_allocate()
321 key = RB_FIND(g_eli_key_tree, &sc->sc_ekeys_tree, &keysearch); in g_eli_key_hold()
329 key = RB_FIND(g_eli_key_tree, &sc->sc_ekeys_tree, &keysearch); in g_eli_key_hold()
/freebsd/contrib/netbsd-tests/include/sys/
H A Dt_tree.c75 return (!!RB_FIND(head, &tt, m)); in findmist()
/freebsd/tests/sys/sys/
H A Drb_test.c83 ATF_REQUIRE_EQ(tmp, RB_FIND(tree, &root, tmp)); in ATF_TC_BODY()
/freebsd/crypto/openssh/
H A Dkrl.c1164 erki = RB_FIND(revoked_key_id_tree, &rc->revoked_key_ids, &rki); in is_cert_revoked()
1179 ers = RB_FIND(revoked_serial_tree, &rc->revoked_serials, &rs); in is_cert_revoked()
1201 erb = RB_FIND(revoked_blob_tree, &krl->revoked_sha1s, &rb); in is_key_revoked()
1211 erb = RB_FIND(revoked_blob_tree, &krl->revoked_sha256s, &rb); in is_key_revoked()
1222 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()
/freebsd/usr.bin/sockstat/
H A Dsockstat.c1156 p = RB_FIND(pcbs_t, &pcbs, in displaysock()
1164 f = RB_FIND(files_t, &ftree, in displaysock()
1181 while ((p = RB_FIND(pcbs_t, &pcbs, in displaysock()
1183 f = RB_FIND(files_t, &ftree, in displaysock()
1325 s = RB_FIND(socks_t, &socks, in display()
/freebsd/contrib/bsnmp/snmp_mibII/
H A DmibII_route.c141 r = RB_FIND(sroutes, &sroutes, &key); in mib_sroute_process()
294 return (RB_FIND(sroutes, &sroutes, &key)); in sroute_get()
/freebsd/sys/netpfil/pf/
H A Dpf_table.c1187 p = RB_FIND(pfr_ktablehead, &V_pfr_ktables, &key); in pfr_add_tables()
1205 r = RB_FIND(pfr_ktablehead, &V_pfr_ktables, &key); in pfr_add_tables()
1261 p = RB_FIND(pfr_ktablehead, &V_pfr_ktables, &key); in pfr_del_tables()
1386 p = RB_FIND(pfr_ktablehead, &V_pfr_ktables, &key); in pfr_clr_tstats()
1418 p = RB_FIND(pfr_ktablehead, &V_pfr_ktables, &key); in pfr_set_tflags()
1505 kt = RB_FIND(pfr_ktablehead, &V_pfr_ktables, (struct pfr_ktable *)tbl); in pfr_ina_define()
1518 rt = RB_FIND(pfr_ktablehead, &V_pfr_ktables, &key); in pfr_ina_define()
2034 return (RB_FIND(pfr_ktablehead, &V_pfr_ktables, in pfr_lookup_table()
H A Dpf_ruleset.c143 found = RB_FIND(pf_kanchor_global, &V_pf_anchors, key); in pf_find_kanchor()
517 found = RB_FIND(pf_keth_anchor_global, &V_pf_keth_anchors, key); in _pf_find_keth_anchor()
H A Dpf_if.c324 return (RB_FIND(pfi_ifhead, &V_pfi_ifs, (struct pfi_kkif *)&s)); in pfi_kkif_find()
820 p = RB_FIND(pfi_ifhead, &V_pfi_ifs, (struct pfi_kkif *)&key); in pfi_update_status()
/freebsd/usr.sbin/bhyve/
H A Dmem.c90 res = RB_FIND(mmio_rb_tree, rbt, &find); in mmio_rb_lookup()
/freebsd/sys/netinet6/
H A Din6_mcast.c303 ims = RB_FIND(ip6_msource_tree, &imf->im6f_sources, &find); in im6o_match_source()
709 ims = RB_FIND(ip6_msource_tree, &inm->in6m_srcs, &find); in in6m_record_source()
760 ims = RB_FIND(ip6_msource_tree, &imf->im6f_sources, &find); in im6f_get_source()
826 ims = RB_FIND(ip6_msource_tree, &imf->im6f_sources, &find); in im6f_prune()
956 ims = RB_FIND(ip6_msource_tree, &inm->in6m_srcs, &find); in in6m_get_source()
/freebsd/sys/netinet/
H A Din_mcast.c442 ims = RB_FIND(ip_msource_tree, &imf->imf_sources, &find); in imo_match_source()
692 ims = RB_FIND(ip_msource_tree, &inm->inm_srcs, &find); in inm_record_source()
744 ims = RB_FIND(ip_msource_tree, &imf->imf_sources, &find); in imf_get_source()
811 ims = RB_FIND(ip_msource_tree, &imf->imf_sources, &find); in imf_prune()
938 ims = RB_FIND(ip_msource_tree, &inm->inm_srcs, &find); in inm_get_source()
/freebsd/sys/dev/xen/evtchn/
H A Devtchn_dev.c131 return (RB_FIND(evtchn_tree, &u->evtchns, &tmp)); in find_evtchn()
/freebsd/sbin/pfctl/
H A Dpf_ruleset.c152 found = RB_FIND(pfctl_anchor_global, &V_pf_anchors, key); in pf_find_anchor()
/freebsd/sys/dev/xen/gntdev/
H A Dgntdev.c316 gref_start = RB_FIND(gref_tree_head, &priv_user->gref_tree, &find_gref); in gntdev_find_grefs()
547 gmap = RB_FIND(gmap_tree_head, &priv_user->gmap_tree, &find_gmap); in gntdev_find_gmap()
/freebsd/sys/fs/autofs/
H A Dautofs_vnops.c610 anp = RB_FIND(autofs_node_tree, &parent->an_children, &find); in autofs_node_find()
/freebsd/share/man/man3/
H A DMakefile331 tree.3 RB_FIND.3 \
/freebsd/sys/vm/
H A Dvm_phys.c952 seg = RB_FIND(fict_tree, &vm_phys_fictitious_tree, &tmp); in vm_phys_fictitious_to_vm_page()
1111 seg = RB_FIND(fict_tree, &vm_phys_fictitious_tree, &tmp); in vm_phys_fictitious_unreg_range()
/freebsd/sys/kern/
H A Dkern_sysctl.c1212 oid = RB_FIND(sysctl_oid_list, lsp, &key); in sysctl_sysctl_name()
1351 oidp = RB_FIND(sysctl_oid_list, lsp, &key); in sysctl_sysctl_next_action()
2274 oid = RB_FIND(sysctl_oid_list, lsp, &key); in sysctl_find_oid()

12