Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/
A Dflow_dissector_load.h16 struct bpf_program *prog, *main_prog; in bpf_flow_load() local
26 main_prog = bpf_object__find_program_by_name(*obj, prog_name); in bpf_flow_load()
27 if (!main_prog) in bpf_flow_load()
30 *prog_fd = bpf_program__fd(main_prog); in bpf_flow_load()
A Dxdping.c95 struct bpf_program *main_prog; in main() local
181 main_prog = bpf_object__find_program_by_name(obj, in main()
183 if (main_prog) in main()
184 prog_fd = bpf_program__fd(main_prog); in main()
185 if (!main_prog || prog_fd < 0) { in main()
/linux/tools/testing/selftests/bpf/progs/
A Dtest_subprogs_unused.c18 int main_prog(void *ctx) in main_prog() function
A Dskb_pkt_end.c29 int main_prog(struct __sk_buff *skb) in main_prog() function
/linux/tools/testing/selftests/bpf/prog_tests/
A Dtest_skb_pkt_end.c36 if (sanity_run(skb_pkt_end_skel->progs.main_prog)) in test_test_skb_pkt_end()
/linux/tools/lib/bpf/
A Dlibbpf.c5733 if (main_prog != prog && !main_prog->func_info) in reloc_prog_func_and_line_info()
5737 &main_prog->func_info, in reloc_prog_func_and_line_info()
5746 if (main_prog->func_info) { in reloc_prog_func_and_line_info()
5761 if (main_prog != prog && !main_prog->line_info) in reloc_prog_func_and_line_info()
5765 &main_prog->line_info, in reloc_prog_func_and_line_info()
5774 if (main_prog->line_info) { in reloc_prog_func_and_line_info()
5811 if (main_prog == subprog) in append_subprog_relos()
5824 main_prog->reloc_desc = relos; in append_subprog_relos()
5825 main_prog->nr_reloc = new_cnt; in append_subprog_relos()
5919 main_prog->insns = insns; in bpf_object__reloc_code()
[all …]
/linux/samples/bpf/
A Dsockex3_kern.c283 int main_prog(struct __sk_buff *skb) in main_prog() function

Completed in 27 milliseconds