Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/lofiadm/
H A Dmain.c1294 int compfd = -1; in lofi_uncompress() local
1326 if ((compfd = open64(devicename, O_RDONLY | O_NONBLOCK)) == -1) { in lofi_uncompress()
1343 (void) close(compfd); in lofi_uncompress()
1355 (void) close(compfd); in lofi_uncompress()
1363 rbytes = read(compfd, buf, sizeof (buf)); in lofi_uncompress()
1374 (void) close(compfd); in lofi_uncompress()
1418 int compfd = -1, uncompfd = -1; in lofi_compress() local
1507 if ((compfd = mkstemp64(comp_filename)) == -1) in lofi_compress()
1514 (void) fchmod(compfd, statbuf.st_mode); in lofi_compress()
1516 if (fchown(compfd, statbuf.st_uid, statbuf.st_gid) == -1) in lofi_compress()
[all …]