Home
last modified time | relevance | path

Searched refs:bpf_map__value_size (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/tools/perf/util/
Dbpf_map.c23 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()
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dglobal_map_resize.c42 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()
Dglobal_data_init.c23 sz = bpf_map__value_size(map); in test_global_data_init()
Dglobal_data.c124 buff = malloc(bpf_map__value_size(map)); in test_global_data_rdonly()
/linux-6.12.1/tools/lib/bpf/
Dlibbpf.map193 bpf_map__value_size;
Dlibbpf.h1032 LIBBPF_API __u32 bpf_map__value_size(const struct bpf_map *map);
Dlibbpf.c10165 __u32 bpf_map__value_size(const struct bpf_map *map) in bpf_map__value_size() function
/linux-6.12.1/tools/bpf/bpftool/
Dgen.c491 map_sz = (size_t)roundup(bpf_map__value_size(map), 8) * bpf_map__max_entries(map); in bpf_map_mmap_sz()