Searched refs:tmp_name (Results 1 – 3 of 3) sorted by relevance
| /linux/tools/bpf/resolve_btfids/ |
| H A D | main.c | 1118 char tmp_name[KSYM_NAME_LEN]; in process_kfunc_with_implicit_args() local 1138 len = snprintf(tmp_name, sizeof(tmp_name), "%s%s", kfunc->name, KF_IMPL_SUFFIX); in process_kfunc_with_implicit_args() 1139 if (len < 0 || len >= sizeof(tmp_name)) { in process_kfunc_with_implicit_args() 1144 if (btf__find_by_name_kind(btf, tmp_name, BTF_KIND_FUNC) > 0) { in process_kfunc_with_implicit_args() 1145 pr_debug("resolve_btfids: function %s already exists in BTF\n", tmp_name); in process_kfunc_with_implicit_args() 1150 new_func_id = btf__add_func(btf, tmp_name, linkage, proto_id); in process_kfunc_with_implicit_args() 1152 pr_err("ERROR: resolve_btfids: failed to add func %s to BTF\n", tmp_name); in process_kfunc_with_implicit_args() 1175 tag_name, tmp_name); in process_kfunc_with_implicit_args()
|
| /linux/tools/objtool/ |
| H A D | elf.c | 1258 char *tmp_name; in elf_create_file() 1272 tmp_name = malloc(strlen(name) + 8); in elf_create_file() 1273 if (!tmp_name) { in elf_create_file() 1278 sprintf(tmp_name, "%s.XXXXXX", name); in elf_create_file() 1280 elf->fd = mkstemp(tmp_name); in elf_create_file() 1286 elf->tmp_name = tmp_name; in elf_create_file() 1844 if (elf->tmp_name && rename(elf->tmp_name, elf->name)) 1244 char *tmp_name; elf_create_file() local
|
| /linux/tools/lib/bpf/ |
| H A D | libbpf.c | 8551 char tmp_name[64]; in find_ksym_btf_id() 8557 snprintf(tmp_name, sizeof(tmp_name), "%lx-%zx", (unsigned long)obj_buf, obj_buf_sz); in find_ksym_btf_id() 8559 return libbpf_ptr(bpf_object_open(NULL, obj_buf, obj_buf_sz, tmp_name, opts)); in find_ksym_btf_id() 8416 char tmp_name[64]; bpf_object__open_mem() local
|