Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/lofiadm/
H A Dmain.c1376 int uncompfd = -1; in lofi_uncompress() local
1423 if ((uncompfd = mkstemp64(tmpfilename)) == -1) { in lofi_uncompress()
1433 (void) fchmod(uncompfd, statbuf.st_mode); in lofi_uncompress()
1435 if (fchown(uncompfd, statbuf.st_uid, statbuf.st_gid) == -1) { in lofi_uncompress()
1437 (void) close(uncompfd); in lofi_uncompress()
1449 if (write(uncompfd, buf, rbytes) != rbytes) { in lofi_uncompress()
1456 (void) close(uncompfd); in lofi_uncompress()
1499 int compfd = -1, uncompfd = -1; in lofi_compress() local
1538 if ((uncompfd = open64(filename, O_RDWR|O_LARGEFILE, 0)) == -1) in lofi_compress()
1554 if (fcntl(uncompfd, F_SETLKW, &lock) == -1) in lofi_compress()
[all …]