Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/lofiadm/
H A Dmain.c1491 uchar_t *compressed_seg = NULL; in lofi_compress() local
1532 compressed_seg = (uchar_t *)malloc(compressed_segsize + SEGHDR); in lofi_compress()
1535 if (compressed_seg == NULL || uncompressed_seg == NULL) in lofi_compress()
1637 compressed_seg + SEGHDR, &real_segsize, li->l_level); in lofi_compress()
1652 (void) memcpy(compressed_seg + SEGHDR, uncompressed_seg, in lofi_compress()
1664 *compressed_seg = type; in lofi_compress()
1665 wbytes = write(tfd, compressed_seg, len_compressed + SEGHDR); in lofi_compress()
1739 rbytes = read(tfd, compressed_seg, compressed_segsize + SEGHDR); in lofi_compress()
1744 if (write(compfd, compressed_seg, rbytes) != rbytes) in lofi_compress()
1781 if (compressed_seg != NULL) in lofi_compress()
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Dlofi.c1461 uchar_t *compressed_seg = NULL, *cmpbuf; in lofi_strategy_task() local
1594 compressed_seg = lsp->ls_comp_bufs[j].buf; in lofi_strategy_task()
1599 error = lofi_mapped_rdwr((caddr_t)compressed_seg, salign, in lofi_strategy_task()
1610 cmpbuf = compressed_seg + sdiff; in lofi_strategy_task()
1710 if (compressed_seg != NULL) { in lofi_strategy_task()