Lines Matching refs:evcn1
896 CLST hint, svcn, to_alloc, evcn1, next_svcn, asize, end, vcn0, alen; in attr_data_get_block() local
957 evcn1 = le64_to_cpu(attr_b->nres.evcn) + 1; in attr_data_get_block()
963 if (le_b && (vcn < svcn || evcn1 <= vcn)) { in attr_data_get_block()
971 evcn1 = le64_to_cpu(attr->nres.evcn) + 1; in attr_data_get_block()
1030 if (vcn < svcn || evcn1 <= vcn) { in attr_data_get_block()
1039 evcn1 = le64_to_cpu(attr->nres.evcn) + 1; in attr_data_get_block()
1052 if (vcn > evcn1) { in attr_data_get_block()
1053 if (!run_add_entry(run, evcn1, SPARSE_LCN, vcn - evcn1, in attr_data_get_block()
1093 err = mi_pack_runs(mi, attr, run, max(end, evcn1) - svcn); in attr_data_get_block()
1107 if (end <= evcn1) { in attr_data_get_block()
1108 if (next_svcn == evcn1) { in attr_data_get_block()
1147 svcn = evcn1; in attr_data_get_block()
1174 evcn1 = evcn + 1; in attr_data_get_block()
1199 evcn1 = evcn + 1; in attr_data_get_block()
1201 err = mi_pack_runs(mi, attr, run, evcn1 - next_svcn); in attr_data_get_block()
1211 if (evcn1 > next_svcn) { in attr_data_get_block()
1213 next_svcn, evcn1 - next_svcn, in attr_data_get_block()
1237 mi_pack_runs(mi, attr, run, max(end, evcn1) - svcn)) { in attr_data_get_block()
1647 CLST svcn, evcn1, next_svcn, len; in attr_allocate_frame() local
1663 evcn1 = le64_to_cpu(attr_b->nres.evcn) + 1; in attr_allocate_frame()
1666 if (svcn <= vcn && vcn < evcn1) { in attr_allocate_frame()
1682 evcn1 = le64_to_cpu(attr->nres.evcn) + 1; in attr_allocate_frame()
1736 err = mi_pack_runs(mi, attr, run, max(end, evcn1) - svcn); in attr_allocate_frame()
1750 if (end <= evcn1) { in attr_allocate_frame()
1751 if (next_svcn == evcn1) { in attr_allocate_frame()
1776 svcn = evcn1; in attr_allocate_frame()
1799 evcn1 = evcn + 1; in attr_allocate_frame()
1825 evcn1 = evcn + 1; in attr_allocate_frame()
1827 err = mi_pack_runs(mi, attr, run, evcn1 - next_svcn); in attr_allocate_frame()
1838 if (evcn1 > next_svcn) { in attr_allocate_frame()
1840 next_svcn, evcn1 - next_svcn, in attr_allocate_frame()
1873 CLST svcn, evcn1, len, dealloc, alen; in attr_collapse_range() local
1938 evcn1 = le64_to_cpu(attr_b->nres.evcn) + 1; in attr_collapse_range()
1940 if (svcn <= vcn && vcn < evcn1) { in attr_collapse_range()
1957 evcn1 = le64_to_cpu(attr->nres.evcn) + 1; in attr_collapse_range()
1964 attr->nres.evcn = cpu_to_le64(evcn1 - 1 - len); in attr_collapse_range()
1970 } else if (svcn < vcn || end < evcn1) { in attr_collapse_range()
1978 eat = min(end, evcn1) - vcn1; in attr_collapse_range()
1999 err = mi_pack_runs(mi, attr, run, evcn1 - svcn - eat); in attr_collapse_range()
2004 if (next_svcn + eat < evcn1) { in attr_collapse_range()
2007 evcn1 - eat - next_svcn, a_flags, &attr, in attr_collapse_range()
2028 evcn1 - 1, svcn, Add2Ptr(attr, roff), in attr_collapse_range()
2042 if (evcn1 >= alen) in attr_collapse_range()
2064 if (evcn1 >= alen) in attr_collapse_range()
2075 evcn1 = le64_to_cpu(attr->nres.evcn) + 1; in attr_collapse_range()
2131 CLST svcn, evcn1, vcn, len, end, alen, hole, next_svcn; in attr_punch_hole() local
2200 evcn1 = le64_to_cpu(attr_b->nres.evcn) + 1; in attr_punch_hole()
2203 if (svcn <= vcn && vcn < evcn1) { in attr_punch_hole()
2220 evcn1 = le64_to_cpu(attr->nres.evcn) + 1; in attr_punch_hole()
2230 zero = min(end, evcn1) - vcn1; in attr_punch_hole()
2257 err = mi_pack_runs(mi, attr, run, evcn1 - svcn); in attr_punch_hole()
2261 if (next_svcn < evcn1) { in attr_punch_hole()
2265 evcn1 - next_svcn, a_flags, in attr_punch_hole()
2281 if (evcn1 >= alen) in attr_punch_hole()
2292 evcn1 = le64_to_cpu(attr->nres.evcn) + 1; in attr_punch_hole()
2331 if (mi_pack_runs(mi, attr, &run2, evcn1 - svcn)) in attr_punch_hole()
2349 CLST vcn, svcn, evcn1, len, next_svcn; in attr_insert_range() local
2434 evcn1 = le64_to_cpu(attr_b->nres.evcn) + 1; in attr_insert_range()
2436 if (svcn <= vcn && vcn < evcn1) { in attr_insert_range()
2453 evcn1 = le64_to_cpu(attr->nres.evcn) + 1; in attr_insert_range()
2467 err = mi_pack_runs(mi, attr, run, evcn1 + len - svcn); in attr_insert_range()
2484 if (next_svcn < evcn1 + len) { in attr_insert_range()
2486 next_svcn, evcn1 + len - next_svcn, in attr_insert_range()
2537 evcn1 = le64_to_cpu(attr_b->nres.evcn) + 1; in attr_insert_range()
2539 if (svcn <= vcn && vcn < evcn1) { in attr_insert_range()
2554 evcn1 = le64_to_cpu(attr->nres.evcn) + 1; in attr_insert_range()
2563 if (mi_pack_runs(mi, attr, run, evcn1 + len - svcn)) in attr_insert_range()