Home
last modified time | relevance | path

Searched refs:ptrs (Results 1 – 11 of 11) sorted by relevance

/dpdk/app/test/
H A Dtest_malloc_perf.c69 void **ptrs; in test_alloc_perf() local
73 ptrs = calloc(max_runs, sizeof(ptrs[0])); in test_alloc_perf()
74 if (ptrs == NULL) { in test_alloc_perf()
90 ptrs[j] = alloc_fn(NULL, size, 0); in test_alloc_perf()
91 if (ptrs[j] == NULL) in test_alloc_perf()
105 for (j = 0; j < runs_done && ptrs[j] != NULL; j++) in test_alloc_perf()
106 memset_fn(ptrs[j], 0, size); in test_alloc_perf()
111 for (j = 0; j < runs_done && ptrs[j] != NULL; j++) in test_alloc_perf()
112 free_fn(ptrs[j]); in test_alloc_perf()
124 memset(ptrs, 0, max_runs * sizeof(ptrs[0])); in test_alloc_perf()
[all …]
/dpdk/lib/acl/
H A Dacl_bld.c199 if (node->ptrs != NULL) { in acl_free_node()
202 node->ptrs); in acl_free_node()
203 node->ptrs = NULL; in acl_free_node()
272 ptrs = acl_build_alloc(context, num_ptrs, sizeof(*ptrs)); in acl_add_ptr()
275 if (node->ptrs != NULL) { in acl_add_ptr()
276 memcpy(ptrs, node->ptrs, in acl_add_ptr()
279 node->ptrs); in acl_add_ptr()
281 node->ptrs = ptrs; in acl_add_ptr()
288 node->ptrs[n].ptr = ptr; in acl_add_ptr()
406 next->ptrs[n].ptr = node->ptrs[n].ptr; in acl_dup_node()
[all …]
H A Dacl_gen.c128 child = node->ptrs[x].ptr; in acl_node_fill_dfa()
132 bits = &node->ptrs[x].values; in acl_node_fill_dfa()
207 if (node->ptrs[n].ptr != NULL) in acl_count_fanout()
209 &node->ptrs[n].values, 1); in acl_count_fanout()
270 if (node->ptrs[n].ptr != NULL) in acl_count_trie_types()
271 acl_count_trie_types(counts, node->ptrs[n].ptr, in acl_count_trie_types()
386 if (node->ptrs[n].ptr != NULL) in acl_gen_node()
387 acl_gen_node(node->ptrs[n].ptr, in acl_gen_node()
401 if (node->ptrs[n].ptr != NULL) in acl_gen_node()
402 array_ptr[0] = node->ptrs[n].ptr->node_index; in acl_gen_node()
H A Dacl.h115 struct rte_acl_ptr_set *ptrs; /* transitions array for this node */ member
/dpdk/drivers/crypto/ccp/
H A Dccp_pci.c137 char *ptrs[PCI_RESOURCE_FMT_NVAL]; in ccp_pci_parse_one_sysfs_resource() member
140 if (rte_strsplit(line, len, res_info.ptrs, 3, ' ') != 3) in ccp_pci_parse_one_sysfs_resource()
/dpdk/drivers/net/ring/
H A Drte_eth_ring.c74 void **ptrs = (void *)&bufs[0]; in eth_ring_rx() local
77 ptrs, nb_bufs, NULL); in eth_ring_rx()
88 void **ptrs = (void *)&bufs[0]; in eth_ring_tx() local
91 ptrs, nb_bufs, NULL); in eth_ring_tx()
/dpdk/examples/vhost/
H A Dmain.c225 char *ptrs[2]; in open_dma() local
267 sub_nr = rte_strsplit(arg_temp, strlen(arg_temp), ptrs, 2, '@'); in open_dma()
273 start = strstr(ptrs[0], "txd"); in open_dma()
286 dev_id = rte_dma_get_dev_id_by_name(ptrs[1]); in open_dma()
288 RTE_LOG(ERR, VHOST_CONFIG, "Fail to find DMA %s.\n", ptrs[1]); in open_dma()
/dpdk/drivers/bus/pci/linux/
H A Dpci.c149 char *ptrs[PCI_RESOURCE_FMT_NVAL]; in pci_parse_one_sysfs_resource() member
152 if (rte_strsplit(line, len, res_info.ptrs, 3, ' ') != 3) { in pci_parse_one_sysfs_resource()
/dpdk/lib/eventdev/
H A Drte_eventdev.h1102 void *ptrs[0]; member
/dpdk/drivers/event/cnxk/
H A Dcn10k_worker.h131 rte_prefetch0(&vec->ptrs[0]); in cn10k_process_vwqe()
134 rte_prefetch0(&vec->ptrs[i]); in cn10k_process_vwqe()
/dpdk/doc/guides/prog_guide/
H A Deventdev.rst87 * ``void *ptrs[0]`` - An array of pointers.