Home
last modified time | relevance | path

Searched refs:BPF_PROG_TYPE_UNSPEC (Results 1 – 16 of 16) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dfexit_bpf2bpf.c76 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 Dlibbpf_probes.c31 if (prog_type == BPF_PROG_TYPE_UNSPEC) in test_libbpf_probe_prog_types()
/openbmc/linux/tools/bpf/bpftool/
H A Dfeature.c505 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 Dprog.c1511 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 Dmap_iter.c229 return register_btf_kfunc_id_set(BPF_PROG_TYPE_UNSPEC, &bpf_map_iter_kfunc_set); in init_subsystem()
H A Dmprog.c347 BPF_PROG_TYPE_UNSPEC); in bpf_mprog_detach()
H A Dsyscall.c3820 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 Dhelpers.c2619 return ret ?: register_btf_kfunc_id_set(BPF_PROG_TYPE_UNSPEC, &common_kfunc_set); in kfunc_init()
H A Dbtf.c7821 case BPF_PROG_TYPE_UNSPEC: in bpf_prog_type_to_kfunc_hook()
/openbmc/linux/tools/lib/bpf/
H A Dlibbpf_probes.c161 case BPF_PROG_TYPE_UNSPEC: in probe_prog_load()
H A Dlibbpf.c180 [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 Dtesting_helpers.c276 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 Dbpf_testmod.c532 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 Dfilter.h806 return prog->type == BPF_PROG_TYPE_UNSPEC; in bpf_prog_was_classic()
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf.h975 BPF_PROG_TYPE_UNSPEC, enumerator
/openbmc/linux/include/uapi/linux/
H A Dbpf.h975 BPF_PROG_TYPE_UNSPEC, enumerator