Home
last modified time | relevance | path

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

/Linux-v5.15/kernel/bpf/
Dbpf_lsm.c47 if (!btf_id_set_contains(&bpf_lsm_hooks, prog->aux->attach_btf_id)) { in BTF_SET_END()
49 prog->aux->attach_btf_id, prog->aux->attach_func_name); in BTF_SET_END()
86 return bpf_lsm_is_sleepable_hook(prog->aux->attach_btf_id); in bpf_ima_inode_hash_allowed()
Dbpf_iter.c326 tinfo->btf_id = prog->aux->attach_btf_id; in cache_btf_id()
332 u32 prog_btf_id = prog->aux->attach_btf_id; in bpf_iter_prog_supported()
371 if (tinfo->btf_id == prog->aux->attach_btf_id) { in bpf_iter_get_func_proto()
416 link->prog->aux->attach_btf_id != new_prog->aux->attach_btf_id) { in bpf_iter_link_replace()
530 prog_btf_id = prog->aux->attach_btf_id; in bpf_iter_link_attach()
Dbpf_struct_ops.c427 prog->aux->attach_btf_id != st_ops->type_id || in bpf_struct_ops_map_update_elem()
Dsyscall.c2229 } else if (attr->attach_btf_id) { in bpf_prog_load()
2241 attach_btf, attr->attach_btf_id, in bpf_prog_load()
2262 prog->aux->attach_btf_id = attr->attach_btf_id; in bpf_prog_load()
2756 btf_id = prog->aux->attach_btf_id; in bpf_tracing_prog_attach()
Dverifier.c9410 if (!env->prog->aux->attach_btf_id) in check_return_code()
13262 btf_id = prog->aux->attach_btf_id; in check_struct_ops_btf_id()
13582 u32 btf_id = prog->aux->attach_btf_id; in BTF_SET_START()
/Linux-v5.15/tools/testing/selftests/bpf/prog_tests/
Dfexit_stress.c47 load_attr.attach_btf_id = err; in test_fexit_stress()
/Linux-v5.15/tools/lib/bpf/
Dbpf.c242 attr.attach_btf_id = load_attr->attach_btf_id; in libbpf__bpf_prog_load()
348 p.attach_btf_id = load_attr->attach_btf_id; in bpf_load_program_xattr()
352 p.attach_btf_id = load_attr->attach_btf_id; in bpf_load_program_xattr()
Dgen_loader.c603 attr.attach_btf_id = load_attr->attach_btf_id; in bpf_gen__prog_load()
655 offsetof(union bpf_attr, attach_btf_id))); in bpf_gen__prog_load()
Dbpf.h87 __u32 attach_btf_id; member
Dlibbpf_internal.h263 __u32 attach_btf_id; member
Dlibbpf.c301 __u32 attach_btf_id; member
955 prog->attach_btf_id = kern_type_id; in bpf_map__init_kern_struct_ops()
6102 load_attr.attach_btf_id = prog->attach_btf_id; in load_program()
6107 load_attr.attach_btf_id = prog->attach_btf_id; in load_program()
6253 prog->type == BPF_PROG_TYPE_EXT) && !prog->attach_btf_id) { in bpf_program__load()
6261 prog->attach_btf_id = btf_type_id; in bpf_program__load()
8260 prog->attach_btf_id = st_ops->type_id; in bpf_object__collect_st_ops_relos()
8263 prog->attach_btf_id != st_ops->type_id || in bpf_object__collect_st_ops_relos()
8275 prog->attach_btf_id, prog->expected_attach_type, name); in bpf_object__collect_st_ops_relos()
10538 prog->attach_btf_id = btf_id; in bpf_program__set_attach_target()
/Linux-v5.15/Documentation/bpf/
Ddrgn.rst136 .attach_btf_id = (u32)0,
/Linux-v5.15/tools/testing/selftests/bpf/
Dtest_verifier.c1099 attr.attach_btf_id = libbpf_find_vmlinux_btf_id(test->kfunc, in do_test_single()
1101 if (attr.attach_btf_id < 0) { in do_test_single()
/Linux-v5.15/net/core/
Dbpf_sk_storage.c404 btf_id = prog->aux->attach_btf_id; in bpf_sk_storage_tracing_allowed()
/Linux-v5.15/kernel/trace/
Dbpf_trace.c888 return bpf_lsm_is_sleepable_hook(prog->aux->attach_btf_id); in BTF_ID()
891 prog->aux->attach_btf_id); in BTF_ID()
/Linux-v5.15/tools/include/uapi/linux/
Dbpf.h1330 __u32 attach_btf_id; /* in-kernel BTF type id to attach to */ member
/Linux-v5.15/include/uapi/linux/
Dbpf.h1330 __u32 attach_btf_id; /* in-kernel BTF type id to attach to */ member
/Linux-v5.15/include/linux/
Dbpf.h852 u32 attach_btf_id; /* in-kernel BTF type id to attach to */ member