Lines Matching refs:cluster_size_bits
194 if (total + (rl[i].length << vol->cluster_size_bits) >=
203 * rl[i].length << vol->cluster_size_bits, do the
211 intbuf = ntfs_malloc(rl[i].length << vol->cluster_size_bits);
228 vol->cluster_size_bits, rl[i].length <<
229 vol->cluster_size_bits, intbuf);
230 if (r != rl[i].length << vol->cluster_size_bits) {
235 vol->cluster_size_bits) {
263 r = ntfs_pread(vol->dev, rl[i].lcn << vol->cluster_size_bits,
264 rl[i].length << vol->cluster_size_bits,
266 if (r != rl[i].length << vol->cluster_size_bits) {
270 else if (r < rl[i].length << vol->cluster_size_bits) {
351 vol->cluster_size_bits);
609 vol->cluster_size_bits;
849 rl = ntfs_attr_find_vcn(na, pos >> vol->cluster_size_bits);
867 ofs = pos - (rl->vcn << vol->cluster_size_bits);
880 ofs = pos + total - (rl->vcn << vol->cluster_size_bits);
896 vol->cluster_size_bits) - ofs);
905 to_read = min(count, (rl->length << vol->cluster_size_bits) -
911 br = ntfs_pread(vol->dev, (rl->lcn << vol->cluster_size_bits) +
1026 to_write = min(count, ((*rl)->length << vol->cluster_size_bits) - *ofs);
1029 from_vcn = (*rl)->vcn + (*ofs >> vol->cluster_size_bits);
1072 ((*ofs + to_write - 1) >> vol->cluster_size_bits)
1115 if (ntfs_attr_fill_zero(na, cur_vcn << vol->cluster_size_bits,
1124 *ofs += (cur_vcn - (*rl)->vcn) << vol->cluster_size_bits;
1130 *ofs -= ((*rl)->vcn - cur_vcn) << vol->cluster_size_bits;
1292 rl = ntfs_attr_find_vcn(na, pos >> vol->cluster_size_bits);
1310 ofs = pos - (rl->vcn << vol->cluster_size_bits);
1323 ofs = pos + total - (rl->vcn << vol->cluster_size_bits);
1346 to_write = min(count, (rl->length << vol->cluster_size_bits) - ofs);
1353 s64 wpos = (rl->lcn << vol->cluster_size_bits) + ofs;
1354 s64 wend = (rl->vcn << vol->cluster_size_bits) + ofs + to_write;
1366 (wend < (hole_end << vol->cluster_size_bits)))){
3691 vol->cluster_size_bits, -1, DATA_ZONE);
3769 vol->cluster_size_bits);
4686 vol->cluster_size_bits;
4691 if ((na->allocated_size >> vol->cluster_size_bits) != first_free_vcn) {
4719 na->allocated_size = first_free_vcn << vol->cluster_size_bits;
4823 vol->cluster_size_bits;
4828 if ((na->allocated_size >> vol->cluster_size_bits) < first_free_vcn) {
4844 vol->cluster_size_bits);
4847 (na->allocated_size >> vol->cluster_size_bits);
4878 vol->cluster_size_bits, first_free_vcn -
4880 vol->cluster_size_bits), lcn_seek_from,
4887 vol->cluster_size_bits));
4906 na->allocated_size = first_free_vcn << vol->cluster_size_bits;
4909 vol->cluster_size_bits*/)) {
4955 vol->cluster_size_bits, -1) < 0) {
4961 vol->cluster_size_bits)) {
4974 vol->cluster_size_bits*/)) {