Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/lofiadm/
H A Dmain.c1293 int compfd = -1; in lofi_uncompress() local
1325 if ((compfd = open64(devicename, O_RDONLY | O_NONBLOCK)) == -1) { in lofi_uncompress()
1342 (void) close(compfd); in lofi_uncompress()
1354 (void) close(compfd); in lofi_uncompress()
1362 rbytes = read(compfd, buf, sizeof (buf)); in lofi_uncompress()
1373 (void) close(compfd); in lofi_uncompress()
1417 int compfd = -1, uncompfd = -1; in lofi_compress() local
1506 if ((compfd = mkstemp64(comp_filename)) == -1) in lofi_compress()
1513 (void) fchmod(compfd, statbuf.st_mode); in lofi_compress()
1515 if (fchown(compfd, statbuf.st_uid, statbuf.st_gid) == -1) in lofi_compress()
[all …]