Home
last modified time | relevance | path

Searched refs:tempname (Results 1 – 3 of 3) sorted by relevance

/linux/arch/um/os-Linux/
A Dmem.c97 char *tempname; in make_tempfile() local
120 tempname = malloc(strlen(tempdir) + strlen(template) + 1); in make_tempfile()
121 if (tempname == NULL) in make_tempfile()
124 strcpy(tempname, tempdir); in make_tempfile()
125 strcat(tempname, template); in make_tempfile()
126 fd = mkstemp(tempname); in make_tempfile()
128 os_warn("open - cannot create %s: %s\n", tempname, in make_tempfile()
132 if (unlink(tempname) < 0) { in make_tempfile()
136 free(tempname); in make_tempfile()
141 free(tempname); in make_tempfile()
/linux/fs/hpfs/
A Ddir.c73 unsigned char *tempname; in hpfs_readdir() local
172 tempname = hpfs_translate_name(inode->i_sb, de->name, de->namelen, lc, de->not_8x3); in hpfs_readdir()
173 if (!dir_emit(ctx, tempname, de->namelen, le32_to_cpu(de->fnode), DT_UNKNOWN)) { in hpfs_readdir()
174 if (tempname != de->name) kfree(tempname); in hpfs_readdir()
179 if (tempname != de->name) kfree(tempname); in hpfs_readdir()
/linux/scripts/
A Dunifdef.c188 static char tempname[FILENAME_MAX]; /* used when overwriting */ variable
341 snprintf(tempname, sizeof(tempname), in main()
345 snprintf(tempname, sizeof(tempname), in main()
347 ofd = mkstemp(tempname); in main()
609 unlink(tempname); in closeout()
626 if (overwriting && rename(tempname, ofilename) == -1) { in done()
628 unlink(tempname); in done()

Completed in 12 milliseconds