Searched refs:prog_array (Results 1 – 12 of 12) sorted by relevance
/linux-6.6.21/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() 252 map_fds[6] = bpf_map__fd(skel->maps.prog_array); in test_unpriv_bpf_disabled()
|
D | flow_dissector.c | 509 static int init_prog_array(struct bpf_object *obj, struct bpf_map *prog_array) in init_prog_array() argument 515 map_fd = bpf_map__fd(prog_array); in init_prog_array() 519 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in init_prog_array()
|
/linux-6.6.21/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.6.21/tools/testing/selftests/bpf/progs/ |
D | test_unpriv_bpf_disabled.c | 59 } prog_array SEC(".maps");
|
D | map_ptr_kern.c | 181 struct bpf_array *prog_array = (struct bpf_array *)&m_prog_array; in check_prog_array() local 184 VERIFY(check_default(&prog_array->map, map)); in check_prog_array()
|
/linux-6.6.21/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.6.21/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.6.21/include/linux/ |
D | trace_events.h | 395 struct bpf_prog_array __rcu *prog_array; member 458 return !!READ_ONCE(call->prog_array); in bpf_prog_array_valid()
|
/linux-6.6.21/kernel/trace/ |
D | bpf_trace.c | 143 ret = bpf_prog_run_array(rcu_dereference(call->prog_array), in trace_call_bpf() 2183 old_array = bpf_event_rcu_dereference(event->tp_event->prog_array); in perf_event_attach_bpf_prog() 2197 rcu_assign_pointer(event->tp_event->prog_array, new_array); in perf_event_attach_bpf_prog() 2216 old_array = bpf_event_rcu_dereference(event->tp_event->prog_array); in perf_event_detach_bpf_prog() 2223 rcu_assign_pointer(event->tp_event->prog_array, new_array); in perf_event_detach_bpf_prog() 2263 progs = bpf_event_rcu_dereference(event->tp_event->prog_array); in perf_event_query_prog_array()
|
D | trace_uprobe.c | 1351 ret = bpf_prog_run_array_uprobe(call->prog_array, regs, bpf_prog_run); in __uprobe_perf_func()
|
/linux-6.6.21/tools/bpf/bpftool/bash-completion/ |
D | bpftool | 200 prog_array) 246 prog_array) 801 prog_array)
|