Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/lofiadm/
H A Dmain.c1409 uchar_t *uncompressed_seg = NULL; in lofi_compress() local
1452 uncompressed_seg = (uchar_t *)malloc(segsize); in lofi_compress()
1454 if (compressed_seg == NULL || uncompressed_seg == NULL) in lofi_compress()
1541 rbytes = read(uncompfd, uncompressed_seg, segsize); in lofi_compress()
1555 (void) li->l_compress(uncompressed_seg, rbytes, in lofi_compress()
1571 (void) memcpy(compressed_seg + SEGHDR, uncompressed_seg, in lofi_compress()
1679 uncompressed_seg[i] = '\0'; in lofi_compress()
1680 if (write(compfd, uncompressed_seg, offset) != offset) in lofi_compress()
1702 if (uncompressed_seg != NULL) in lofi_compress()
1703 free(uncompressed_seg); in lofi_compress()
/titanic_50/usr/src/uts/common/io/
H A Dlofi.c1064 uchar_t *uncompressed_seg = NULL; in lofi_strategy_task() local
1256 if (uncompressed_seg == NULL) in lofi_strategy_task()
1257 uncompressed_seg = in lofi_strategy_task()
1260 useg = uncompressed_seg; in lofi_strategy_task()
1264 (cmpbytes - SEGHDR), uncompressed_seg, in lofi_strategy_task()
1293 if (uncompressed_seg == NULL) in lofi_strategy_task()
1306 uncompressed_seg)) != NULL) { in lofi_strategy_task()
1307 uncompressed_seg = NULL; in lofi_strategy_task()
1317 if (uncompressed_seg != NULL) in lofi_strategy_task()
1318 kmem_free(uncompressed_seg, lsp->ls_uncomp_seg_sz); in lofi_strategy_task()