Searched refs:leaf_count (Results 1 – 2 of 2) sorted by relevance
87 boolean_t net_trie_init(struct net_trie *new_trie, size_t prefix_count, size_t leaf_count, size_t b…
110 net_trie_init(struct net_trie *new_trie, size_t prefix_count, size_t leaf_count, size_t bytes_count) in net_trie_init() argument130 if (new_trie == NULL || prefix_count <= 0 || leaf_count <= 0 || bytes_count <= 0) { in net_trie_init()135 if (os_add3_overflow(prefix_count, leaf_count, 1, &nodes_count)) { /* + 1 for the root node */ in net_trie_init()