Searched refs:main_prog (Results 1 – 7 of 7) sorted by relevance
17 struct bpf_program *prog, *main_prog; in bpf_flow_load() local27 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()
94 struct bpf_program *main_prog; in main() local178 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()
18 int main_prog(void *ctx) in main_prog() function
31 int main_prog(struct __sk_buff *skb) in main_prog() function
40 if (sanity_run(skb_pkt_end_skel->progs.main_prog)) in test_test_skb_pkt_end()
6196 struct bpf_program *main_prog, in reloc_prog_func_and_line_info() argument6210 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 …]
294 int main_prog(struct __sk_buff *skb) in main_prog() function