Lines Matching refs:prog
13 struct bpf_program *prog; in load_prog() local
26 prog = bpf_object__find_program_by_name(obj, name); in load_prog()
27 if (!ASSERT_OK_PTR(prog, "obj_find_prog")) in load_prog()
30 return prog; in load_prog()
39 struct bpf_program *prog; in serial_test_trampoline_count() local
53 prog = load_prog(file, progs[i % ARRAY_SIZE(progs)], &inst[i]); in serial_test_trampoline_count()
54 if (!prog) in serial_test_trampoline_count()
57 link = bpf_program__attach(prog); in serial_test_trampoline_count()
65 prog = load_prog(file, "fmod_ret_test", &inst[i]); in serial_test_trampoline_count()
66 if (!prog) in serial_test_trampoline_count()
70 link = bpf_program__attach(prog); in serial_test_trampoline_count()
83 prog_fd = bpf_program__fd(prog); in serial_test_trampoline_count()