Home
last modified time | relevance | path

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

/Linux-v5.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.c425 prog->aux->attach_btf_id != st_ops->type_id || in bpf_struct_ops_map_update_elem()
Dsyscall.c2146 attr->attach_btf_id, in bpf_prog_load()
2156 prog->aux->attach_btf_id = attr->attach_btf_id; in bpf_prog_load()
Dverifier.c7846 if (!env->prog->aux->attach_btf_id) in check_return_code()
11416 btf_id = prog->aux->attach_btf_id; in check_struct_ops_btf_id()
11739 u32 btf_id = prog->aux->attach_btf_id; in check_attach_btf_id()
/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/
Dfexit_stress.c47 load_attr.attach_btf_id = err; in test_fexit_stress()
/Linux-v5.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()
6653 load_attr.attach_btf_id = prog->attach_btf_id; in load_program()
6657 load_attr.attach_btf_id = prog->attach_btf_id; in load_program()
6762 prog->type == BPF_PROG_TYPE_EXT) && !prog->attach_btf_id) { in bpf_program__load()
6766 prog->attach_btf_id = btf_id; in bpf_program__load()
8569 prog->attach_btf_id = st_ops->type_id; in bpf_object__collect_st_ops_relos()
8572 prog->attach_btf_id != st_ops->type_id || in bpf_object__collect_st_ops_relos()
8584 prog->attach_btf_id, prog->expected_attach_type, name); in bpf_object__collect_st_ops_relos()
10596 prog->attach_btf_id = btf_id; in bpf_program__set_attach_target()
/Linux-v5.10/Documentation/bpf/
Ddrgn.rst136 .attach_btf_id = (u32)0,
/Linux-v5.10/tools/testing/selftests/bpf/
Dtest_verifier.c989 attr.attach_btf_id = libbpf_find_vmlinux_btf_id(test->kfunc, in do_test_single()
991 if (attr.attach_btf_id < 0) { in do_test_single()
/Linux-v5.10/tools/include/uapi/linux/
Dbpf.h558 __u32 attach_btf_id; /* in-kernel BTF type id to attach to */ member
/Linux-v5.10/include/uapi/linux/
Dbpf.h558 __u32 attach_btf_id; /* in-kernel BTF type id to attach to */ member
/Linux-v5.10/include/linux/
Dbpf.h767 u32 attach_btf_id; /* in-kernel BTF type id to attach to */ member
/Linux-v5.10/kernel/trace/
Dbpf_trace.c1177 return btf_id_set_contains(&btf_allowlist_d_path, prog->aux->attach_btf_id); in BTF_ID()