Home
last modified time | relevance | path

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

12

/xnu-12377.1.9/bsd/tests/
H A Dtree_tests_sysctl.c102 RB_INSERT(_rb_test_tree, tree, node); in rb_tree_insert_nodes()
/xnu-12377.1.9/bsd/net/
H A Dpf_ruleset.c371 if ((dup = RB_INSERT(pf_anchor_global, &pf_anchors, anchor)) != in pf_find_or_create_ruleset()
383 if ((dup = RB_INSERT(pf_anchor_node, &parent->children, in pf_find_or_create_ruleset()
H A Dif_llreach.c330 RB_INSERT(ll_reach_tree, &ifp->if_ll_srcs, lr); in ifnet_llreach_alloc()
H A Dpf_if.c164 RB_INSERT(pfi_ifhead, &pfi_ifs, kif); in pfi_kif_get()
H A Dpf_norm.c608 RB_INSERT(pf_frag_tree, &pf_frag_tree, *frag); in pf_reassemble()
850 RB_INSERT(pf_frag_tree, &pf_cache_tree, *frag); in pf_fragcache()
1239 RB_INSERT(pf_frag_tree, &pf_frag_tree, *frag); in pf_reassemble6()
1552 RB_INSERT(pf_frag_tree, &pf_cache_tree, *frag); in pf_frag6cache()
H A Dnecp_client.c2095 RB_INSERT(_necp_client_tree, &clients_to_close, client); in necpop_close()
3636 RB_INSERT(_necp_client_flow_tree, &client->flow_registrations, new_registration); in necp_client_create_flow_registration()
3639 RB_INSERT(_necp_fd_flow_tree, &fd_data->flows, new_registration); in necp_client_create_flow_registration()
3643 RB_INSERT(_necp_client_flow_global_tree, &necp_client_flow_global_tree, new_registration); in necp_client_create_flow_registration()
8109 RB_INSERT(_necp_client_tree, &fd_data->clients, client); in necp_client_add()
8112 RB_INSERT(_necp_client_global_tree, &necp_client_global_tree, client); in necp_client_add()
8202 RB_INSERT(_necp_client_tree, &fd_data->clients, client); in necp_client_claim()
/xnu-12377.1.9/iokit/Kernel/
H A DIOStatistics.cpp244 RB_INSERT(KextTree, &kextHead, ke); in onKextLoad()
245 RB_INSERT(KextAddressTree, &kextAddressHead, ke); in onKextLoad()
359 RB_INSERT(ClassTree, &classHead, ce); in onClassAdded()
607 …if (NULL == RB_INSERT(IOWorkLoopCounter::DependencyTree, &wlc->dependencyHead, nextWorkLoopDepende… in attachWorkLoopEventSource()
/xnu-12377.1.9/bsd/skywalk/namespace/
H A Dflowidns.c170 dup = RB_INSERT(flowidns_flowid_tree, in flowidns_allocate_flowid()
H A Dprotons.c200 dup = RB_INSERT(protons_token_tree, &protons_tokens, pt); in protons_reserve_locked()
H A Dnetns.c493 RB_INSERT(netns_namespaces_tree, &netns_namespaces, namespace); in _netns_get_ns()
582 exist = RB_INSERT(ns_reservation_tree, &namespace->ns_reservations, in _netns_reserve_common()
/xnu-12377.1.9/san/memory/
H A Dkasan_dynamic_denylist.c221 RB_INSERT(range_tree, &range_tree_root, e); in kasan_dyn_denylist_load_kext()
/xnu-12377.1.9/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_owner.c414 RB_INSERT(flow_owner_tree, &fob->fob_owner_head, fo); in flow_owner_alloc()
H A Dflow_route.c718 RB_INSERT(flow_route_tree, &frb->frb_head, fr); in flow_route_find()
719 RB_INSERT(flow_route_id_tree, &frib->frib_head, fr); in flow_route_find()
H A Dflow_entry.c671 RB_INSERT(flow_entry_id_tree, &fo->fo_flow_entry_id_head, fe); in flow_entry_alloc()
H A Dflow_manager.c236 RB_INSERT(flow_mgr_tree, &flow_mgr_head, fm); in flow_mgr_create()
/xnu-12377.1.9/osfmk/vm/
H A Dvm_map_store_rb.c94 if ((tmp_store = RB_INSERT( rb_head, rbh, store )) != NULL) { in vm_map_store_entry_link_rb()
/xnu-12377.1.9/bsd/netinet6/
H A Din6_mcast.c674 RB_INSERT(ip6_msource_tree, &inm->in6m_srcs, nims); in in6m_record_source()
723 RB_INSERT(ip6_msource_tree, &imf->im6f_sources, in im6f_get_source()
757 RB_INSERT(ip6_msource_tree, &imf->im6f_sources, in im6f_graft()
932 RB_INSERT(ip6_msource_tree, &inm->in6m_srcs, nims); in in6m_get_source()
H A Dnd6_prproxy.c1395 RB_INSERT(prproxy_sols_tree, &pr->ndpr_prproxy_sols, soltgt); in nd6_solsrc_enq()
/xnu-12377.1.9/bsd/netinet/
H A Din_mcast.c728 RB_INSERT(ip_msource_tree, &inm->inm_srcs, nims); in inm_record_source()
778 RB_INSERT(ip_msource_tree, &imf->imf_sources, in imf_get_source()
812 RB_INSERT(ip_msource_tree, &imf->imf_sources, in imf_graft()
991 RB_INSERT(ip_msource_tree, &inm->inm_srcs, nims); in inm_get_source()
H A Dtcp_subr.c4113 struct tcp_seg_sent *not_inserted = RB_INSERT(tcp_seg_sent_tree_head, &tp->t_segs_sent_tree, seg); in tcp_seg_sent_insert_before()
4134 struct tcp_seg_sent *not_inserted = RB_INSERT(tcp_seg_sent_tree_head, &tp->t_segs_sent_tree, seg); in tcp_seg_rto_insert_end()
4171 struct tcp_seg_sent *not_inserted = RB_INSERT(tcp_seg_sent_tree_head, in tcp_seg_sent_insert()
4192 struct tcp_seg_sent *not_inserted = RB_INSERT(tcp_seg_sent_tree_head, &tp->t_segs_sent_tree, seg); in tcp_seg_sent_insert()
H A Din_pcb.c3456 VERIFY(RB_INSERT(inp_fc_tree, &inp_fc_tree, inp) == NULL); in inp_calc_flowhash()
3510 RB_INSERT(inp_fc_tree, &inp_fc_tree, inp); in inp_calc_flowhash()
/xnu-12377.1.9/bsd/kern/
H A Dposix_shm.c234 conflict = RB_INSERT(pshmhead, &pshm_head, entry); in pshm_cache_add()
/xnu-12377.1.9/bsd/skywalk/mem/
H A Dskmem_region.c1736 RB_INSERT(segtfreehead, &skr->skr_seg_tfree, sg); in sksegment_freelist_insert()
1821 RB_INSERT(segtfreehead, &skr->skr_seg_tfree, sg); in sksegment_freelist_remove()
/xnu-12377.1.9/libkern/libkern/
H A Dtree.h821 #define RB_INSERT(name, x, y) name##_RB_INSERT(x, y) macro
/xnu-12377.1.9/osfmk/kern/
H A Dmachine.c769 if (RB_INSERT(io_timeout_override, root, node)) { in io_increase_timeouts()

12