Searched refs:prog_array (Results 1 – 13 of 13) sorted by relevance
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/ |
D | tailcalls.c | 12 struct bpf_map *prog_array; in test_tailcall_1() local 36 prog_array = bpf_object__find_map_by_name(obj, "jmp_table"); in test_tailcall_1() 37 if (CHECK_FAIL(!prog_array)) in test_tailcall_1() 40 map_fd = bpf_map__fd(prog_array); in test_tailcall_1() 44 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_1() 60 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_1() 74 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_1() 94 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_1() 95 j = bpf_map__max_entries(prog_array) - 1 - i; in test_tailcall_1() 111 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_1() [all …]
|
D | unpriv_bpf_disabled.c | 101 bool prog_array = strstr(map_paths[i], "prog_array") != NULL; in test_unpriv_bpf_disabled_positive() local 115 if (prog_array) { in test_unpriv_bpf_disabled_positive() 248 map_fds[6] = bpf_map__fd(skel->maps.prog_array); in test_unpriv_bpf_disabled()
|
D | flow_dissector.c | 485 static int init_prog_array(struct bpf_object *obj, struct bpf_map *prog_array) in init_prog_array() argument 491 map_fd = bpf_map__fd(prog_array); in init_prog_array() 495 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in init_prog_array()
|
/linux-6.1.9/tools/testing/selftests/bpf/ |
D | flow_dissector_load.h | 18 struct bpf_map *prog_array, *keys; in bpf_flow_load() local 35 prog_array = bpf_object__find_map_by_name(*obj, map_name); in bpf_flow_load() 36 if (!prog_array) in bpf_flow_load() 39 prog_array_fd = bpf_map__fd(prog_array); in bpf_flow_load()
|
/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | test_unpriv_bpf_disabled.c | 59 } prog_array SEC(".maps");
|
D | map_ptr_kern.c | 176 struct bpf_array *prog_array = (struct bpf_array *)&m_prog_array; in check_prog_array() local 179 VERIFY(check_default(&prog_array->map, map)); in check_prog_array()
|
/linux-6.1.9/kernel/bpf/ |
D | net_namespace.c | 91 struct bpf_prog_array *prog_array) in fill_prog_array() argument 97 prog_array->items[i].prog = pos->link.prog; in fill_prog_array()
|
/linux-6.1.9/kernel/trace/ |
D | bpf_trace.c | 135 ret = bpf_prog_run_array(rcu_dereference(call->prog_array), in trace_call_bpf() 2128 old_array = bpf_event_rcu_dereference(event->tp_event->prog_array); in perf_event_attach_bpf_prog() 2142 rcu_assign_pointer(event->tp_event->prog_array, new_array); in perf_event_attach_bpf_prog() 2161 old_array = bpf_event_rcu_dereference(event->tp_event->prog_array); in perf_event_detach_bpf_prog() 2168 rcu_assign_pointer(event->tp_event->prog_array, new_array); in perf_event_detach_bpf_prog() 2208 progs = bpf_event_rcu_dereference(event->tp_event->prog_array); in perf_event_query_prog_array()
|
D | trace_uprobe.c | 1354 ret = bpf_prog_run_array_sleepable(call->prog_array, regs, bpf_prog_run); in __uprobe_perf_func()
|
/linux-6.1.9/tools/bpf/bpftool/Documentation/ |
D | bpftool-map.rst | 52 | *TYPE* := { **hash** | **array** | **prog_array** | **perf_event_array** | **percpu_hash** 258 294: prog_array name jmp_table flags 0x0
|
/linux-6.1.9/include/linux/ |
D | trace_events.h | 380 struct bpf_prog_array __rcu *prog_array; member 443 return !!READ_ONCE(call->prog_array); in bpf_prog_array_valid()
|
/linux-6.1.9/tools/bpf/bpftool/bash-completion/ |
D | bpftool | 200 prog_array) 246 prog_array) 802 prog_array)
|
/linux-6.1.9/tools/perf/ |
D | builtin-trace.c | 131 } prog_array; member 3262 trace->syscalls.prog_array.sys_enter = trace__find_bpf_map_by_name(trace, "syscalls_sys_enter"); 3263 trace->syscalls.prog_array.sys_exit = trace__find_bpf_map_by_name(trace, "syscalls_sys_exit"); 3505 int map_enter_fd = bpf_map__fd(trace->syscalls.prog_array.sys_enter), 3506 map_exit_fd = bpf_map__fd(trace->syscalls.prog_array.sys_exit); 4050 if (trace->syscalls.prog_array.sys_enter)
|