Lines Matching refs:next_svcn
415 CLST next_svcn, pre_alloc = -1, done = 0; in attr_set_size() local
597 next_svcn = le64_to_cpu(attr->nres.evcn) + 1; in attr_set_size()
598 new_alloc_tmp = (u64)next_svcn << cluster_bits; in attr_set_size()
602 if (next_svcn >= vcn && !to_allocate) { in attr_set_size()
609 if (is_mft && next_svcn == vcn && in attr_set_size()
617 old_alen = next_svcn; in attr_set_size()
630 if (next_svcn < vcn) in attr_set_size()
645 if (next_svcn >= vcn) { in attr_set_size()
652 next_svcn, vcn - next_svcn, in attr_set_size()
892 CLST hint, svcn, to_alloc, evcn1, next_svcn, asize, end, vcn0, alen; in attr_data_get_block() local
1081 next_svcn = le64_to_cpu(attr->nres.evcn) + 1; in attr_data_get_block()
1084 if (next_svcn == evcn1) { in attr_data_get_block()
1137 if (end < next_svcn) in attr_data_get_block()
1138 end = next_svcn; in attr_data_get_block()
1176 attr->nres.svcn = cpu_to_le64(next_svcn); in attr_data_get_block()
1177 err = mi_pack_runs(mi, attr, run, evcn1 - next_svcn); in attr_data_get_block()
1181 le->vcn = cpu_to_le64(next_svcn); in attr_data_get_block()
1184 next_svcn = le64_to_cpu(attr->nres.evcn) + 1; in attr_data_get_block()
1187 if (evcn1 > next_svcn) { in attr_data_get_block()
1189 next_svcn, evcn1 - next_svcn, in attr_data_get_block()
1623 CLST svcn, evcn1, next_svcn, len; in attr_allocate_frame() local
1723 next_svcn = le64_to_cpu(attr->nres.evcn) + 1; in attr_allocate_frame()
1726 if (next_svcn == evcn1) { in attr_allocate_frame()
1759 if (end < next_svcn) in attr_allocate_frame()
1760 end = next_svcn; in attr_allocate_frame()
1799 attr->nres.svcn = cpu_to_le64(next_svcn); in attr_allocate_frame()
1800 err = mi_pack_runs(mi, attr, run, evcn1 - next_svcn); in attr_allocate_frame()
1804 le->vcn = cpu_to_le64(next_svcn); in attr_allocate_frame()
1808 next_svcn = le64_to_cpu(attr->nres.evcn) + 1; in attr_allocate_frame()
1811 if (evcn1 > next_svcn) { in attr_allocate_frame()
1813 next_svcn, evcn1 - next_svcn, in attr_allocate_frame()
1942 CLST vcn1, eat, next_svcn; in attr_collapse_range() local
1974 next_svcn = le64_to_cpu(attr->nres.evcn) + 1; in attr_collapse_range()
1975 if (next_svcn + eat < evcn1) { in attr_collapse_range()
1977 ni, ATTR_DATA, NULL, 0, run, next_svcn, in attr_collapse_range()
1978 evcn1 - eat - next_svcn, a_flags, &attr, in attr_collapse_range()
2102 CLST svcn, evcn1, vcn, len, end, alen, hole, next_svcn; in attr_punch_hole() local
2231 next_svcn = le64_to_cpu(attr->nres.evcn) + 1; in attr_punch_hole()
2232 if (next_svcn < evcn1) { in attr_punch_hole()
2235 next_svcn, in attr_punch_hole()
2236 evcn1 - next_svcn, a_flags, in attr_punch_hole()
2320 CLST vcn, svcn, evcn1, len, next_svcn; in attr_insert_range() local
2442 next_svcn = le64_to_cpu(attr->nres.evcn) + 1; in attr_insert_range()
2455 if (next_svcn < evcn1 + len) { in attr_insert_range()
2457 next_svcn, evcn1 + len - next_svcn, in attr_insert_range()