Lines Matching refs:tname

6145 	const char *tname = btf_name_by_offset(reg->btf, t->name_off);  in check_ptr_to_btf_access()  local
6154 tname); in check_ptr_to_btf_access()
6160 tname); in check_ptr_to_btf_access()
6166 regno, tname, off); in check_ptr_to_btf_access()
6175 regno, tname, off, tn_buf); in check_ptr_to_btf_access()
6182 regno, tname, off); in check_ptr_to_btf_access()
6189 regno, tname, off); in check_ptr_to_btf_access()
6296 const char *tname; in check_ptr_to_map_access() local
6312 tname = btf_name_by_offset(btf_vmlinux, t->name_off); in check_ptr_to_map_access()
6317 tname); in check_ptr_to_map_access()
6323 regno, tname, off); in check_ptr_to_map_access()
6328 verbose(env, "only read from %s is supported\n", tname); in check_ptr_to_map_access()
9847 const char *tname; in check_helper_call() local
9852 tname = btf_name_by_offset(meta.ret_btf, t->name_off); in check_helper_call()
9854 tname, PTR_ERR(ret)); in check_helper_call()
16776 const char *tname; in find_btf_percpu_datasec() local
16795 tname = btf_name_by_offset(btf, t->name_off); in find_btf_percpu_datasec()
16796 if (!strcmp(tname, ".data..percpu")) in find_btf_percpu_datasec()
16885 const char *tname; in check_pseudo_btf_id() local
16891 tname = btf_name_by_offset(btf, t->name_off); in check_pseudo_btf_id()
16893 tname, PTR_ERR(ret)); in check_pseudo_btf_id()
19272 const char *tname; in bpf_check_attach_target() local
19292 tname = btf_name_by_offset(btf, t->name_off); in bpf_check_attach_target()
19293 if (!tname) { in bpf_check_attach_target()
19312 bpf_log(log, "Subprog %s doesn't exist\n", tname); in bpf_check_attach_target()
19381 if (strncmp(prefix, tname, sizeof(prefix) - 1)) { in bpf_check_attach_target()
19383 btf_id, tname); in bpf_check_attach_target()
19386 tname += sizeof(prefix) - 1; in bpf_check_attach_target()
19406 ret = btf_distill_func_proto(log, btf, t, tname, &tgt_info->fmodel); in bpf_check_attach_target()
19439 ret = btf_distill_func_proto(log, btf, t, tname, &tgt_info->fmodel); in bpf_check_attach_target()
19452 addr = find_kallsyms_symbol_value(mod, tname); in bpf_check_attach_target()
19456 addr = kallsyms_lookup_name(tname); in bpf_check_attach_target()
19462 tname); in bpf_check_attach_target()
19501 bpf_log(log, "%s is not sleepable\n", tname); in bpf_check_attach_target()
19512 !check_attach_modify_return(addr, tname)) in bpf_check_attach_target()
19516 bpf_log(log, "%s() is not modifiable\n", tname); in bpf_check_attach_target()
19524 tgt_info->tgt_name = tname; in bpf_check_attach_target()