Lines Matching refs:evcn1

892 	CLST hint, svcn, to_alloc, evcn1, next_svcn, asize, end, vcn0, alen;  in attr_data_get_block()  local
946 evcn1 = le64_to_cpu(attr_b->nres.evcn) + 1; in attr_data_get_block()
952 if (le_b && (vcn < svcn || evcn1 <= vcn)) { in attr_data_get_block()
960 evcn1 = le64_to_cpu(attr->nres.evcn) + 1; in attr_data_get_block()
1006 if (vcn < svcn || evcn1 <= vcn) { in attr_data_get_block()
1015 evcn1 = le64_to_cpu(attr->nres.evcn) + 1; in attr_data_get_block()
1028 if (vcn > evcn1) { in attr_data_get_block()
1029 if (!run_add_entry(run, evcn1, SPARSE_LCN, vcn - evcn1, in attr_data_get_block()
1069 err = mi_pack_runs(mi, attr, run, max(end, evcn1) - svcn); in attr_data_get_block()
1083 if (end <= evcn1) { in attr_data_get_block()
1084 if (next_svcn == evcn1) { in attr_data_get_block()
1123 svcn = evcn1; in attr_data_get_block()
1150 evcn1 = evcn + 1; in attr_data_get_block()
1175 evcn1 = evcn + 1; in attr_data_get_block()
1177 err = mi_pack_runs(mi, attr, run, evcn1 - next_svcn); 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()
1213 mi_pack_runs(mi, attr, run, max(end, evcn1) - svcn)) { in attr_data_get_block()
1623 CLST svcn, evcn1, next_svcn, len; in attr_allocate_frame() local
1639 evcn1 = le64_to_cpu(attr_b->nres.evcn) + 1; in attr_allocate_frame()
1642 if (svcn <= vcn && vcn < evcn1) { in attr_allocate_frame()
1658 evcn1 = le64_to_cpu(attr->nres.evcn) + 1; in attr_allocate_frame()
1712 err = mi_pack_runs(mi, attr, run, max(end, evcn1) - svcn); in attr_allocate_frame()
1725 if (end <= evcn1) { in attr_allocate_frame()
1726 if (next_svcn == evcn1) { in attr_allocate_frame()
1749 svcn = evcn1; in attr_allocate_frame()
1772 evcn1 = evcn + 1; in attr_allocate_frame()
1798 evcn1 = evcn + 1; in attr_allocate_frame()
1800 err = mi_pack_runs(mi, attr, run, evcn1 - next_svcn); in attr_allocate_frame()
1811 if (evcn1 > next_svcn) { in attr_allocate_frame()
1813 next_svcn, evcn1 - next_svcn, in attr_allocate_frame()
1844 CLST svcn, evcn1, len, dealloc, alen; in attr_collapse_range() local
1909 evcn1 = le64_to_cpu(attr_b->nres.evcn) + 1; in attr_collapse_range()
1911 if (svcn <= vcn && vcn < evcn1) { in attr_collapse_range()
1928 evcn1 = le64_to_cpu(attr->nres.evcn) + 1; in attr_collapse_range()
1935 attr->nres.evcn = cpu_to_le64(evcn1 - 1 - len); in attr_collapse_range()
1941 } else if (svcn < vcn || end < evcn1) { in attr_collapse_range()
1949 eat = min(end, evcn1) - vcn1; in attr_collapse_range()
1970 err = mi_pack_runs(mi, attr, run, evcn1 - svcn - eat); in attr_collapse_range()
1975 if (next_svcn + eat < evcn1) { in attr_collapse_range()
1978 evcn1 - eat - next_svcn, a_flags, &attr, in attr_collapse_range()
1999 evcn1 - 1, svcn, Add2Ptr(attr, roff), in attr_collapse_range()
2013 if (evcn1 >= alen) in attr_collapse_range()
2035 if (evcn1 >= alen) in attr_collapse_range()
2046 evcn1 = le64_to_cpu(attr->nres.evcn) + 1; in attr_collapse_range()
2102 CLST svcn, evcn1, vcn, len, end, alen, hole, next_svcn; in attr_punch_hole() local
2171 evcn1 = le64_to_cpu(attr_b->nres.evcn) + 1; in attr_punch_hole()
2174 if (svcn <= vcn && vcn < evcn1) { in attr_punch_hole()
2191 evcn1 = le64_to_cpu(attr->nres.evcn) + 1; in attr_punch_hole()
2201 zero = min(end, evcn1) - vcn1; in attr_punch_hole()
2228 err = mi_pack_runs(mi, attr, run, evcn1 - svcn); in attr_punch_hole()
2232 if (next_svcn < evcn1) { in attr_punch_hole()
2236 evcn1 - next_svcn, a_flags, in attr_punch_hole()
2252 if (evcn1 >= alen) in attr_punch_hole()
2263 evcn1 = le64_to_cpu(attr->nres.evcn) + 1; in attr_punch_hole()
2302 if (mi_pack_runs(mi, attr, &run2, evcn1 - svcn)) in attr_punch_hole()
2320 CLST vcn, svcn, evcn1, len, next_svcn; in attr_insert_range() local
2405 evcn1 = le64_to_cpu(attr_b->nres.evcn) + 1; in attr_insert_range()
2407 if (svcn <= vcn && vcn < evcn1) { in attr_insert_range()
2424 evcn1 = le64_to_cpu(attr->nres.evcn) + 1; in attr_insert_range()
2438 err = mi_pack_runs(mi, attr, run, evcn1 + len - svcn); 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()
2508 evcn1 = le64_to_cpu(attr_b->nres.evcn) + 1; in attr_insert_range()
2510 if (svcn <= vcn && vcn < evcn1) { in attr_insert_range()
2525 evcn1 = le64_to_cpu(attr->nres.evcn) + 1; in attr_insert_range()
2534 if (mi_pack_runs(mi, attr, run, evcn1 + len - svcn)) in attr_insert_range()