Home
last modified time | relevance | path

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

12

/freebsd-head/usr.bin/localedef/
HDcharmap.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()
HDcollate.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 …]
HDctype.c182 if ((ctn = RB_FIND(ctypes, &ctypes, &srch)) == NULL) { in get_ctype()
/freebsd-head/usr.sbin/ypldap/
HDyp.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()
HDypldap.c244 if ((ue = RB_FIND(user_name_tree, env->sc_user_names_t, in main_create_user_groups()
/freebsd-head/sys/rpc/rpcsec_tls/
HDrpctls_impl.c164 upsp = RB_FIND(upsock_t, &upcall_sockets, in sys_rpctls_syscall()
219 if (RB_FIND(upsock_t, &upcall_sockets, ups)) { in rpctls_rpc_failed()
293 MPASS((RB_FIND(upsock_t, &upcall_sockets, &ups) == NULL)); in rpctls_connect()
405 MPASS((RB_FIND(upsock_t, &upcall_sockets, &ups) == NULL)); in rpctls_server()
/freebsd-head/sys/geom/eli/
HDg_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-head/contrib/netbsd-tests/include/sys/
HDt_tree.c75 return (!!RB_FIND(head, &tt, m)); in findmist()
/freebsd-head/tests/sys/sys/
HDrb_test.c83 ATF_REQUIRE_EQ(tmp, RB_FIND(tree, &root, tmp)); in ATF_TC_BODY()
/freebsd-head/usr.bin/sockstat/
HDsockstat.c1163 p = RB_FIND(pcbs_t, &pcbs, in displaysock()
1171 f = RB_FIND(files_t, &ftree, in displaysock()
1191 while ((p = RB_FIND(pcbs_t, &pcbs, in displaysock()
1193 f = RB_FIND(files_t, &ftree, in displaysock()
1225 sp = RB_FIND(socks_t, &socks, &(struct sock) in displaysock()
1382 s = RB_FIND(socks_t, &socks, in display()
/freebsd-head/crypto/openssh/
HDkrl.c1166 erki = RB_FIND(revoked_key_id_tree, &rc->revoked_key_ids, &rki); in is_cert_revoked()
1181 ers = RB_FIND(revoked_serial_tree, &rc->revoked_serials, &rs); in is_cert_revoked()
1203 erb = RB_FIND(revoked_blob_tree, &krl->revoked_sha1s, &rb); in is_key_revoked()
1213 erb = RB_FIND(revoked_blob_tree, &krl->revoked_sha256s, &rb); in is_key_revoked()
1224 erb = RB_FIND(revoked_blob_tree, &krl->revoked_keys, &rb); in is_key_revoked()
HDsftp-usergroup.c84 if ((found = RB_FIND(idname_tree, tree, &idname)) != NULL) in idname_lookup()
HDsrclimit.c298 if ((penalty = RB_FIND(penalties_by_addr, by_addr, &find)) == NULL) in srclimit_penalty_check_allow()
/freebsd-head/contrib/bsnmp/snmp_mibII/
HDmibII_route.c141 r = RB_FIND(sroutes, &sroutes, &key); in mib_sroute_process()
294 return (RB_FIND(sroutes, &sroutes, &key)); in sroute_get()
/freebsd-head/sys/netpfil/pf/
HDpf_table.c1226 p = RB_FIND(pfr_ktablehead, &V_pfr_ktables, &key); in pfr_add_tables()
1244 r = RB_FIND(pfr_ktablehead, &V_pfr_ktables, &key); in pfr_add_tables()
1300 p = RB_FIND(pfr_ktablehead, &V_pfr_ktables, &key); in pfr_del_tables()
1425 p = RB_FIND(pfr_ktablehead, &V_pfr_ktables, &key); in pfr_clr_tstats()
1457 p = RB_FIND(pfr_ktablehead, &V_pfr_ktables, &key); in pfr_set_tflags()
1544 kt = RB_FIND(pfr_ktablehead, &V_pfr_ktables, (struct pfr_ktable *)tbl); in pfr_ina_define()
1557 rt = RB_FIND(pfr_ktablehead, &V_pfr_ktables, &key); in pfr_ina_define()
2073 return (RB_FIND(pfr_ktablehead, &V_pfr_ktables, in pfr_lookup_table()
HDpf_if.c331 return (RB_FIND(pfi_ifhead, &V_pfi_ifs, (struct pfi_kkif *)&s)); in pfi_kkif_find()
406 if (! RB_FIND(pfi_ifhead, &V_pfi_ifs, kif)) { in pfi_kkif_remove_if_unref()
870 p = RB_FIND(pfi_ifhead, &V_pfi_ifs, (struct pfi_kkif *)&key); in pfi_update_status()
HDpf_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()
/freebsd-head/usr.sbin/bhyve/
HDmem.c90 res = RB_FIND(mmio_rb_tree, rbt, &find); in mmio_rb_lookup()
/freebsd-head/sys/netinet6/
HDin6_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-head/sys/netinet/
HDin_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-head/contrib/unifdef/
HDunifdef.c1477 res = RB_FIND(MACROMAP, &macro_tree, &key); in findsym()
1501 ind = RB_FIND(MACROMAP, &macro_tree, &key); in indirectsym()
1544 sym = RB_FIND(MACROMAP, &macro_tree, &key); in addsym2()
/freebsd-head/sbin/pfctl/
HDpf_ruleset.c152 found = RB_FIND(pfctl_anchor_global, &V_pf_anchors, key); in pf_find_anchor()
/freebsd-head/sys/dev/xen/evtchn/
HDevtchn_dev.c131 return (RB_FIND(evtchn_tree, &u->evtchns, &tmp)); in find_evtchn()
/freebsd-head/sys/dev/xen/gntdev/
HDgntdev.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-head/sys/rpc/
HDclnt_nl.c414 if ((nl = RB_FIND(nl_data_t, &rpcnl_clients, in clnt_nl_reply()

12