Lines Matching refs:tname

7103 	const char *tname = btf_name_by_offset(reg->btf, t->name_off);  in check_ptr_to_btf_access()  local
7112 tname); in check_ptr_to_btf_access()
7118 tname); in check_ptr_to_btf_access()
7124 regno, tname, off); in check_ptr_to_btf_access()
7133 regno, tname, off, tn_buf); in check_ptr_to_btf_access()
7140 regno, tname, off); in check_ptr_to_btf_access()
7147 regno, tname, off); in check_ptr_to_btf_access()
7256 const char *tname; in check_ptr_to_map_access() local
7272 tname = btf_name_by_offset(btf_vmlinux, t->name_off); in check_ptr_to_map_access()
7277 tname); in check_ptr_to_map_access()
7283 regno, tname, off); in check_ptr_to_map_access()
7288 verbose(env, "only read from %s is supported\n", tname); in check_ptr_to_map_access()
11620 const char *tname; in check_helper_call() local
11625 tname = btf_name_by_offset(meta.ret_btf, t->name_off); in check_helper_call()
11627 tname, PTR_ERR(ret)); in check_helper_call()
19707 const char *tname; in find_btf_percpu_datasec() local
19726 tname = btf_name_by_offset(btf, t->name_off); in find_btf_percpu_datasec()
19727 if (!strcmp(tname, ".data..percpu")) in find_btf_percpu_datasec()
19833 const char *tname; in __check_pseudo_btf_id() local
19839 tname = btf_name_by_offset(btf, t->name_off); in __check_pseudo_btf_id()
19841 tname, PTR_ERR(ret)); in __check_pseudo_btf_id()
23062 const char *tname, *fname; in bpf_check_attach_target() local
23082 tname = btf_name_by_offset(btf, t->name_off); in bpf_check_attach_target()
23083 if (!tname) { in bpf_check_attach_target()
23104 bpf_log(log, "Subprog %s doesn't exist\n", tname); in bpf_check_attach_target()
23206 if (strncmp(prefix, tname, sizeof(prefix) - 1)) { in bpf_check_attach_target()
23208 btf_id, tname); in bpf_check_attach_target()
23211 tname += sizeof(prefix) - 1; in bpf_check_attach_target()
23216 btp = bpf_get_raw_tracepoint(tname); in bpf_check_attach_target()
23228 prefix, tname); in bpf_check_attach_target()
23255 ret = btf_distill_func_proto(log, btf, t, tname, &tgt_info->fmodel); in bpf_check_attach_target()
23288 ret = btf_distill_func_proto(log, btf, t, tname, &tgt_info->fmodel); in bpf_check_attach_target()
23301 addr = find_kallsyms_symbol_value(mod, tname); in bpf_check_attach_target()
23305 addr = kallsyms_lookup_name(tname); in bpf_check_attach_target()
23311 tname); in bpf_check_attach_target()
23350 bpf_log(log, "%s is not sleepable\n", tname); in bpf_check_attach_target()
23361 !check_attach_modify_return(addr, tname)) in bpf_check_attach_target()
23365 bpf_log(log, "%s() is not modifiable\n", tname); in bpf_check_attach_target()
23373 tgt_info->tgt_name = tname; in bpf_check_attach_target()