Home
last modified time | relevance | path

Searched refs:prog_array (Results 1 – 7 of 7) sorted by relevance

/tools/testing/selftests/bpf/prog_tests/
Dtailcalls.c12 struct bpf_map *prog_array; in test_tailcall_1() local
32 prog_array = bpf_object__find_map_by_name(obj, "jmp_table"); in test_tailcall_1()
33 if (CHECK_FAIL(!prog_array)) in test_tailcall_1()
36 map_fd = bpf_map__fd(prog_array); in test_tailcall_1()
40 for (i = 0; i < bpf_map__def(prog_array)->max_entries; i++) { in test_tailcall_1()
56 for (i = 0; i < bpf_map__def(prog_array)->max_entries; i++) { in test_tailcall_1()
72 for (i = 0; i < bpf_map__def(prog_array)->max_entries; i++) { in test_tailcall_1()
93 for (i = 0; i < bpf_map__def(prog_array)->max_entries; i++) { in test_tailcall_1()
94 j = bpf_map__def(prog_array)->max_entries - 1 - i; in test_tailcall_1()
110 for (i = 0; i < bpf_map__def(prog_array)->max_entries; i++) { in test_tailcall_1()
[all …]
Dflow_dissector.c450 static int init_prog_array(struct bpf_object *obj, struct bpf_map *prog_array) in init_prog_array() argument
456 map_fd = bpf_map__fd(prog_array); in init_prog_array()
460 for (i = 0; i < bpf_map__def(prog_array)->max_entries; i++) { in init_prog_array()
/tools/testing/selftests/bpf/
Dflow_dissector_load.h17 struct bpf_map *prog_array, *keys; in bpf_flow_load() local
40 prog_array = bpf_object__find_map_by_name(*obj, map_name); in bpf_flow_load()
41 if (!prog_array) in bpf_flow_load()
44 prog_array_fd = bpf_map__fd(prog_array); in bpf_flow_load()
/tools/bpf/bpftool/bash-completion/
Dbpftool200 prog_array)
246 prog_array)
701 COMPREPLY=( $( compgen -W 'hash array prog_array \
803 prog_array)
/tools/testing/selftests/bpf/progs/
Dmap_ptr_kern.c182 struct bpf_array *prog_array = (struct bpf_array *)&m_prog_array; in check_prog_array() local
185 VERIFY(check_default(&prog_array->map, map)); in check_prog_array()
/tools/bpf/bpftool/Documentation/
Dbpftool-map.rst48 | *TYPE* := { **hash** | **array** | **prog_array** | **perf_event_array** | **percpu_hash**
253 294: prog_array name jmp_table flags 0x0
/tools/perf/
Dbuiltin-trace.c128 } prog_array; member
3229 trace->syscalls.prog_array.sys_enter = trace__find_bpf_map_by_name(trace, "syscalls_sys_enter");
3230 trace->syscalls.prog_array.sys_exit = trace__find_bpf_map_by_name(trace, "syscalls_sys_exit");
3461 int map_enter_fd = bpf_map__fd(trace->syscalls.prog_array.sys_enter),
3462 map_exit_fd = bpf_map__fd(trace->syscalls.prog_array.sys_exit);
4007 if (trace->syscalls.prog_array.sys_enter)