Lines Matching refs:tname

4117 	const char *tname = btf_name_by_offset(reg->btf, t->name_off);  in check_ptr_to_btf_access()  local
4124 regno, tname, off); in check_ptr_to_btf_access()
4133 regno, tname, off, tn_buf); in check_ptr_to_btf_access()
4168 const char *tname; in check_ptr_to_map_access() local
4184 tname = btf_name_by_offset(btf_vmlinux, t->name_off); in check_ptr_to_map_access()
4189 tname); in check_ptr_to_map_access()
4195 regno, tname, off); in check_ptr_to_map_access()
4200 verbose(env, "only read from %s is supported\n", tname); in check_ptr_to_map_access()
6570 const char *tname; in check_helper_call() local
6575 tname = btf_name_by_offset(meta.ret_btf, t->name_off); in check_helper_call()
6577 tname, PTR_ERR(ret)); in check_helper_call()
11428 const char *tname; in find_btf_percpu_datasec() local
11447 tname = btf_name_by_offset(btf, t->name_off); in find_btf_percpu_datasec()
11448 if (!strcmp(tname, ".data..percpu")) in find_btf_percpu_datasec()
11532 const char *tname; in check_pseudo_btf_id() local
11538 tname = btf_name_by_offset(btf, t->name_off); in check_pseudo_btf_id()
11540 tname, PTR_ERR(ret)); in check_pseudo_btf_id()
13590 const char *tname; in bpf_check_attach_target() local
13609 tname = btf_name_by_offset(btf, t->name_off); in bpf_check_attach_target()
13610 if (!tname) { in bpf_check_attach_target()
13623 bpf_log(log, "Subprog %s doesn't exist\n", tname); in bpf_check_attach_target()
13692 if (strncmp(prefix, tname, sizeof(prefix) - 1)) { in bpf_check_attach_target()
13694 btf_id, tname); in bpf_check_attach_target()
13697 tname += sizeof(prefix) - 1; in bpf_check_attach_target()
13717 ret = btf_distill_func_proto(log, btf, t, tname, &tgt_info->fmodel); in bpf_check_attach_target()
13749 ret = btf_distill_func_proto(log, btf, t, tname, &tgt_info->fmodel); in bpf_check_attach_target()
13759 addr = kallsyms_lookup_name(tname); in bpf_check_attach_target()
13763 tname); in bpf_check_attach_target()
13790 bpf_log(log, "%s is not sleepable\n", tname); in bpf_check_attach_target()
13798 ret = check_attach_modify_return(addr, tname); in bpf_check_attach_target()
13800 bpf_log(log, "%s() is not modifiable\n", tname); in bpf_check_attach_target()
13808 tgt_info->tgt_name = tname; in bpf_check_attach_target()