| /xnu-11215.81.4/iokit/Kernel/ |
| H A D | IOStatistics.cpp | 270 found = RB_FIND(KextTree, &kextHead, &sought); in onKextUnload() 337 foundKext = RB_FIND(KextTree, &kextHead, &soughtKext); in onClassAdded() 352 foundClass = RB_FIND(ClassTree, &classHead, &soughtClass); in onClassAdded() 391 found = RB_FIND(ClassTree, &classHead, &sought); in onClassRemoved() 454 found = RB_FIND(ClassTree, &classHead, &sought); in registerEventSource() 561 found = RB_FIND(ClassTree, &classHead, &sought); in registerUserClient() 630 found = RB_FIND(IOWorkLoopCounter::DependencyTree, &wlc->dependencyHead, &sought); in detachWorkLoopEventSource()
|
| /xnu-11215.81.4/bsd/net/ |
| H A D | if_llreach.c | 253 lr = RB_FIND(ll_reach_tree, &ifp->if_ll_srcs, &find); in ifnet_llreach_set_reachable() 283 lr = RB_FIND(ll_reach_tree, &ifp->if_ll_srcs, &find); in ifnet_llreach_alloc() 304 lr = RB_FIND(ll_reach_tree, &ifp->if_ll_srcs, &find); in ifnet_llreach_alloc()
|
| H A D | pf_table.c | 1320 p = RB_FIND(pfr_ktablehead, &pfr_ktables, &key); in pfr_add_tables() 1340 r = RB_FIND(pfr_ktablehead, &pfr_ktables, &key); in pfr_add_tables() 1406 p = RB_FIND(pfr_ktablehead, &pfr_ktables, &key); in pfr_del_tables() 1539 p = RB_FIND(pfr_ktablehead, &pfr_ktables, &key); in pfr_clr_tstats() 1580 p = RB_FIND(pfr_ktablehead, &pfr_ktables, &key); in pfr_set_tflags() 1685 kt = RB_FIND(pfr_ktablehead, &pfr_ktables, (struct pfr_ktable *)(void *)tbl); in pfr_ina_define() 1700 rt = RB_FIND(pfr_ktablehead, &pfr_ktables, &key); in pfr_ina_define() 2232 return RB_FIND(pfr_ktablehead, &pfr_ktables, in pfr_lookup_table()
|
| H A D | pf_if.c | 150 kif = RB_FIND(pfi_ifhead, &pfi_ifs, &s); in pfi_kif_get() 642 p = RB_FIND(pfi_ifhead, &pfi_ifs, &key); in pfi_update_status()
|
| H A D | pf_ruleset.c | 196 found = RB_FIND(pf_anchor_global, &pf_anchors, key); in pf_find_anchor()
|
| H A D | pf.c | 1099 return RB_FIND(pf_state_tree_id, &tree_id, in pf_find_state_byid() 1113 sk = RB_FIND(pf_state_tree_lan_ext, &pf_statetbl_lan_ext, in pf_find_state() 1135 sk = RB_FIND(pf_state_tree_ext_gwy, &pf_statetbl_ext_gwy, in pf_find_state() 1141 sk = RB_FIND(pf_state_tree_ext_gwy, &pf_statetbl_ext_gwy, in pf_find_state() 1149 sk = RB_FIND(pf_state_tree_lan_ext, in pf_find_state() 1182 sk = RB_FIND(pf_state_tree_lan_ext, in pf_find_state_all() 1186 sk = RB_FIND(pf_state_tree_ext_gwy, in pf_find_state_all() 1193 sk = RB_FIND(pf_state_tree_lan_ext, in pf_find_state_all() 1366 *sn = RB_FIND(pf_src_tree, &tree_src_tracking, &k); in pf_insert_src_node() 3330 *sn = RB_FIND(pf_src_tree, &tree_src_tracking, &k); in pf_map_addr()
|
| H A D | necp_client.c | 988 …struct necp_client_flow_registration *flow = RB_FIND(_necp_client_flow_global_tree, &necp_client_f… in necp_find_client_and_lock() 996 client = RB_FIND(_necp_client_global_tree, &necp_client_global_tree, &find); in necp_find_client_and_lock() 1015 flow = RB_FIND(_necp_client_flow_tree, &client->flow_registrations, &find); in necp_client_find_flow() 1032 …struct necp_client_flow_registration *flow = RB_FIND(_necp_fd_flow_tree, &client_fd->flows, &find); in necp_client_fd_find_client_unlocked() 1039 client = RB_FIND(_necp_client_tree, &client_fd->clients, &find); in necp_client_fd_find_client_unlocked() 7709 flow = RB_FIND(_necp_fd_flow_tree, &client_fd->flows, &find); in necp_client_fd_find_flow()
|
| /xnu-11215.81.4/san/memory/ |
| H A D | kasan_dynamic_blacklist.c | 255 e = RB_FIND(range_tree, &range_tree_root, &key); in kasan_dybl_unload_kext() 404 struct range_tree_entry *e = RB_FIND(range_tree, &range_tree_root, &key); in kasan_is_blacklisted()
|
| /xnu-11215.81.4/bsd/skywalk/namespace/ |
| H A D | flowidns.c | 135 return RB_FIND(flowidns_flowid_tree, in flowidns_find_fftn()
|
| H A D | protons.c | 134 pt = RB_FIND(protons_token_tree, &protons_tokens, &find); in protons_find_token_with_protocol()
|
| H A D | netns.c | 447 return RB_FIND(ns_reservation_tree, tree, &res); in ns_reservation_tree_find() 473 namespace = RB_FIND(netns_namespaces_tree, &netns_namespaces, &find); in _netns_get_ns()
|
| /xnu-11215.81.4/bsd/netinet/ |
| H A D | in_mcast.c | 420 ims = RB_FIND(ip_msource_tree, &imf->imf_sources, &find); in imo_match_source() 718 ims = RB_FIND(ip_msource_tree, &inm->inm_srcs, &find); in inm_record_source() 769 ims = RB_FIND(ip_msource_tree, &imf->imf_sources, &find); in imf_get_source() 838 ims = RB_FIND(ip_msource_tree, &imf->imf_sources, &find); in imf_prune() 984 ims = RB_FIND(ip_msource_tree, &inm->inm_srcs, &find); in inm_get_source()
|
| H A D | tcp_subr.c | 4054 seg = RB_FIND(tcp_seg_sent_tree_head, &tp->t_segs_sent_tree, &segment); in tcp_process_rxmt_segs_after_rto() 4161 found_seg = RB_FIND(tcp_seg_sent_tree_head, &tp->t_segs_sent_tree, &segment); in tcp_seg_sent_insert() 4192 rxmt_seg = RB_FIND(tcp_seg_sent_tree_head, &tp->t_segs_sent_tree, &segment); in tcp_seg_sent_insert() 4331 if ((found_seg = RB_FIND(tcp_seg_sent_tree_head, &tp->t_segs_sent_tree, &seg)) != NULL) { in tcp_segs_doack() 4481 found_seg = RB_FIND(tcp_seg_sent_tree_head, &tp->t_segs_sent_tree, &seg); in tcp_segs_dosack_matched() 4500 found_seg = RB_FIND(tcp_seg_sent_tree_head, &tp->t_segs_sent_tree, &seg); in tcp_segs_dosack() 4551 sacked_seg = RB_FIND(tcp_seg_sent_tree_head, &tp->t_segs_sent_tree, &seg); in tcp_segs_dosack()
|
| H A D | in_pcb.c | 3517 tmp_inp = RB_FIND(inp_fc_tree, &inp_fc_tree, inp); in inp_calc_flowhash() 3571 inp = RB_FIND(inp_fc_tree, &inp_fc_tree, &key_inp); in inp_fc_getinp()
|
| /xnu-11215.81.4/bsd/netinet6/ |
| H A D | in6_mcast.c | 421 ims = RB_FIND(ip6_msource_tree, &imf->im6f_sources, &find); in im6o_match_source() 664 ims = RB_FIND(ip6_msource_tree, &inm->in6m_srcs, &find); in in6m_record_source() 714 ims = RB_FIND(ip6_msource_tree, &imf->im6f_sources, &find); in im6f_get_source() 782 ims = RB_FIND(ip6_msource_tree, &imf->im6f_sources, &find); in im6f_prune() 925 ims = RB_FIND(ip6_msource_tree, &inm->in6m_srcs, &find); in in6m_get_source()
|
| H A D | nd6_prproxy.c | 1374 soltgt = RB_FIND(prproxy_sols_tree, &pr->ndpr_prproxy_sols, &find); in nd6_solsrc_enq() 1434 soltgt = RB_FIND(prproxy_sols_tree, &pr->ndpr_prproxy_sols, &find); in nd6_solsrc_deq()
|
| /xnu-11215.81.4/osfmk/vm/ |
| H A D | vm_map_store_rb.c | 110 rb_entry = RB_FIND( rb_head, rbh, store); in vm_map_store_entry_unlink_rb()
|
| /xnu-11215.81.4/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_entry.c | 166 return RB_FIND(flow_owner_tree, &fob->fob_owner_head, &find); in flow_owner_find_by_pid() 176 fe = RB_FIND(flow_entry_id_tree, &fo->fo_flow_entry_id_head, &find); in flow_entry_find_by_uuid()
|
| H A D | flow_route.c | 221 fr = RB_FIND(flow_route_tree, &frb->frb_head, &find); in flow_route_find_by_addr() 299 fr = RB_FIND(flow_route_id_tree, &frib->frib_head, &find); in flow_route_find_by_uuid()
|
| H A D | flow_manager.c | 241 ASSERT(RB_FIND(flow_mgr_tree, in flow_mgr_create() 399 fm = RB_FIND(flow_mgr_tree, &flow_mgr_head, &find); in flow_mgr_find_lock()
|
| /xnu-11215.81.4/bsd/kern/ |
| H A D | posix_shm.c | 222 return RB_FIND(pshmhead, &pshm_head, look); in pshm_cache_search()
|
| /xnu-11215.81.4/bsd/skywalk/mem/ |
| H A D | skmem_region.c | 1382 sg = RB_FIND(segtfreehead, &skr->skr_seg_tfree, &sg_key); in __sized_by() 1939 ASSERT(sg == RB_FIND(segtfreehead, &skr->skr_seg_tfree, &sg_key)); in sksegment_alloc_with_idx()
|
| /xnu-11215.81.4/bsd/skywalk/nexus/ |
| H A D | nexus.c | 1088 nx = RB_FIND(kern_nexus_tree, &nx_head, &find); in nxctl_get_channel_list() 2000 nx = RB_FIND(kern_nexus_tree, &nx_head, &find); in nx_destroy() 2042 nx = RB_FIND(kern_nexus_tree, &nx_head, &find); in nx_find()
|
| /xnu-11215.81.4/libkern/libkern/ |
| H A D | tree.h | 823 #define RB_FIND(name, x, y) name##_RB_FIND(x, y) macro
|
| /xnu-11215.81.4/osfmk/kern/ |
| H A D | machine.c | 797 struct io_timeout_override_entry *node = RB_FIND(io_timeout_override, root, &key); in io_reset_timeouts()
|