Searched refs:ptrs (Results 1 – 11 of 11) sorted by relevance
| /dpdk/app/test/ |
| H A D | test_malloc_perf.c | 69 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 D | acl_bld.c | 199 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 D | acl_gen.c | 128 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 D | acl.h | 115 struct rte_acl_ptr_set *ptrs; /* transitions array for this node */ member
|
| /dpdk/drivers/crypto/ccp/ |
| H A D | ccp_pci.c | 137 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 D | rte_eth_ring.c | 74 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 D | main.c | 225 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 D | pci.c | 149 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 D | rte_eventdev.h | 1102 void *ptrs[0]; member
|
| /dpdk/drivers/event/cnxk/ |
| H A D | cn10k_worker.h | 131 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 D | eventdev.rst | 87 * ``void *ptrs[0]`` - An array of pointers.
|