Home
last modified time | relevance | path

Searched refs:load_prog (Results 1 – 6 of 6) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dverifier_log.c36 static int load_prog(struct bpf_prog_load_opts *opts, bool expect_load_error) in load_prog() function
80 load_prog(&opts, expect_load_error); in verif_log_subtest()
182 res = load_prog(&opts, expect_load_error); in verif_log_subtest()
193 res = load_prog(&opts, expect_load_error); in verif_log_subtest()
202 res = load_prog(&opts, expect_load_error); in verif_log_subtest()
213 res = load_prog(&opts, expect_load_error); in verif_log_subtest()
222 res = load_prog(&opts, true /* should fail */); in verif_log_subtest()
230 res = load_prog(&opts, expect_load_error); in verif_log_subtest()
237 res = load_prog(&opts, true /* should fail */); in verif_log_subtest()
245 res = load_prog(&opts, expect_load_error); in verif_log_subtest()
H A Dtrampoline_count.c10 static struct bpf_program *load_prog(char *file, char *name, struct inst *inst) in load_prog() function
53 prog = load_prog(file, progs[i % ARRAY_SIZE(progs)], &inst[i]); in serial_test_trampoline_count()
65 prog = load_prog(file, "fmod_ret_test", &inst[i]); in serial_test_trampoline_count()
H A Dsyscall.c35 prog_fd = bpf_program__fd(skel->progs.load_prog); in test_syscall_load_prog()
H A Dflow_dissector_reattach.c42 static int load_prog(enum bpf_prog_type type) in load_prog() function
417 prog3 = load_prog(BPF_PROG_TYPE_SOCKET_FILTER); in test_link_update_invalid_prog()
611 progs[i] = load_prog(BPF_PROG_TYPE_FLOW_DISSECTOR); in run_tests()
H A Dsockopt.c964 static int load_prog(const struct bpf_insn *insns, in load_prog() function
1082 prog_fd = load_prog(test->insns, prog_type, test->expected_attach_type); in run_test()
/linux/tools/testing/selftests/bpf/progs/
H A Dsyscall.c99 int load_prog(struct args *ctx) in load_prog() function