Lines Matching refs:tname

3928 	const char *tname = btf_name_by_offset(reg->btf, t->name_off);  in check_ptr_to_btf_access()  local
3935 regno, tname, off); in check_ptr_to_btf_access()
3944 regno, tname, off, tn_buf); in check_ptr_to_btf_access()
3979 const char *tname; in check_ptr_to_map_access() local
3995 tname = btf_name_by_offset(btf_vmlinux, t->name_off); in check_ptr_to_map_access()
4000 tname); in check_ptr_to_map_access()
4006 regno, tname, off); in check_ptr_to_map_access()
4011 verbose(env, "only read from %s is supported\n", tname); in check_ptr_to_map_access()
6355 const char *tname; in check_helper_call() local
6360 tname = btf_name_by_offset(meta.ret_btf, t->name_off); in check_helper_call()
6362 tname, PTR_ERR(ret)); in check_helper_call()
11197 const char *tname; in find_btf_percpu_datasec() local
11216 tname = btf_name_by_offset(btf, t->name_off); in find_btf_percpu_datasec()
11217 if (!strcmp(tname, ".data..percpu")) in find_btf_percpu_datasec()
11301 const char *tname; in check_pseudo_btf_id() local
11307 tname = btf_name_by_offset(btf, t->name_off); in check_pseudo_btf_id()
11309 tname, PTR_ERR(ret)); in check_pseudo_btf_id()
13343 const char *tname; in bpf_check_attach_target() local
13362 tname = btf_name_by_offset(btf, t->name_off); in bpf_check_attach_target()
13363 if (!tname) { in bpf_check_attach_target()
13376 bpf_log(log, "Subprog %s doesn't exist\n", tname); in bpf_check_attach_target()
13445 if (strncmp(prefix, tname, sizeof(prefix) - 1)) { in bpf_check_attach_target()
13447 btf_id, tname); in bpf_check_attach_target()
13450 tname += sizeof(prefix) - 1; in bpf_check_attach_target()
13470 ret = btf_distill_func_proto(log, btf, t, tname, &tgt_info->fmodel); in bpf_check_attach_target()
13502 ret = btf_distill_func_proto(log, btf, t, tname, &tgt_info->fmodel); in bpf_check_attach_target()
13512 addr = kallsyms_lookup_name(tname); in bpf_check_attach_target()
13516 tname); in bpf_check_attach_target()
13543 bpf_log(log, "%s is not sleepable\n", tname); in bpf_check_attach_target()
13551 ret = check_attach_modify_return(addr, tname); in bpf_check_attach_target()
13553 bpf_log(log, "%s() is not modifiable\n", tname); in bpf_check_attach_target()
13561 tgt_info->tgt_name = tname; in bpf_check_attach_target()