Searched refs:attach_btf_id (Results 1 – 19 of 19) 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()
444 prog->aux->attach_btf_id != st_ops->type_id || in bpf_struct_ops_map_update_elem()
2268 } 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()
9640 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()
276 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()
87 __u32 attach_btf_id; member
933 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()
289 __u32 attach_btf_id; member
325 __u32 attach_btf_id; member1003 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 …]
47 load_attr.attach_btf_id = err; in test_fexit_stress()
87 if (prog->aux->attach_btf_id != st_ops->type_id) in bpf_struct_ops_test_run()
136 .attach_btf_id = (u32)0,
1147 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()
404 btf_id = prog->aux->attach_btf_id; in bpf_sk_storage_tracing_allowed()
934 return bpf_lsm_is_sleepable_hook(prog->aux->attach_btf_id); in BTF_ID()937 prog->aux->attach_btf_id); in BTF_ID()
1338 __u32 attach_btf_id; /* in-kernel BTF type id to attach to */ member
862 u32 attach_btf_id; /* in-kernel BTF type id to attach to */ member
Completed in 120 milliseconds