• Home
  • Raw
  • Download

Lines Matching refs:tname

4768 	const char *tname = btf_name_by_offset(reg->btf, t->name_off);  in check_ptr_to_btf_access()  local
4776 regno, tname, off); in check_ptr_to_btf_access()
4785 regno, tname, off, tn_buf); in check_ptr_to_btf_access()
4792 regno, tname, off); in check_ptr_to_btf_access()
4799 regno, tname, off); in check_ptr_to_btf_access()
4841 const char *tname; in check_ptr_to_map_access() local
4857 tname = btf_name_by_offset(btf_vmlinux, t->name_off); in check_ptr_to_map_access()
4862 tname); in check_ptr_to_map_access()
4868 regno, tname, off); in check_ptr_to_map_access()
4873 verbose(env, "only read from %s is supported\n", tname); in check_ptr_to_map_access()
7797 const char *tname; in check_helper_call() local
7802 tname = btf_name_by_offset(meta.ret_btf, t->name_off); in check_helper_call()
7804 tname, PTR_ERR(ret)); in check_helper_call()
12799 const char *tname; in find_btf_percpu_datasec() local
12818 tname = btf_name_by_offset(btf, t->name_off); in find_btf_percpu_datasec()
12819 if (!strcmp(tname, ".data..percpu")) in find_btf_percpu_datasec()
12903 const char *tname; in check_pseudo_btf_id() local
12909 tname = btf_name_by_offset(btf, t->name_off); in check_pseudo_btf_id()
12911 tname, PTR_ERR(ret)); in check_pseudo_btf_id()
15152 const char *tname; in bpf_check_attach_target() local
15171 tname = btf_name_by_offset(btf, t->name_off); in bpf_check_attach_target()
15172 if (!tname) { in bpf_check_attach_target()
15185 bpf_log(log, "Subprog %s doesn't exist\n", tname); in bpf_check_attach_target()
15254 if (strncmp(prefix, tname, sizeof(prefix) - 1)) { in bpf_check_attach_target()
15256 btf_id, tname); in bpf_check_attach_target()
15259 tname += sizeof(prefix) - 1; in bpf_check_attach_target()
15279 ret = btf_distill_func_proto(log, btf, t, tname, &tgt_info->fmodel); in bpf_check_attach_target()
15312 ret = btf_distill_func_proto(log, btf, t, tname, &tgt_info->fmodel); in bpf_check_attach_target()
15322 addr = kallsyms_lookup_name(tname); in bpf_check_attach_target()
15326 tname); in bpf_check_attach_target()
15353 bpf_log(log, "%s is not sleepable\n", tname); in bpf_check_attach_target()
15361 ret = check_attach_modify_return(addr, tname); in bpf_check_attach_target()
15363 bpf_log(log, "%s() is not modifiable\n", tname); in bpf_check_attach_target()
15371 tgt_info->tgt_name = tname; in bpf_check_attach_target()