Searched refs:prog_array (Results  1 – 13 of 13) sorted by relevance
| /linux/tools/testing/selftests/bpf/prog_tests/ | 
| H A D | tailcalls.c | 19 	struct bpf_map *prog_array;  in test_tailcall_1()  local 43 	prog_array = bpf_object__find_map_by_name(obj, "jmp_table");  in test_tailcall_1() 44 	if (CHECK_FAIL(!prog_array))  in test_tailcall_1() 47 	map_fd = bpf_map__fd(prog_array);  in test_tailcall_1() 51 	for (i = 0; i < bpf_map__max_entries(prog_array); i++) {  in test_tailcall_1() 67 	for (i = 0; i < bpf_map__max_entries(prog_array); i++) {  in test_tailcall_1() 81 	for (i = 0; i < bpf_map__max_entries(prog_array); i++) {  in test_tailcall_1() 101 	for (i = 0; i < bpf_map__max_entries(prog_array); i++) {  in test_tailcall_1() 102 		j = bpf_map__max_entries(prog_array) - 1 - i;  in test_tailcall_1() 118 	for (i = 0; i < bpf_map__max_entries(prog_array); i++) {  in test_tailcall_1() [all …] 
 | 
| H A D | unpriv_bpf_disabled.c | 102 		bool prog_array = strstr(map_paths[i], "prog_array") != NULL;  in test_unpriv_bpf_disabled_positive()  local 116 		if (prog_array) {  in test_unpriv_bpf_disabled_positive() 253 	map_fds[6] = bpf_map__fd(skel->maps.prog_array);  in test_unpriv_bpf_disabled()
  | 
| H A D | flow_dissector_classification.c | 502 	struct bpf_map *prog_array = skel->maps.jmp_table;  in attach_and_configure_program()  local 515 	map_fd = bpf_map__fd(prog_array);  in attach_and_configure_program() 519 	for (i = 0; i < bpf_map__max_entries(prog_array); i++) {  in attach_and_configure_program()
  | 
| H A D | flow_dissector.c | 625 static int init_prog_array(struct bpf_object *obj, struct bpf_map *prog_array)  in init_prog_array()  argument 631 	map_fd = bpf_map__fd(prog_array);  in init_prog_array() 635 	for (i = 0; i < bpf_map__max_entries(prog_array); i++) {  in init_prog_array()
  | 
| /linux/tools/testing/selftests/bpf/ | 
| H A 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/tools/testing/selftests/bpf/progs/ | 
| H A D | test_unpriv_bpf_disabled.c | 59 } prog_array SEC(".maps");
  | 
| H A 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/kernel/bpf/ | 
| H A D | net_namespace.c | 90 			    struct bpf_prog_array *prog_array)  in fill_prog_array()  argument 96 		prog_array->items[i].prog = pos->link.prog;  in fill_prog_array()
  | 
| /linux/tools/bpf/bpftool/Documentation/ | 
| H A D | bpftool-map.rst | 52 | *TYPE* := { **hash** | **array** | **prog_array** | **perf_event_array** | **percpu_hash** 252   294: prog_array  name jmp_table  flags 0x0
  | 
| /linux/include/linux/ | 
| H A D | trace_events.h | 389 	struct bpf_prog_array __rcu	*prog_array;  member 452 	return !!READ_ONCE(call->prog_array);  in bpf_prog_array_valid()
  | 
| /linux/kernel/trace/ | 
| H A D | bpf_trace.c | 123 		bpf_prog_inc_misses_counters(rcu_dereference(call->prog_array));  in trace_call_bpf() 145 	ret = bpf_prog_run_array(rcu_dereference(call->prog_array),  in trace_call_bpf() 1928 	old_array = bpf_event_rcu_dereference(event->tp_event->prog_array);  in perf_event_attach_bpf_prog() 1942 	rcu_assign_pointer(event->tp_event->prog_array, new_array);  in perf_event_attach_bpf_prog() 1962 	old_array = bpf_event_rcu_dereference(event->tp_event->prog_array);  in perf_event_detach_bpf_prog() 1970 		rcu_assign_pointer(event->tp_event->prog_array, new_array);  in perf_event_detach_bpf_prog() 2022 	progs = bpf_event_rcu_dereference(event->tp_event->prog_array);  in perf_event_query_prog_array()
  | 
| H A D | trace_uprobe.c | 1422 		array = rcu_dereference_check(call->prog_array, rcu_read_lock_trace_held());  in __uprobe_perf_func()
  | 
| /linux/tools/bpf/bpftool/bash-completion/ | 
| H A D | bpftool | 200         prog_array) 246         prog_array) 816                                 prog_array)
  |