Searched refs:bpf_map__resize (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.15/tools/perf/util/ |
D | bpf_counter_cgroup.c | 68 bpf_map__resize(skel->maps.events, map_size); in bperf_load_program() 69 bpf_map__resize(skel->maps.cgrp_idx, nr_cgroups); in bperf_load_program() 72 bpf_map__resize(skel->maps.prev_readings, map_size); in bperf_load_program() 75 bpf_map__resize(skel->maps.cgrp_readings, map_size); in bperf_load_program()
|
D | bpf_counter.c | 130 bpf_map__resize(skel->maps.events, evsel__nr_cpus(evsel)); in bpf_program_profiler_load_one() 131 bpf_map__resize(skel->maps.fentry_readings, 1); in bpf_program_profiler_load_one() 132 bpf_map__resize(skel->maps.accum_readings, 1); in bpf_program_profiler_load_one() 402 bpf_map__resize(skel->maps.events, libbpf_num_possible_cpus()); in bperf_reload_leader_program()
|
/Linux-v5.15/tools/lib/bpf/ |
D | libbpf.map | 133 bpf_map__resize;
|
D | libbpf.h | 522 LIBBPF_API int bpf_map__resize(struct bpf_map *map, __u32 max_entries);
|
D | libbpf.c | 4013 int bpf_map__resize(struct bpf_map *map, __u32 max_entries) in bpf_map__resize() function
|
/Linux-v5.15/tools/bpf/bpftool/ |
D | prog.c | 2166 bpf_map__resize(profile_obj->maps.events, num_metric * num_cpu); in do_profile() 2167 bpf_map__resize(profile_obj->maps.fentry_readings, num_metric); in do_profile() 2168 bpf_map__resize(profile_obj->maps.accum_readings, num_metric); in do_profile() 2169 bpf_map__resize(profile_obj->maps.counts, 1); in do_profile()
|
/Linux-v5.15/samples/bpf/ |
D | map_perf_test_user.c | 413 bpf_map__resize(map, num_map_entries); in fixup_map()
|
D | xdp_sample_user.c | 1218 if (bpf_map__resize(sample_map[i], sample_map_count[i]) < 0) in sample_setup_maps()
|
/Linux-v5.15/tools/testing/selftests/bpf/benchs/ |
D | bench_ringbufs.c | 154 bpf_map__resize(skel->maps.ringbuf, args.ringbuf_sz); in ringbuf_setup_skeleton()
|