Lines Matching refs:sectorsize
136 const u32 sectorsize) in copy_compressed_data_to_page() argument
150 ASSERT((*cur_out / sectorsize) == (*cur_out + LZO_LEN - 1) / sectorsize); in copy_compressed_data_to_page()
170 u32 copy_len = min_t(u32, sectorsize - *cur_out % sectorsize, in copy_compressed_data_to_page()
198 sector_bytes_left = round_up(*cur_out, sectorsize) - *cur_out; in copy_compressed_data_to_page()
217 const u32 sectorsize = inode_to_fs_info(mapping->host)->sectorsize; in lzo_compress_folios() local
240 const u32 sectorsize_mask = sectorsize - 1; in lzo_compress_folios()
253 in_len = min_t(u32, start + len - cur_in, sectorsize - sector_off); in lzo_compress_folios()
269 &cur_out, sectorsize); in lzo_compress_folios()
279 if (cur_in - start > sectorsize * 2 && cur_in - start < cur_out) { in lzo_compress_folios()
335 const u32 sectorsize = fs_info->sectorsize; in lzo_decompress_bio() local
358 round_up(len_in, sectorsize) < cb->compressed_len)) { in lzo_decompress_bio()
374 size_t out_len = lzo1x_worst_compress(sectorsize); in lzo_decompress_bio()
380 ASSERT(cur_in / sectorsize == in lzo_decompress_bio()
381 (cur_in + LZO_LEN - 1) / sectorsize); in lzo_decompress_bio()
429 sector_bytes_left = sectorsize - (cur_in % sectorsize); in lzo_decompress_bio()
446 const u32 sectorsize = fs_info->sectorsize; in lzo_decompress() local
467 out_len = sectorsize; in lzo_decompress()
480 ASSERT(out_len <= sectorsize); in lzo_decompress()