Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/prog_tests/
A Dtailcalls.c19 struct bpf_map *prog_array; in test_tailcall_1() local
44 if (CHECK_FAIL(!prog_array)) in test_tailcall_1()
47 map_fd = bpf_map__fd(prog_array); in test_tailcall_1()
155 struct bpf_map *prog_array; in test_tailcall_2() local
180 if (CHECK_FAIL(!prog_array)) in test_tailcall_2()
257 if (CHECK_FAIL(!prog_array)) in test_tailcall_count()
441 if (CHECK_FAIL(!prog_array)) in test_tailcall_4()
531 if (CHECK_FAIL(!prog_array)) in test_tailcall_5()
595 struct bpf_map *prog_array; in test_tailcall_bpf2bpf_1() local
619 if (CHECK_FAIL(!prog_array)) in test_tailcall_bpf2bpf_1()
[all …]
A Dunpriv_bpf_disabled.c102 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()
A Dflow_dissector_classification.c502 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()
A Dflow_dissector.c625 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()
/tools/testing/selftests/bpf/
A Dflow_dissector_load.h18 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()
/tools/testing/selftests/bpf/progs/
A Dstruct_ops_refcounted_fail__tail_call.c15 } prog_array SEC(".maps");
27 bpf_tail_call(ctx, &prog_array, 0); in refcounted_fail__tail_call()
A Dtest_unpriv_bpf_disabled.c59 } prog_array SEC(".maps");
A Dmap_ptr_kern.c181 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()
/tools/bpf/bpftool/Documentation/
A Dbpftool-map.rst52 | *TYPE* := { **hash** | **array** | **prog_array** | **perf_event_array** | **percpu_hash**
252 294: prog_array name jmp_table flags 0x0
/tools/bpf/bpftool/bash-completion/
A Dbpftool200 prog_array)
246 prog_array)
808 prog_array)

Completed in 22 milliseconds