Home
last modified time | relevance | path

Searched refs:allocated_size (Results 1 – 2 of 2) sorted by relevance

/dpdk/app/test/
H A Dtest_malloc.c699 size_t allocated_size; in test_random_alloc_free() local
710 if (rte_malloc_validate(entry, &allocated_size) == -1 in test_random_alloc_free()
711 || allocated_size < mem_size) in test_random_alloc_free()
743 size_t allocated_size; in test_rte_malloc_validate() local
760 if (rte_malloc_validate(data_ptr, &allocated_size) < 0) in test_rte_malloc_validate()
764 if (allocated_size < request_size) in test_rte_malloc_validate()
784 if (rte_malloc_validate(data_ptr, &allocated_size) < 0) in test_rte_malloc_validate()
788 over_write_vals = (char *)((uintptr_t)data_ptr + allocated_size); in test_rte_malloc_validate()
800 if (rte_malloc_validate(data_ptr, &allocated_size) < 0) in test_rte_malloc_validate()
/dpdk/drivers/net/hns3/
H A Dhns3_ethdev.c1234 uint16_t *allocated_size, bool is_alloc) in hns3_set_umv_space() argument
1252 if (is_alloc && allocated_size) in hns3_set_umv_space()
1253 *allocated_size = rte_le_to_cpu_32(desc.data[1]); in hns3_set_umv_space()
1263 uint16_t allocated_size = 0; in hns3_init_umv_space() local
1266 ret = hns3_set_umv_space(hw, pf->wanted_umv_size, &allocated_size, in hns3_init_umv_space()
1271 if (allocated_size < pf->wanted_umv_size) in hns3_init_umv_space()
1273 pf->wanted_umv_size, allocated_size); in hns3_init_umv_space()
1275 pf->max_umv_size = (!!allocated_size) ? allocated_size : in hns3_init_umv_space()