• Home
  • Raw
  • Download

Lines Matching refs:cluster_size_bits

216 		if (total + (rl[i].length << vol->cluster_size_bits) >=  in ntfs_get_attribute_value()
240 >> vol->cluster_size_bits; in ntfs_get_attribute_value()
244 << vol->cluster_size_bits); in ntfs_get_attribute_value()
261 rl[i].lcn << vol->cluster_size_bits, in ntfs_get_attribute_value()
262 intlth << vol->cluster_size_bits, in ntfs_get_attribute_value()
264 if (r != intlth << vol->cluster_size_bits) { in ntfs_get_attribute_value()
269 vol->cluster_size_bits) { in ntfs_get_attribute_value()
297 r = ntfs_pread(vol->dev, rl[i].lcn << vol->cluster_size_bits, in ntfs_get_attribute_value()
298 rl[i].length << vol->cluster_size_bits, in ntfs_get_attribute_value()
300 if (r != rl[i].length << vol->cluster_size_bits) { in ntfs_get_attribute_value()
304 else if (r < rl[i].length << vol->cluster_size_bits) { in ntfs_get_attribute_value()
387 vol->cluster_size_bits); in ntfs_attr_init()
675 last_vcn = na->allocated_size >> na->ni->vol->cluster_size_bits; in ntfs_attr_map_partial_runlist()
807 vol->cluster_size_bits; in ntfs_attr_map_whole_runlist()
1108 rl = ntfs_attr_find_vcn(na, pos >> vol->cluster_size_bits); in ntfs_attr_pread_i()
1126 ofs = pos - (rl->vcn << vol->cluster_size_bits); in ntfs_attr_pread_i()
1139 ofs = pos + total - (rl->vcn << vol->cluster_size_bits); in ntfs_attr_pread_i()
1155 vol->cluster_size_bits) - ofs); in ntfs_attr_pread_i()
1164 to_read = min(count, (rl->length << vol->cluster_size_bits) - in ntfs_attr_pread_i()
1170 br = ntfs_pread(vol->dev, (rl->lcn << vol->cluster_size_bits) + in ntfs_attr_pread_i()
1266 vol->cluster_size_bits) <= pos)) { in ntfs_attr_fill_zero()
1267 ofsi += (rli->length << vol->cluster_size_bits); in ntfs_attr_fill_zero()
1278 && (ofsi + (rli->length << vol->cluster_size_bits) in ntfs_attr_fill_zero()
1281 + (rli->length << vol->cluster_size_bits)); in ntfs_attr_fill_zero()
1323 to_write = min(count, ((*rl)->length << vol->cluster_size_bits) - *ofs); in ntfs_attr_fill_hole()
1326 from_vcn = (*rl)->vcn + (*ofs >> vol->cluster_size_bits); in ntfs_attr_fill_hole()
1391 need = ((*ofs + to_write - 1) >> vol->cluster_size_bits) in ntfs_attr_fill_hole()
1426 na->compressed_size += need << vol->cluster_size_bits; in ntfs_attr_fill_hole()
1477 if (ntfs_attr_fill_zero(na, cur_vcn << vol->cluster_size_bits, in ntfs_attr_fill_hole()
1486 *ofs += (cur_vcn - (*rl)->vcn) << vol->cluster_size_bits; in ntfs_attr_fill_hole()
1492 *ofs -= ((*rl)->vcn - cur_vcn) << vol->cluster_size_bits; in ntfs_attr_fill_hole()
1521 int cluster_size_bits = na->ni->vol->cluster_size_bits; in split_compressed_hole() local
1541 int beginwrite = (pos >> cluster_size_bits) - rl->vcn; in split_compressed_hole()
1542 s32 endblock = (((pos + count - 1) >> cluster_size_bits) in split_compressed_hole()
1655 if (pos >= (rl[1].vcn << cluster_size_bits)) { in split_compressed_hole()
1683 int cluster_size_bits = na->ni->vol->cluster_size_bits; local
1693 …endblock = (((pos + count - 1) >> cluster_size_bits) | (na->compression_block_clusters - 1)) + 1 -…
1719 prevblock = pos >> cluster_size_bits;
1805 zrl->length << cluster_size_bits,
1810 while (zrl->vcn > (pos >> cluster_size_bits))
2019 block_begin = pos >> vol->cluster_size_bits;
2021 block_begin = na->initialized_size >> vol->cluster_size_bits;
2105 rl = ntfs_attr_find_vcn(na, pos >> vol->cluster_size_bits);
2176 ofs = pos - (rl->vcn << vol->cluster_size_bits);
2194 ofs = pos + total - (rl->vcn << vol->cluster_size_bits);
2217 && (ofs >= (rl->length << vol->cluster_size_bits))) {
2218 ofs -= rl->length << vol->cluster_size_bits;
2224 to_write = min(count, (rl->length << vol->cluster_size_bits) - ofs);
2231 s64 wpos = (rl->lcn << vol->cluster_size_bits) + ofs;
2232 s64 wend = (rl->vcn << vol->cluster_size_bits) + ofs + to_write;
2247 (wend < (hole_end << vol->cluster_size_bits)))){
2485 rl = ntfs_attr_find_vcn(na, (na->initialized_size - 1) >> vol->cluster_size_bits);
2527 ofs = na->initialized_size - (rl->vcn << vol->cluster_size_bits);
2540 ofs = na->initialized_size - (rl->vcn << vol->cluster_size_bits);
2560 && (ofs >= (rl->length << vol->cluster_size_bits))) {
2561 ofs -= rl->length << vol->cluster_size_bits;
5138 + vol->cluster_size_bits)) - 1)) + 1;
5142 vol->cluster_size_bits, -1, DATA_ZONE);
5165 = 1 << (STANDARD_COMPRESSION_UNIT + vol->cluster_size_bits);
5225 vol->cluster_size_bits);
6380 >> vol->cluster_size_bits;
6383 vol->cluster_size_bits;
6388 if ((na->allocated_size >> vol->cluster_size_bits) != first_free_vcn) {
6417 na->allocated_size = first_free_vcn << vol->cluster_size_bits;
6533 vol->cluster_size_bits;
6538 if ((na->allocated_size >> vol->cluster_size_bits) < first_free_vcn) {
6546 start_update = na->allocated_size >> vol->cluster_size_bits;
6571 vol->cluster_size_bits);
6574 (na->allocated_size >> vol->cluster_size_bits);
6605 vol->cluster_size_bits, first_free_vcn -
6607 vol->cluster_size_bits), lcn_seek_from,
6614 vol->cluster_size_bits));
6634 na->allocated_size = first_free_vcn << vol->cluster_size_bits;
6702 vol->cluster_size_bits, -1) < 0) {
6708 vol->cluster_size_bits)) {