Lines Matching refs:tname

4509 	const char *tname = btf_name_by_offset(reg->btf, t->name_off);  in check_ptr_to_btf_access()  local
4517 regno, tname, off); in check_ptr_to_btf_access()
4526 regno, tname, off, tn_buf); in check_ptr_to_btf_access()
4533 regno, tname, off); in check_ptr_to_btf_access()
4540 regno, tname, off); in check_ptr_to_btf_access()
4582 const char *tname; in check_ptr_to_map_access() local
4598 tname = btf_name_by_offset(btf_vmlinux, t->name_off); in check_ptr_to_map_access()
4603 tname); in check_ptr_to_map_access()
4609 regno, tname, off); in check_ptr_to_map_access()
4614 verbose(env, "only read from %s is supported\n", tname); in check_ptr_to_map_access()
7521 const char *tname; in check_helper_call() local
7526 tname = btf_name_by_offset(meta.ret_btf, t->name_off); in check_helper_call()
7528 tname, PTR_ERR(ret)); in check_helper_call()
12501 const char *tname; in find_btf_percpu_datasec() local
12520 tname = btf_name_by_offset(btf, t->name_off); in find_btf_percpu_datasec()
12521 if (!strcmp(tname, ".data..percpu")) in find_btf_percpu_datasec()
12605 const char *tname; in check_pseudo_btf_id() local
12611 tname = btf_name_by_offset(btf, t->name_off); in check_pseudo_btf_id()
12613 tname, PTR_ERR(ret)); in check_pseudo_btf_id()
14845 const char *tname; in bpf_check_attach_target() local
14864 tname = btf_name_by_offset(btf, t->name_off); in bpf_check_attach_target()
14865 if (!tname) { in bpf_check_attach_target()
14878 bpf_log(log, "Subprog %s doesn't exist\n", tname); in bpf_check_attach_target()
14947 if (strncmp(prefix, tname, sizeof(prefix) - 1)) { in bpf_check_attach_target()
14949 btf_id, tname); in bpf_check_attach_target()
14952 tname += sizeof(prefix) - 1; in bpf_check_attach_target()
14972 ret = btf_distill_func_proto(log, btf, t, tname, &tgt_info->fmodel); in bpf_check_attach_target()
15005 ret = btf_distill_func_proto(log, btf, t, tname, &tgt_info->fmodel); in bpf_check_attach_target()
15015 addr = kallsyms_lookup_name(tname); in bpf_check_attach_target()
15019 tname); in bpf_check_attach_target()
15046 bpf_log(log, "%s is not sleepable\n", tname); in bpf_check_attach_target()
15054 ret = check_attach_modify_return(addr, tname); in bpf_check_attach_target()
15056 bpf_log(log, "%s() is not modifiable\n", tname); in bpf_check_attach_target()
15064 tgt_info->tgt_name = tname; in bpf_check_attach_target()