Lines Matching refs:tname

3297 	const char *tname = btf_name_by_offset(btf_vmlinux, t->name_off);  in check_ptr_to_btf_access()  local
3304 regno, tname, off); in check_ptr_to_btf_access()
3313 regno, tname, off, tn_buf); in check_ptr_to_btf_access()
3348 const char *tname; in check_ptr_to_map_access() local
3364 tname = btf_name_by_offset(btf_vmlinux, t->name_off); in check_ptr_to_map_access()
3369 tname); in check_ptr_to_map_access()
3375 regno, tname, off); in check_ptr_to_map_access()
3380 verbose(env, "only read from %s is supported\n", tname); in check_ptr_to_map_access()
5159 const char *tname; in check_helper_call() local
5164 tname = btf_name_by_offset(btf_vmlinux, t->name_off); in check_helper_call()
5166 tname, PTR_ERR(ret)); in check_helper_call()
9648 const char *tname; in check_pseudo_btf_id() local
9654 tname = btf_name_by_offset(btf_vmlinux, t->name_off); in check_pseudo_btf_id()
9656 tname, PTR_ERR(ret)); in check_pseudo_btf_id()
11511 const char *tname; in bpf_check_attach_target() local
11530 tname = btf_name_by_offset(btf, t->name_off); in bpf_check_attach_target()
11531 if (!tname) { in bpf_check_attach_target()
11544 bpf_log(log, "Subprog %s doesn't exist\n", tname); in bpf_check_attach_target()
11613 if (strncmp(prefix, tname, sizeof(prefix) - 1)) { in bpf_check_attach_target()
11615 btf_id, tname); in bpf_check_attach_target()
11618 tname += sizeof(prefix) - 1; in bpf_check_attach_target()
11638 ret = btf_distill_func_proto(log, btf, t, tname, &tgt_info->fmodel); in bpf_check_attach_target()
11670 ret = btf_distill_func_proto(log, btf, t, tname, &tgt_info->fmodel); in bpf_check_attach_target()
11680 addr = kallsyms_lookup_name(tname); in bpf_check_attach_target()
11684 tname); in bpf_check_attach_target()
11711 bpf_log(log, "%s is not sleepable\n", tname); in bpf_check_attach_target()
11719 ret = check_attach_modify_return(addr, tname); in bpf_check_attach_target()
11721 bpf_log(log, "%s() is not modifiable\n", tname); in bpf_check_attach_target()
11729 tgt_info->tgt_name = tname; in bpf_check_attach_target()