Searched refs:tmp_name (Results 1 – 4 of 4) sorted by relevance
| /linux/tools/bpf/resolve_btfids/ |
| H A D | main.c | 1224 char tmp_name[KSYM_NAME_LEN]; in process_kfunc_with_implicit_args() local 1244 len = snprintf(tmp_name, sizeof(tmp_name), "%s%s", kfunc->name, KF_IMPL_SUFFIX); in process_kfunc_with_implicit_args() 1245 if (len < 0 || len >= sizeof(tmp_name)) { in process_kfunc_with_implicit_args() 1250 if (btf__find_by_name_kind_own(btf, tmp_name, BTF_KIND_FUNC) > 0) { in process_kfunc_with_implicit_args() 1251 pr_debug("resolve_btfids: function %s already exists in BTF\n", tmp_name); in process_kfunc_with_implicit_args() 1256 new_func_id = btf__add_func(btf, tmp_name, linkage, proto_id); in process_kfunc_with_implicit_args() 1258 pr_err("ERROR: resolve_btfids: failed to add func %s to BTF\n", tmp_name); in process_kfunc_with_implicit_args() 1281 tag_name, tmp_name); in process_kfunc_with_implicit_args()
|
| /linux/tools/objtool/ |
| H A D | elf.c | 1271 char *tmp_name; in elf_create_file() 1285 tmp_name = malloc(strlen(name) + 8); in elf_create_file() 1286 if (!tmp_name) { in elf_create_file() 1291 sprintf(tmp_name, "%s.XXXXXX", name); in elf_create_file() 1293 elf->fd = mkstemp(tmp_name); in elf_create_file() 1299 elf->tmp_name = tmp_name; in elf_create_file() 1857 if (elf->tmp_name && rename(elf->tmp_name, elf->name)) 1244 char *tmp_name; elf_create_file() local
|
| /linux/fs/btrfs/ |
| H A D | send.c | 1780 struct fscrypt_str tmp_name; in gen_unique_name() local 1785 tmp_name.name = tmp; in gen_unique_name() 1786 tmp_name.len = len; in gen_unique_name() 1790 &tmp_name, 0); in gen_unique_name() 1808 &tmp_name, 0); in gen_unique_name() 2025 struct fs_path *tmp_name __free(fs_path_free) = NULL; in is_first_ref() 2028 tmp_name = fs_path_alloc(); in is_first_ref() 2029 if (!tmp_name) in is_first_ref() 2032 ret = get_first_ref(root, ino, &tmp_dir, NULL, tmp_name); in is_first_ref() 2036 if (dir != tmp_dir || name_len != fs_path_len(tmp_name)) in is_first_ref() [all …]
|
| /linux/tools/lib/bpf/ |
| H A D | libbpf.c | 8595 char tmp_name[64]; in bpf_object__open_mem() local 8601 snprintf(tmp_name, sizeof(tmp_name), "%lx-%zx", (unsigned long)obj_buf, obj_buf_sz); in bpf_object__open_mem() 8603 return libbpf_ptr(bpf_object_open(NULL, obj_buf, obj_buf_sz, tmp_name, opts)); in bpf_object__open_mem()
|