Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/
H A Dlofi.c2523 uint32_t index_sz, header_len, i; in lofi_map_compressed_file() local
2570 index_sz = sizeof (*lsp->ls_comp_seg_index) * lsp->ls_comp_index_sz; in lofi_map_compressed_file()
2575 lsp->ls_comp_offbase = header_len + index_sz; in lofi_map_compressed_file()
2577 index_sz += header_len; in lofi_map_compressed_file()
2578 index_sz = roundup(index_sz, DEV_BSIZE); in lofi_map_compressed_file()
2580 lsp->ls_comp_index_data = kmem_alloc(index_sz, KM_SLEEP); in lofi_map_compressed_file()
2581 lsp->ls_comp_index_data_sz = index_sz; in lofi_map_compressed_file()
2588 error = vn_rdwr(rw, lsp->ls_vp, lsp->ls_comp_index_data, index_sz, in lofi_map_compressed_file()
/illumos-gate/usr/src/cmd/lofiadm/
H A Dmain.c1494 uint32_t index_entries, index_sz; in lofi_compress() local
1606 index_sz = (statbuf.st_size / segsize) + 2; in lofi_compress()
1607 index = malloc(sizeof (*index) * index_sz); in lofi_compress()