Lines Matching refs:btf_id
4305 int i, btf_id; in btf_vmlinux_map_ids_init() local
4315 btf_id = btf_find_by_name_kind(btf, ops->map_btf_name, in btf_vmlinux_map_ids_init()
4317 if (btf_id < 0) in btf_vmlinux_map_ids_init()
4318 return btf_id; in btf_vmlinux_map_ids_init()
4319 *ops->map_btf_id = btf_id; in btf_vmlinux_map_ids_init()
4553 info->btf_id = ctx_arg_info->btf_id; in btf_ctx_access()
4569 info->btf_id = ret; in btf_ctx_access()
4576 info->btf_id = t->type; in btf_ctx_access()
4580 info->btf_id = t->type; in btf_ctx_access()
4590 tname, arg, info->btf_id, btf_kind_str[BTF_INFO_KIND(t->info)], in btf_ctx_access()
4900 static int __get_type_size(struct btf *btf, u32 btf_id, in __get_type_size() argument
4905 if (!btf_id) in __get_type_size()
4908 t = btf_type_by_id(btf, btf_id); in __get_type_size()
5100 u32 btf_id = 0; in btf_check_type_match() local
5107 btf_id = prog->aux->func_info[0].type_id; in btf_check_type_match()
5108 if (!btf_id) in btf_check_type_match()
5111 t1 = btf_type_by_id(btf1, btf_id); in btf_check_type_match()
5133 u32 i, nargs, btf_id; in btf_check_func_arg_match() local
5139 btf_id = prog->aux->func_info[subprog].type_id; in btf_check_func_arg_match()
5140 if (!btf_id) in btf_check_func_arg_match()
5146 t = btf_type_by_id(btf, btf_id); in btf_check_func_arg_match()
5231 u32 i, nargs, btf_id; in btf_prepare_func_args() local
5240 btf_id = prog->aux->func_info[subprog].type_id; in btf_prepare_func_args()
5241 if (!btf_id) { in btf_prepare_func_args()
5246 t = btf_type_by_id(btf, btf_id); in btf_prepare_func_args()
5535 u32 btf_id(const struct btf *btf) in btf_id() function