Searched refs:tmp_name (Results 1 – 5 of 5) sorted by relevance
| /linux/tools/bpf/resolve_btfids/ |
| H A D | main.c | 1117 char tmp_name[KSYM_NAME_LEN]; in process_kfunc_with_implicit_args() local 1137 len = snprintf(tmp_name, sizeof(tmp_name), "%s%s", kfunc->name, KF_IMPL_SUFFIX); in process_kfunc_with_implicit_args() 1138 if (len < 0 || len >= sizeof(tmp_name)) { in process_kfunc_with_implicit_args() 1143 if (btf__find_by_name_kind(btf, tmp_name, BTF_KIND_FUNC) > 0) { in process_kfunc_with_implicit_args() 1144 pr_debug("resolve_btfids: function %s already exists in BTF\n", tmp_name); in process_kfunc_with_implicit_args() 1149 new_func_id = btf__add_func(btf, tmp_name, linkage, proto_id); in process_kfunc_with_implicit_args() 1151 pr_err("ERROR: resolve_btfids: failed to add func %s to BTF\n", tmp_name); in process_kfunc_with_implicit_args() 1174 tag_name, tmp_name); in process_kfunc_with_implicit_args()
|
| /linux/tools/objtool/ |
| H A D | elf.c | 1192 char *dir, *base, *tmp_name; in elf_create_file() local 1222 tmp_name = malloc(256); in elf_create_file() 1223 if (!tmp_name) { in elf_create_file() 1228 snprintf(tmp_name, 256, "%s/%s.XXXXXX", dir, base); in elf_create_file() 1230 elf->fd = mkstemp(tmp_name); in elf_create_file() 1236 elf->tmp_name = tmp_name; in elf_create_file() 1794 if (elf->tmp_name && rename(elf->tmp_name, elf->name)) in elf_close()
|
| /linux/fs/btrfs/ |
| H A D | send.c | 1786 struct fscrypt_str tmp_name; in gen_unique_name() local 1791 tmp_name.name = tmp; in gen_unique_name() 1792 tmp_name.len = len; in gen_unique_name() 1796 &tmp_name, 0); in gen_unique_name() 1814 &tmp_name, 0); in gen_unique_name() 2031 struct fs_path *tmp_name; in is_first_ref() local 2034 tmp_name = fs_path_alloc(); in is_first_ref() 2035 if (!tmp_name) in is_first_ref() 2038 ret = get_first_ref(root, ino, &tmp_dir, NULL, tmp_name); in is_first_ref() 2042 if (dir != tmp_dir || name_len != fs_path_len(tmp_name)) { in is_first_ref() [all …]
|
| /linux/drivers/edac/ |
| H A D | amd64_edac.c | 3770 char *tmp_name = NULL; in per_family_init() local 3784 tmp_name = (pvt->ext_model >= K8_REV_F) ? in per_family_init() 3857 tmp_name = "MI200"; in per_family_init() 3913 if (tmp_name) in per_family_init() 3914 scnprintf(pvt->ctl_name, sizeof(pvt->ctl_name), "%s", tmp_name); in per_family_init()
|
| /linux/tools/lib/bpf/ |
| H A D | libbpf.c | 8416 char tmp_name[64]; in bpf_object__open_mem() local 8422 snprintf(tmp_name, sizeof(tmp_name), "%lx-%zx", (unsigned long)obj_buf, obj_buf_sz); in bpf_object__open_mem() 8424 return libbpf_ptr(bpf_object_open(NULL, obj_buf, obj_buf_sz, tmp_name, opts)); in bpf_object__open_mem()
|