Searched refs:prog_array (Results 1 – 7 of 7) sorted by relevance
12 struct bpf_map *prog_array; in test_tailcall_1() local32 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 …]
450 static int init_prog_array(struct bpf_object *obj, struct bpf_map *prog_array) in init_prog_array() argument456 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()
17 struct bpf_map *prog_array, *keys; in bpf_flow_load() local40 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()
200 prog_array)246 prog_array)701 COMPREPLY=( $( compgen -W 'hash array prog_array \803 prog_array)
182 struct bpf_array *prog_array = (struct bpf_array *)&m_prog_array; in check_prog_array() local185 VERIFY(check_default(&prog_array->map, map)); in check_prog_array()
48 | *TYPE* := { **hash** | **array** | **prog_array** | **perf_event_array** | **percpu_hash**253 294: prog_array name jmp_table flags 0x0
128 } prog_array; member3229 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)