Home
last modified time | relevance | path

Searched refs:bpf_map__resize (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.15/tools/perf/util/
Dbpf_counter_cgroup.c68 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()
Dbpf_counter.c130 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/
Dlibbpf.map133 bpf_map__resize;
Dlibbpf.h522 LIBBPF_API int bpf_map__resize(struct bpf_map *map, __u32 max_entries);
Dlibbpf.c4013 int bpf_map__resize(struct bpf_map *map, __u32 max_entries) in bpf_map__resize() function
/Linux-v5.15/tools/bpf/bpftool/
Dprog.c2166 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/
Dmap_perf_test_user.c413 bpf_map__resize(map, num_map_entries); in fixup_map()
Dxdp_sample_user.c1218 if (bpf_map__resize(sample_map[i], sample_map_count[i]) < 0) in sample_setup_maps()
/Linux-v5.15/tools/testing/selftests/bpf/benchs/
Dbench_ringbufs.c154 bpf_map__resize(skel->maps.ringbuf, args.ringbuf_sz); in ringbuf_setup_skeleton()