Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/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.1.9/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.1.9/tools/lib/bpf/
Dlibbpf.c5969 struct bpf_program *main_prog, in reloc_prog_func_and_line_info() argument
5983 if (main_prog != prog && !main_prog->func_info) in reloc_prog_func_and_line_info()
5987 &main_prog->func_info, in reloc_prog_func_and_line_info()
5988 &main_prog->func_info_cnt, in reloc_prog_func_and_line_info()
5989 &main_prog->func_info_rec_size); in reloc_prog_func_and_line_info()
5996 if (main_prog->func_info) { in reloc_prog_func_and_line_info()
6011 if (main_prog != prog && !main_prog->line_info) in reloc_prog_func_and_line_info()
6015 &main_prog->line_info, in reloc_prog_func_and_line_info()
6016 &main_prog->line_info_cnt, in reloc_prog_func_and_line_info()
6017 &main_prog->line_info_rec_size); in reloc_prog_func_and_line_info()
[all …]
/linux-6.1.9/samples/bpf/
Dsockex3_kern.c283 int main_prog(struct __sk_buff *skb) in main_prog() function