Home
last modified time | relevance | path

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

/f-stack/dpdk/lib/librte_acl/
H A Dacl_bld.c167 node->num_ptrs = 0; in acl_alloc_node()
252 uint32_t n, num_ptrs; in acl_add_ptr() local
282 node->max_ptrs = num_ptrs; in acl_add_ptr()
293 if (node->num_ptrs <= n) in acl_add_ptr()
294 node->num_ptrs = n + 1; in acl_add_ptr()
396 if (node->num_ptrs > 0) { in acl_dup_node()
413 next->num_ptrs = node->num_ptrs; in acl_dup_node()
485 node_a->num_ptrs--; in acl_compact_node_ptrs()
506 node_a->num_ptrs--; in acl_compact_node_ptrs()
636 ptrs_b = node_b->num_ptrs; in acl_merge_trie()
[all …]
H A Dacl_gen.c126 for (x = 0; x < node->num_ptrs; x++) { in acl_node_fill_dfa()
206 for (n = 0; n < node->num_ptrs; n++) { in acl_count_fanout()
224 int num_ptrs; in acl_count_trie_types() local
231 if (node->match_flag != 0 || node->num_ptrs == 0) { in acl_count_trie_types()
237 num_ptrs = acl_count_fanout(node); in acl_count_trie_types()
241 num_ptrs = RTE_ACL_DFA_SIZE; in acl_count_trie_types()
244 if (num_ptrs == 1) { in acl_count_trie_types()
247 } else if (num_ptrs <= RTE_ACL_QUAD_MAX) { in acl_count_trie_types()
269 for (n = 0; n < node->num_ptrs; n++) { in acl_count_trie_types()
385 for (n = 0; n < node->num_ptrs; n++) { in acl_gen_node()
[all …]
H A Dacl.h112 uint32_t num_ptrs; /* number of ptr_set in use */ member
/f-stack/freebsd/contrib/openzfs/cmd/zed/
H A Dzed_exec.c40 int num_ptrs; in _zed_exec_create_env() local
49 num_ptrs = zed_strings_count(zsp) + 1; in _zed_exec_create_env()
50 buflen = num_ptrs * sizeof (char *); in _zed_exec_create_env()
59 p = buf + (num_ptrs * sizeof (char *)); in _zed_exec_create_env()