Home
last modified time | relevance | path

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

/f-stack/dpdk/app/test/
H A Dtest_malloc.c688 size_t allocated_size; in test_random_alloc_free() local
699 if (rte_malloc_validate(entry, &allocated_size) == -1 in test_random_alloc_free()
700 || allocated_size < mem_size) in test_random_alloc_free()
732 size_t allocated_size; in test_rte_malloc_validate() local
749 if (rte_malloc_validate(data_ptr, &allocated_size) < 0) in test_rte_malloc_validate()
753 if (allocated_size < request_size) in test_rte_malloc_validate()
773 if (rte_malloc_validate(data_ptr, &allocated_size) < 0) in test_rte_malloc_validate()
777 over_write_vals = (char *)((uintptr_t)data_ptr + allocated_size); in test_rte_malloc_validate()
789 if (rte_malloc_validate(data_ptr, &allocated_size) < 0) in test_rte_malloc_validate()
/f-stack/dpdk/drivers/net/hns3/
H A Dhns3_ethdev.c1160 uint16_t *allocated_size, bool is_alloc) in hns3_set_umv_space() argument
1178 if (is_alloc && allocated_size) in hns3_set_umv_space()
1179 *allocated_size = rte_le_to_cpu_32(desc.data[1]); in hns3_set_umv_space()
1189 uint16_t allocated_size = 0; in hns3_init_umv_space() local
1192 ret = hns3_set_umv_space(hw, pf->wanted_umv_size, &allocated_size, in hns3_init_umv_space()
1197 if (allocated_size < pf->wanted_umv_size) in hns3_init_umv_space()
1199 pf->wanted_umv_size, allocated_size); in hns3_init_umv_space()
1201 pf->max_umv_size = (!!allocated_size) ? allocated_size : in hns3_init_umv_space()