Home
last modified time | relevance | path

Searched refs:bpf_test_load_program (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/
H A Dtesting_helpers.h16 int bpf_test_load_program(enum bpf_prog_type type, const struct bpf_insn *insns,
H A Dtest_cgroup_storage.c73 prog_fd = bpf_test_load_program(BPF_PROG_TYPE_CGROUP_SKB, in main()
H A Dtest_tag.c60 fd_prog = bpf_test_load_program(BPF_PROG_TYPE_SCHED_CLS, prog, insns, "", 0, in bpf_try_load_prog()
H A Dtesting_helpers.c295 int bpf_test_load_program(enum bpf_prog_type type, const struct bpf_insn *insns, in bpf_test_load_program() function
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dflow_dissector_load_bytes.c39 fd = bpf_test_load_program(BPF_PROG_TYPE_FLOW_DISSECTOR, prog, in serial_test_flow_dissector_load_bytes()
H A Dsignal_pending.c29 prog_fd = bpf_test_load_program(prog_type, prog, ARRAY_SIZE(prog), in test_signal_pending_by_type()
H A Dcgroup_attach_autodetach.c19 return bpf_test_load_program(BPF_PROG_TYPE_CGROUP_SKB, in prog_load()
H A Dcgroup_attach_override.c21 return bpf_test_load_program(BPF_PROG_TYPE_CGROUP_SKB, in prog_load()
H A Dcgroup_attach_multi.c69 ret = bpf_test_load_program(BPF_PROG_TYPE_CGROUP_SKB, in prog_load_cnt()
H A Dflow_dissector_reattach.c50 fd = bpf_test_load_program(type, prog, ARRAY_SIZE(prog), "GPL", 0, NULL, 0); in load_prog()