Searched refs:BPF_PROG_TYPE_UNSPEC (Results 1 – 16 of 16) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | fexit_bpf2bpf.c | 76 err = bpf_prog_test_load(target_obj_file, BPF_PROG_TYPE_UNSPEC, in test_fexit_bpf2bpf_common() 247 err = bpf_prog_test_load(tgt_obj_file, BPF_PROG_TYPE_UNSPEC, in test_second_attach() 295 err = bpf_prog_test_load(tgt_name, BPF_PROG_TYPE_UNSPEC, in test_fmod_ret_freplace() 362 err = bpf_prog_test_load(target_obj_file, BPF_PROG_TYPE_UNSPEC, in test_obj_load_failure_common()
|
H A D | libbpf_probes.c | 31 if (prog_type == BPF_PROG_TYPE_UNSPEC) in test_libbpf_probe_prog_types()
|
/openbmc/linux/tools/bpf/bpftool/ |
H A D | feature.c | 505 bpf_prog_load(BPF_PROG_TYPE_UNSPEC, NULL, NULL, NULL, 0, NULL); in probe_bpf_syscall() 938 unsigned int prog_type = BPF_PROG_TYPE_UNSPEC; in section_program_types() 986 unsigned int prog_type = BPF_PROG_TYPE_UNSPEC; in section_helpers()
|
H A D | prog.c | 1511 enum bpf_prog_type common_prog_type = BPF_PROG_TYPE_UNSPEC; in load_with_options() 1540 if (common_prog_type != BPF_PROG_TYPE_UNSPEC) { in load_with_options() 1695 if (prog_type == BPF_PROG_TYPE_UNSPEC) { in load_with_options()
|
/openbmc/linux/kernel/bpf/ |
H A D | map_iter.c | 229 return register_btf_kfunc_id_set(BPF_PROG_TYPE_UNSPEC, &bpf_map_iter_kfunc_set); in init_subsystem()
|
H A D | mprog.c | 347 BPF_PROG_TYPE_UNSPEC); in bpf_mprog_detach()
|
H A D | syscall.c | 3820 return BPF_PROG_TYPE_UNSPEC; in attach_type_to_prog_type() 3879 if (ptype == BPF_PROG_TYPE_UNSPEC || ptype != prog->type) in bpf_prog_attach_check_attach_type() 3909 if (ptype == BPF_PROG_TYPE_UNSPEC) in bpf_prog_attach() 3981 if (ptype == BPF_PROG_TYPE_UNSPEC) in bpf_prog_detach()
|
H A D | helpers.c | 2619 return ret ?: register_btf_kfunc_id_set(BPF_PROG_TYPE_UNSPEC, &common_kfunc_set); in kfunc_init()
|
H A D | btf.c | 7821 case BPF_PROG_TYPE_UNSPEC: in bpf_prog_type_to_kfunc_hook()
|
/openbmc/linux/tools/lib/bpf/ |
H A D | libbpf_probes.c | 161 case BPF_PROG_TYPE_UNSPEC: in probe_prog_load()
|
H A D | libbpf.c | 180 [BPF_PROG_TYPE_UNSPEC] = "unspec", 767 prog->type = BPF_PROG_TYPE_UNSPEC; in bpf_object__init_prog() 6898 if (prog->type == BPF_PROG_TYPE_UNSPEC) { in bpf_object_load_prog()
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | testing_helpers.c | 276 if (type != BPF_PROG_TYPE_UNSPEC && bpf_program__type(prog) != type) in bpf_prog_test_load()
|
/openbmc/linux/tools/testing/selftests/bpf/bpf_testmod/ |
H A D | bpf_testmod.c | 532 ret = register_btf_kfunc_id_set(BPF_PROG_TYPE_UNSPEC, &bpf_testmod_common_kfunc_set); in bpf_testmod_init()
|
/openbmc/linux/include/linux/ |
H A D | filter.h | 806 return prog->type == BPF_PROG_TYPE_UNSPEC; in bpf_prog_was_classic()
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 975 BPF_PROG_TYPE_UNSPEC, enumerator
|
/openbmc/linux/include/uapi/linux/ |
H A D | bpf.h | 975 BPF_PROG_TYPE_UNSPEC, enumerator
|