Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/io/
H A Dlofi.c1825 uint32_t index_sz, header_len, i; in lofi_map_compressed_file() local
1872 index_sz = sizeof (*lsp->ls_comp_seg_index) * lsp->ls_comp_index_sz; in lofi_map_compressed_file()
1877 lsp->ls_comp_offbase = header_len + index_sz; in lofi_map_compressed_file()
1879 index_sz += header_len; in lofi_map_compressed_file()
1880 index_sz = roundup(index_sz, DEV_BSIZE); in lofi_map_compressed_file()
1882 lsp->ls_comp_index_data = kmem_alloc(index_sz, KM_SLEEP); in lofi_map_compressed_file()
1883 lsp->ls_comp_index_data_sz = index_sz; in lofi_map_compressed_file()
1890 error = vn_rdwr(rw, lsp->ls_vp, lsp->ls_comp_index_data, index_sz, in lofi_map_compressed_file()
/titanic_41/usr/src/cmd/lofiadm/
H A Dmain.c1412 uint32_t index_entries, index_sz; in lofi_compress() local
1524 index_sz = (statbuf.st_size / segsize) + 2; in lofi_compress()
1525 index = malloc(sizeof (*index) * index_sz); in lofi_compress()