Home
last modified time | relevance | path

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

/linux/kernel/bpf/
A 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()
A 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()
A Dbpf_struct_ops.c444 prog->aux->attach_btf_id != st_ops->type_id || in bpf_struct_ops_map_update_elem()
A Dsyscall.c2268 } else if (attr->attach_btf_id) { in bpf_prog_load()
2280 attach_btf, attr->attach_btf_id, in bpf_prog_load()
2301 prog->aux->attach_btf_id = attr->attach_btf_id; in bpf_prog_load()
2795 btf_id = prog->aux->attach_btf_id; in bpf_tracing_prog_attach()
A Dverifier.c9640 if (!env->prog->aux->attach_btf_id) in check_return_code()
13509 btf_id = prog->aux->attach_btf_id; in check_struct_ops_btf_id()
13829 u32 btf_id = prog->aux->attach_btf_id; in BTF_SET_START()
/linux/tools/lib/bpf/
A Dbpf.c276 attr.attach_btf_id = load_attr->attach_btf_id; in libbpf__bpf_prog_load()
383 p.attach_btf_id = load_attr->attach_btf_id; in bpf_load_program_xattr()
387 p.attach_btf_id = load_attr->attach_btf_id; in bpf_load_program_xattr()
A Dbpf.h87 __u32 attach_btf_id; member
A Dgen_loader.c933 attr.attach_btf_id = load_attr->attach_btf_id; in bpf_gen__prog_load()
984 offsetof(union bpf_attr, attach_btf_id))); in bpf_gen__prog_load()
A Dlibbpf_internal.h289 __u32 attach_btf_id; member
A Dlibbpf.c325 __u32 attach_btf_id; member
1003 prog->attach_btf_id = kern_type_id; in bpf_map__init_kern_struct_ops()
6401 prog->attach_btf_id = btf_type_id; in libbpf_preload_prog()
6409 attr->attach_btf_id = btf_type_id; in libbpf_preload_prog()
6445 load_attr.attach_btf_id = prog->attach_btf_id; in load_program()
6448 load_attr.attach_btf_id = prog->attach_btf_id; in load_program()
8599 if (!prog->attach_btf_id) { in bpf_object__collect_st_ops_relos()
8600 prog->attach_btf_id = st_ops->type_id; in bpf_object__collect_st_ops_relos()
8608 if (prog->attach_btf_id != st_ops->type_id || in bpf_object__collect_st_ops_relos()
8612 prog->attach_btf_id, prog->expected_attach_type, name); in bpf_object__collect_st_ops_relos()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
A Dfexit_stress.c47 load_attr.attach_btf_id = err; in test_fexit_stress()
/linux/net/bpf/
A Dbpf_dummy_struct_ops.c87 if (prog->aux->attach_btf_id != st_ops->type_id) in bpf_struct_ops_test_run()
/linux/Documentation/bpf/
A Ddrgn.rst136 .attach_btf_id = (u32)0,
/linux/tools/testing/selftests/bpf/
A Dtest_verifier.c1147 attr.attach_btf_id = libbpf_find_vmlinux_btf_id(test->kfunc, in do_test_single()
1149 if (attr.attach_btf_id < 0) { in do_test_single()
/linux/net/core/
A Dbpf_sk_storage.c404 btf_id = prog->aux->attach_btf_id; in bpf_sk_storage_tracing_allowed()
/linux/kernel/trace/
A Dbpf_trace.c934 return bpf_lsm_is_sleepable_hook(prog->aux->attach_btf_id); in BTF_ID()
937 prog->aux->attach_btf_id); in BTF_ID()
/linux/tools/include/uapi/linux/
A Dbpf.h1338 __u32 attach_btf_id; /* in-kernel BTF type id to attach to */ member
/linux/include/uapi/linux/
A Dbpf.h1338 __u32 attach_btf_id; /* in-kernel BTF type id to attach to */ member
/linux/include/linux/
A Dbpf.h862 u32 attach_btf_id; /* in-kernel BTF type id to attach to */ member

Completed in 120 milliseconds