Lines Matching refs:comp_unit
41 u32 comp_unit; member
54 .comp_unit = 1U << 12,
60 .comp_unit = 1U << 13,
66 .comp_unit = 1U << 14,
72 .comp_unit = 1U << 15,
105 return round_up((size_t)ws->comp_unit + 511, 512); in ntfs_wof_input_size()
116 scratch_size = ws->codec->scratch_size(ws->comp_unit); in ntfs_wof_workspace_prepare()
120 output = kvmalloc(ws->comp_unit, GFP_NOFS); in ntfs_wof_workspace_prepare()
524 dst_len, ws->comp_unit); in ntfs_wof_decode()
711 chunk_idx = div_u64(folio_start, ws->comp_unit); in ntfs_read_wof_compressed_block()
713 div_u64(min_t(loff_t, folio_end, i_size) - 1, ws->comp_unit); in ntfs_read_wof_compressed_block()
714 chunk_count = DIV_ROUND_UP_ULL(i_size, ws->comp_unit); in ntfs_read_wof_compressed_block()
719 i_size - chunk_idx * ws->comp_unit : in ntfs_read_wof_compressed_block()
720 ws->comp_unit; in ntfs_read_wof_compressed_block()
734 chunk_idx * ws->comp_unit, in ntfs_read_wof_compressed_block()