Searched refs:bpf_map__value_size (Results 1 – 8 of 8) sorted by relevance
23 return malloc(round_up(bpf_map__value_size(map), 8) * in bpf_map__alloc_value()26 return malloc(bpf_map__value_size(map)); in bpf_map__alloc_value()
42 if (!ASSERT_EQ(bpf_map__value_size(map), desired_sz, "resize")) in global_map_resize_bss_subtest()112 if (!ASSERT_EQ(bpf_map__value_size(map), desired_sz, "resize")) in global_map_resize_data_subtest()
23 sz = bpf_map__value_size(map); in test_global_data_init()
124 buff = malloc(bpf_map__value_size(map)); in test_global_data_rdonly()
193 bpf_map__value_size;
1032 LIBBPF_API __u32 bpf_map__value_size(const struct bpf_map *map);
10165 __u32 bpf_map__value_size(const struct bpf_map *map) in bpf_map__value_size() function
491 map_sz = (size_t)roundup(bpf_map__value_size(map), 8) * bpf_map__max_entries(map); in bpf_map_mmap_sz()