Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/lofiadm/
H A Dmain.c1294 int uncompfd = -1; in lofi_uncompress() local
1341 if ((uncompfd = mkstemp64(tmpfilename)) == -1) { in lofi_uncompress()
1351 (void) fchmod(uncompfd, statbuf.st_mode); in lofi_uncompress()
1353 if (fchown(uncompfd, statbuf.st_uid, statbuf.st_gid) == -1) { in lofi_uncompress()
1355 (void) close(uncompfd); in lofi_uncompress()
1367 if (write(uncompfd, buf, rbytes) != rbytes) { in lofi_uncompress()
1374 (void) close(uncompfd); in lofi_uncompress()
1417 int compfd = -1, uncompfd = -1; in lofi_compress() local
1456 if ((uncompfd = open64(filename, O_RDWR|O_LARGEFILE, 0)) == -1) in lofi_compress()
1472 if (fcntl(uncompfd, F_SETLKW, &lock) == -1) in lofi_compress()
[all …]