• Home
  • Raw
  • Download

Lines Matching refs:btf_id

3515 		tab->off[i].kptr.btf_id = id;  in btf_parse_kptrs()
5510 if (!ctx_arg_info->btf_id) { in btf_ctx_access()
5517 info->btf_id = ctx_arg_info->btf_id; in btf_ctx_access()
5534 info->btf_id = ret; in btf_ctx_access()
5542 info->btf_id = t->type; in btf_ctx_access()
5555 info->btf_id = t->type; in btf_ctx_access()
5565 tname, arg, info->btf_id, btf_type_str(t), in btf_ctx_access()
5915 static int __get_type_size(struct btf *btf, u32 btf_id, in __get_type_size() argument
5921 if (!btf_id) in __get_type_size()
5924 t = btf_type_by_id(btf, btf_id); in __get_type_size()
6131 u32 btf_id = 0; in btf_check_type_match() local
6138 btf_id = prog->aux->func_info[0].type_id; in btf_check_type_match()
6139 if (!btf_id) in btf_check_type_match()
6142 t1 = btf_type_by_id(btf1, btf_id); in btf_check_type_match()
6428 off_desc->kptr.btf_id, true)) { in btf_check_func_arg_match()
6460 reg_ref_id = reg->btf_id; in btf_check_func_arg_match()
6604 u32 btf_id; in btf_check_subprog_arg_match() local
6610 btf_id = prog->aux->func_info[subprog].type_id; in btf_check_subprog_arg_match()
6611 if (!btf_id) in btf_check_subprog_arg_match()
6618 err = btf_check_func_arg_match(env, btf, btf_id, regs, is_global, NULL, false); in btf_check_subprog_arg_match()
6647 u32 btf_id; in btf_check_subprog_call() local
6653 btf_id = prog->aux->func_info[subprog].type_id; in btf_check_subprog_call()
6654 if (!btf_id) in btf_check_subprog_call()
6661 err = btf_check_func_arg_match(env, btf, btf_id, regs, is_global, NULL, true); in btf_check_subprog_call()
6696 u32 i, nargs, btf_id; in btf_prepare_func_args() local
6705 btf_id = prog->aux->func_info[subprog].type_id; in btf_prepare_func_args()
6706 if (!btf_id) { in btf_prepare_func_args()
6711 t = btf_type_by_id(btf, btf_id); in btf_prepare_func_args()
7503 s32 btf_find_dtor_kfunc(struct btf *btf, u32 btf_id) in btf_find_dtor_kfunc() argument
7513 BUILD_BUG_ON(offsetof(struct btf_id_dtor_kfunc, btf_id) != 0); in btf_find_dtor_kfunc()
7514 dtor = bsearch(&btf_id, tab->dtors, tab->cnt, sizeof(tab->dtors[0]), btf_id_cmp_func); in btf_find_dtor_kfunc()