Home
last modified time | relevance | path

Searched refs:rte_malloc (Results 1 – 25 of 141) sorted by relevance

123456

/f-stack/dpdk/app/test-crypto-perf/
H A Dcperf_test_vectors.c407 t_vec = (struct cperf_test_vector *)rte_malloc(NULL, in cperf_test_vector_get_dummy()
431 t_vec->cipher_iv.data = rte_malloc(NULL, in cperf_test_vector_get_dummy()
452 t_vec->digest.data = rte_malloc(NULL, in cperf_test_vector_get_dummy()
489 t_vec->cipher_iv.data = rte_malloc(NULL, in cperf_test_vector_get_dummy()
516 t_vec->digest.data = rte_malloc(NULL, in cperf_test_vector_get_dummy()
534 t_vec->auth_iv.data = rte_malloc(NULL, options->auth_iv_sz, in cperf_test_vector_get_dummy()
551 t_vec->aad.data = rte_malloc(NULL, in cperf_test_vector_get_dummy()
565 t_vec->digest.data = rte_malloc(NULL, options->digest_sz, in cperf_test_vector_get_dummy()
580 t_vec->aead_iv.data = rte_malloc(NULL, options->aead_iv_sz, in cperf_test_vector_get_dummy()
H A Dcperf_test_pmd_cyclecount.c108 ctx = rte_malloc(NULL, sizeof(struct cperf_pmd_cyclecount_ctx), 0); in cperf_pmd_cyclecount_test_constructor()
133 ctx->ops = rte_malloc("ops", alloc_sz, 0); in cperf_pmd_cyclecount_test_constructor()
137 ctx->ops_processed = rte_malloc("ops_processed", alloc_sz, 0); in cperf_pmd_cyclecount_test_constructor()
/f-stack/dpdk/drivers/raw/octeontx2_dma/
H A Dotx2_dpi_test.c71 fptr = (uint8_t *)rte_malloc("dummy", buf_size, 128); in dma_test_internal()
72 lptr = (uint8_t *)rte_malloc("dummy", buf_size, 128); in dma_test_internal()
73 comp_data = rte_malloc("dummy", buf_size, 128); in dma_test_internal()
197 cring.compl_data = rte_malloc("dummy", sizeof(void *) * 1024, 128); in test_otx2_dma_rawdev()
/f-stack/dpdk/app/test/
H A Dtest_malloc.c94 p2 = rte_malloc("dummy", 1000, align2); in test_align_overlap_per_lcore()
101 p3 = rte_malloc("dummy", 1000, align3); in test_align_overlap_per_lcore()
168 p3 = rte_malloc("dummy", 1000, align3); in test_reordered_free_per_lcore()
693 struct mem_list *entry = rte_malloc(NULL, in test_random_alloc_free()
733 char *data_ptr = rte_malloc(NULL, request_size, RTE_CACHE_LINE_SIZE); in test_rte_malloc_validate()
805 char *p1 = rte_malloc(NULL,1024, 0); in test_zero_aligned_alloc()
827 char *bad_ptr = rte_malloc(type, size, align); in test_malloc_bad_params()
840 bad_ptr = rte_malloc(type, size, align); in test_malloc_bad_params()
856 bad_ptr = rte_malloc(type, size, align); in test_malloc_bad_params()
H A Dtest_memcpy_perf.c76 large_buf_read = rte_malloc("memcpy", LARGE_BUFFER_SIZE + ALIGNMENT_UNIT, ALIGNMENT_UNIT); in init_buffers()
80 large_buf_write = rte_malloc("memcpy", LARGE_BUFFER_SIZE + ALIGNMENT_UNIT, ALIGNMENT_UNIT); in init_buffers()
84 small_buf_read = rte_malloc("memcpy", SMALL_BUFFER_SIZE + ALIGNMENT_UNIT, ALIGNMENT_UNIT); in init_buffers()
88 small_buf_write = rte_malloc("memcpy", SMALL_BUFFER_SIZE + ALIGNMENT_UNIT, ALIGNMENT_UNIT); in init_buffers()
H A Dtest_compressdev.c260 rte_malloc(NULL, sizeof(struct rte_comp_xform), 0); in testsuite_setup()
267 rte_malloc(NULL, sizeof(struct rte_comp_xform), 0); in testsuite_setup()
469 single_src_buf = rte_malloc(NULL, in compress_zlib()
496 single_dst_buf = rte_malloc(NULL, in compress_zlib()
606 single_src_buf = rte_malloc(NULL, in decompress_zlib()
612 single_dst_buf = rte_malloc(NULL, in decompress_zlib()
890 *all_decomp_data = rte_malloc(NULL, data_size, in test_setup_com_bufs()
2185 rte_malloc(NULL, sizeof(struct rte_comp_xform), 0); in test_compressdev_deflate_stateless_fixed()
2249 rte_malloc(NULL, sizeof(struct rte_comp_xform), 0); in test_compressdev_deflate_stateless_dynamic()
2439 compress_xforms[i] = rte_malloc(NULL, in test_compressdev_deflate_stateless_multi_xform()
[all …]
H A Dtest_hash_readwrite_lf_perf.c277 keys = rte_malloc(NULL, sizeof(uint32_t) * TOTAL_INSERT, 0); in generate_keys()
288 keys_no_ks = rte_malloc(NULL, sizeof(uint32_t) * TOTAL_INSERT, 0); in generate_keys()
300 keys_ks = rte_malloc(NULL, sizeof(uint32_t) * TOTAL_INSERT, 0); in generate_keys()
317 keys_absent = rte_malloc(NULL, sizeof(uint32_t) * TOTAL_INSERT, 0); in generate_keys()
329 tbl_rwc_test_param.keys_shift_path = rte_malloc(NULL, sizeof(uint32_t) * in generate_keys()
342 keys_non_shift_path = rte_malloc(NULL, sizeof(uint32_t) * TOTAL_INSERT, in generate_keys()
352 keys_ext_bkt = rte_malloc(NULL, sizeof(uint32_t) * TOTAL_INSERT, 0); in generate_keys()
362 keys_ks_extbkt = rte_malloc(NULL, sizeof(uint32_t) * TOTAL_INSERT, 0); in generate_keys()
380 scanned_bkts = rte_malloc(NULL, sizeof(uint8_t) * num_buckets, 0); in generate_keys()
H A Dtest_reorder.c71 b = rte_malloc(NULL, size, 0); in test_reorder_init()
78 b = rte_malloc(NULL, size, 0); in test_reorder_init()
/f-stack/dpdk/lib/librte_eal/common/
H A Dmeson.build34 'rte_malloc.c',
76 'rte_malloc.c',
/f-stack/dpdk/drivers/net/dpaa2/
H A Ddpaa2_sparser.c166 addr = rte_malloc(NULL, sp_param.size, 64); in dpaa2_eth_load_wriop_soft_parser()
215 param_addr = rte_malloc(NULL, cfg.param_size, 64); in dpaa2_eth_enable_wriop_soft_parser()
/f-stack/dpdk/drivers/bus/fslmc/portal/
H A Ddpaa2_hw_dpci.c46 dpci_node = rte_malloc(NULL, sizeof(struct dpaa2_dpci_dev), 0); in rte_dpaa2_create_dpci_device()
85 rxq->q_storage = rte_malloc("dq_storage", in rte_dpaa2_create_dpci_device()
H A Ddpaa2_hw_dpbp.c46 dpbp_node = rte_malloc(NULL, sizeof(struct dpaa2_dpbp_dev), 0); in dpaa2_create_dpbp_device()
/f-stack/dpdk/app/test-regex/
H A Dmain.c139 *buf = rte_malloc(NULL, sizeof(char) * (buf_len + 1), 4096); in read_file()
279 ops = rte_malloc(NULL, sizeof(*ops) * nb_jobs, 0); in run_regex()
285 jobs_ctx = rte_malloc(NULL, sizeof(struct job_ctx)*nb_jobs, 0); in run_regex()
293 ops[i] = rte_malloc(NULL, sizeof(*ops[0]) + nb_max_matches * in run_regex()
/f-stack/dpdk/drivers/mempool/dpaa2/
H A Ddpaa2_hw_mempool.c52 rte_dpaa2_bpid_info = (struct dpaa2_bp_info *)rte_malloc(NULL, in rte_hw_mbuf_create_pool()
91 bp_info = rte_malloc(NULL, in rte_hw_mbuf_create_pool()
101 bp_list = rte_malloc(NULL, sizeof(struct dpaa2_bp_list), in rte_hw_mbuf_create_pool()
/f-stack/dpdk/drivers/common/dpaax/
H A Dcompat.h346 #define kmalloc(sz, t) rte_malloc(NULL, sz, 0)
347 #define vmalloc(sz) rte_malloc(NULL, sz, 0)
351 void *ptr = rte_malloc(NULL, sz, 0); in kzalloc()
/f-stack/freebsd/contrib/dpdk_rte_lpm/
H A Drte_shim.h4 #define rte_malloc(_type, _size, _align) malloc(_size, M_TEMP, M_NOWAIT) macro
/f-stack/dpdk/drivers/net/ark/
H A Dark_pktdir.c17 rte_malloc("ark_pkt_dir_inst", in ark_pktdir_init()
/f-stack/dpdk/drivers/event/dlb/pf/base/
H A Ddlb_osdep_bitmap.h56 bm = rte_malloc("DLB_PF", in dlb_bitmap_alloc()
65 mem = rte_malloc("DLB_PF_BITMAP", alloc_size, RTE_CACHE_LINE_SIZE); in dlb_bitmap_alloc()
/f-stack/dpdk/drivers/regex/octeontx2/
H A Dotx2_regexdev_compiler.c64 ruleset.rules = rte_malloc("rxp_rule_entry", in ree_rule_db_compile()
156 rule_db = rte_malloc("ree_rule_db", rule_db_len, 0); in otx2_ree_rule_db_compile_prog()
/f-stack/dpdk/drivers/event/dlb2/pf/base/
H A Ddlb2_osdep_bitmap.h53 bm = rte_malloc("DLB2_PF", in dlb2_bitmap_alloc()
62 mem = rte_malloc("DLB2_PF_BITMAP", alloc_size, RTE_CACHE_LINE_SIZE); in dlb2_bitmap_alloc()
/f-stack/dpdk/examples/qos_sched/
H A Dmain.c108 wt_confs[i]->m_table = rte_malloc("table_wt", sizeof(struct rte_mbuf *) in app_main_loop()
123 tx_confs[i]->m_table = rte_malloc("table_tx", sizeof(struct rte_mbuf *) in app_main_loop()
/f-stack/dpdk/drivers/event/dpaa2/
H A Ddpaa2_hw_dpcon.c43 dpcon_node = rte_malloc(NULL, sizeof(struct dpaa2_dpcon_dev), 0); in rte_dpaa2_create_dpcon_device()
/f-stack/dpdk/drivers/common/cpt/
H A Dcpt_fpm_tables.c1102 fpm_table = rte_malloc(NULL, len, 0); in cpt_fpm_init()
/f-stack/dpdk/lib/librte_eal/include/
H A Drte_malloc.h57 rte_malloc(const char *type, size_t size, unsigned align)
/f-stack/dpdk/drivers/raw/ifpga/base/osdep_rte/
H A Dosdep_generic.h33 #define opae_malloc(size) rte_malloc(NULL, size, 0)

123456