Home
last modified time | relevance | path

Searched refs:main_prog (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/tools/testing/selftests/bpf/
Dflow_dissector_load.h17 struct bpf_program *prog, *main_prog; in bpf_flow_load() local
27 main_prog = bpf_object__find_program_by_name(*obj, prog_name); in bpf_flow_load()
28 if (!main_prog) in bpf_flow_load()
31 *prog_fd = bpf_program__fd(main_prog); in bpf_flow_load()
Dxdping.c94 struct bpf_program *main_prog; in main() local
178 main_prog = bpf_object__find_program_by_name(obj, in main()
180 if (main_prog) in main()
181 prog_fd = bpf_program__fd(main_prog); in main()
182 if (!main_prog || prog_fd < 0) { in main()
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dtest_subprogs_unused.c18 int main_prog(void *ctx) in main_prog() function
Dskb_pkt_end.c31 int main_prog(struct __sk_buff *skb) in main_prog() function
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dtest_skb_pkt_end.c40 if (sanity_run(skb_pkt_end_skel->progs.main_prog)) in test_test_skb_pkt_end()
/linux-6.12.1/tools/lib/bpf/
Dlibbpf.c6196 struct bpf_program *main_prog, in reloc_prog_func_and_line_info() argument
6210 if (main_prog != prog && !main_prog->func_info) in reloc_prog_func_and_line_info()
6214 &main_prog->func_info, in reloc_prog_func_and_line_info()
6215 &main_prog->func_info_cnt, in reloc_prog_func_and_line_info()
6216 &main_prog->func_info_rec_size); in reloc_prog_func_and_line_info()
6223 if (main_prog->func_info) { in reloc_prog_func_and_line_info()
6238 if (main_prog != prog && !main_prog->line_info) in reloc_prog_func_and_line_info()
6242 &main_prog->line_info, in reloc_prog_func_and_line_info()
6243 &main_prog->line_info_cnt, in reloc_prog_func_and_line_info()
6244 &main_prog->line_info_rec_size); in reloc_prog_func_and_line_info()
[all …]
/linux-6.12.1/samples/bpf/
Dsockex3_kern.c294 int main_prog(struct __sk_buff *skb) in main_prog() function