Searched refs:attach_btf_id (Results 1 – 18 of 18) sorted by relevance
47 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()
326 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()
427 prog->aux->attach_btf_id != st_ops->type_id || in bpf_struct_ops_map_update_elem()
2229 } 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()
9410 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()
47 load_attr.attach_btf_id = err; in test_fexit_stress()
242 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()
603 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()
87 __u32 attach_btf_id; member
263 __u32 attach_btf_id; member
301 __u32 attach_btf_id; member955 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()
136 .attach_btf_id = (u32)0,
1099 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()
404 btf_id = prog->aux->attach_btf_id; in bpf_sk_storage_tracing_allowed()
888 return bpf_lsm_is_sleepable_hook(prog->aux->attach_btf_id); in BTF_ID()891 prog->aux->attach_btf_id); in BTF_ID()
1330 __u32 attach_btf_id; /* in-kernel BTF type id to attach to */ member
852 u32 attach_btf_id; /* in-kernel BTF type id to attach to */ member