Searched refs:uncompressed_seg (Results 1 – 2 of 2) sorted by relevance
/titanic_44/usr/src/cmd/lofiadm/ |
H A D | main.c | 1408 uchar_t *uncompressed_seg = NULL; in lofi_compress() local 1451 uncompressed_seg = (uchar_t *)malloc(segsize); in lofi_compress() 1453 if (compressed_seg == NULL || uncompressed_seg == NULL) in lofi_compress() 1540 rbytes = read(uncompfd, uncompressed_seg, segsize); in lofi_compress() 1554 (void) li->l_compress(uncompressed_seg, rbytes, in lofi_compress() 1570 (void) memcpy(compressed_seg + SEGHDR, uncompressed_seg, in lofi_compress() 1678 uncompressed_seg[i] = '\0'; in lofi_compress() 1679 if (write(compfd, uncompressed_seg, offset) != offset) in lofi_compress() 1701 if (uncompressed_seg != NULL) in lofi_compress() 1702 free(uncompressed_seg); in lofi_compress()
|
/titanic_44/usr/src/uts/common/io/ |
H A D | lofi.c | 1064 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()
|