Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/kernel/bpf/
Dbpf_lsm.c45 if (!btf_id_set_contains(&bpf_lsm_hooks, prog->aux->attach_btf_id)) { in BTF_SET_END()
47 prog->aux->attach_btf_id, prog->aux->attach_func_name); in BTF_SET_END()
Dbpf_iter.c312 tinfo->btf_id = prog->aux->attach_btf_id; in cache_btf_id()
318 u32 prog_btf_id = prog->aux->attach_btf_id; in bpf_iter_prog_supported()
380 link->prog->aux->attach_btf_id != new_prog->aux->attach_btf_id) { in bpf_iter_link_replace()
493 prog_btf_id = prog->aux->attach_btf_id; in bpf_iter_link_attach()
Dbpf_struct_ops.c426 prog->aux->attach_btf_id != st_ops->type_id || in bpf_struct_ops_map_update_elem()
Dsyscall.c2164 attr->attach_btf_id, in bpf_prog_load()
2174 prog->aux->attach_btf_id = attr->attach_btf_id; in bpf_prog_load()
Dverifier.c8417 if (!env->prog->aux->attach_btf_id) in check_return_code()
11945 btf_id = prog->aux->attach_btf_id; in check_struct_ops_btf_id()
12268 u32 btf_id = prog->aux->attach_btf_id; in check_attach_btf_id()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dfexit_stress.c47 load_attr.attach_btf_id = err; in test_fexit_stress()
/kernel/linux/linux-5.10/tools/lib/bpf/
Dbpf.c237 attr.attach_btf_id = load_attr->attach_btf_id; in bpf_load_program_xattr()
240 attr.attach_btf_id = load_attr->attach_btf_id; in bpf_load_program_xattr()
Dbpf.h87 __u32 attach_btf_id; member
Dlibbpf.c279 __u32 attach_btf_id; member
886 prog->attach_btf_id = kern_type_id; in bpf_map__init_kern_struct_ops()
6710 load_attr.attach_btf_id = prog->attach_btf_id; in load_program()
6714 load_attr.attach_btf_id = prog->attach_btf_id; in load_program()
6819 prog->type == BPF_PROG_TYPE_EXT) && !prog->attach_btf_id) { in bpf_program__load()
6823 prog->attach_btf_id = btf_id; in bpf_program__load()
8640 prog->attach_btf_id = st_ops->type_id; in bpf_object__collect_st_ops_relos()
8643 prog->attach_btf_id != st_ops->type_id || in bpf_object__collect_st_ops_relos()
8655 prog->attach_btf_id, prog->expected_attach_type, name); in bpf_object__collect_st_ops_relos()
10667 prog->attach_btf_id = btf_id; in bpf_program__set_attach_target()
/kernel/linux/linux-5.10/Documentation/bpf/
Ddrgn.rst136 .attach_btf_id = (u32)0,
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_verifier.c999 attr.attach_btf_id = libbpf_find_vmlinux_btf_id(test->kfunc, in do_test_single()
1001 if (attr.attach_btf_id < 0) { in do_test_single()
/kernel/linux/linux-5.10/tools/include/uapi/linux/
Dbpf.h558 __u32 attach_btf_id; /* in-kernel BTF type id to attach to */ member
/kernel/linux/linux-5.10/include/uapi/linux/
Dbpf.h558 __u32 attach_btf_id; /* in-kernel BTF type id to attach to */ member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dbpf.h340 __u32 attach_btf_id; member
/kernel/linux/linux-5.10/include/linux/
Dbpf.h847 u32 attach_btf_id; /* in-kernel BTF type id to attach to */ member
/kernel/linux/linux-5.10/kernel/trace/
Dbpf_trace.c1162 return btf_id_set_contains(&btf_allowlist_d_path, prog->aux->attach_btf_id); in BTF_ID()