Home
last modified time | relevance | path

Searched refs:maps_count (Results 1 – 4 of 4) sorted by relevance

/xnu-12377.41.6/bsd/net/
H A Dtrie_utility.c117 size_t maps_count = 0; in net_trie_init() local
140 if (os_add_overflow(prefix_count, 1, &maps_count)) { /* + 1 for the root node */ in net_trie_init()
145 if (bytes_count > UINT16_MAX || nodes_count > UINT16_MAX || maps_count > UINT16_MAX) { in net_trie_init()
146 …(%lu), nodes count (%lu) or maps count (%lu)", __FUNCTION__, bytes_count, nodes_count, maps_count); in net_trie_init()
151 …os_mul3_overflow(sizeof(*new_trie->child_maps), CHILD_MAP_SIZE, (size_t)maps_count, &child_maps_me… in net_trie_init()
163 …bytes_count = %lu, total memory size %lu)", __FUNCTION__, nodes_count, maps_count, bytes_count, tr… in net_trie_init()
188 new_trie->child_maps_count = (uint16_t)maps_count; in net_trie_init()
H A Dnecp.h83 uint32_t maps_count; member
H A Dnecp.c6050 trie_request->nodes_count, trie_request->maps_count, trie_request->bytes_count) == false) { in necp_create_domain_trie()
/xnu-12377.41.6/bsd/netinet/
H A Dflow_divert.c3134 size_t maps_count = 0; in flow_divert_handle_app_map_create() local
3187 if (os_add_overflow(prefix_count, 1, &maps_count)) { /* + 1 for the root node */ in flow_divert_handle_app_map_create()
3193 if (bytes_count > UINT16_MAX || nodes_count > UINT16_MAX || maps_count > UINT16_MAX) { in flow_divert_handle_app_map_create()
3195 …d bytes count (%lu), nodes count (%lu) or maps count (%lu)", bytes_count, nodes_count, maps_count); in flow_divert_handle_app_map_create()
3200 nodes_count, maps_count, bytes_count); in flow_divert_handle_app_map_create()
3203 …os_mul3_overflow(sizeof(*new_trie.child_maps), CHILD_MAP_SIZE, (size_t)maps_count, &child_maps_mem… in flow_divert_handle_app_map_create()
3234 new_trie.child_maps_count = (uint16_t)maps_count; in flow_divert_handle_app_map_create()