Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/tools/testing/selftests/bpf/progs/
Dtest_subprogs_unused.c18 int main_prog(void *ctx) in main_prog() function
Dskb_pkt_end.c29 int main_prog(struct __sk_buff *skb) in main_prog() function
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dtest_skb_pkt_end.c39 if (sanity_run(skb_pkt_end_skel->progs.main_prog)) in test_test_skb_pkt_end()
/linux-6.6.21/tools/lib/bpf/
Dlibbpf.c6122 struct bpf_program *main_prog, in reloc_prog_func_and_line_info() argument
6136 if (main_prog != prog && !main_prog->func_info) in reloc_prog_func_and_line_info()
6140 &main_prog->func_info, in reloc_prog_func_and_line_info()
6141 &main_prog->func_info_cnt, in reloc_prog_func_and_line_info()
6142 &main_prog->func_info_rec_size); in reloc_prog_func_and_line_info()
6149 if (main_prog->func_info) { in reloc_prog_func_and_line_info()
6164 if (main_prog != prog && !main_prog->line_info) in reloc_prog_func_and_line_info()
6168 &main_prog->line_info, in reloc_prog_func_and_line_info()
6169 &main_prog->line_info_cnt, in reloc_prog_func_and_line_info()
6170 &main_prog->line_info_rec_size); in reloc_prog_func_and_line_info()
[all …]
/linux-6.6.21/samples/bpf/
Dsockex3_kern.c294 int main_prog(struct __sk_buff *skb) in main_prog() function