Lines Matching refs:new_length
1465 * @new_length: the new length of the runlist in VCNs
1468 * holding the runlist elements to a length of @new_length VCNs.
1470 * If @new_length lies within the runlist, the runlist elements with VCNs of
1471 * @new_length and above are discarded. As a special case if @new_length is
1474 * If @new_length lies beyond the runlist, a sparse runlist element is added to
1486 const s64 new_length)
1491 ntfs_debug("Entering for new_length 0x%llx.", (long long)new_length);
1493 BUG_ON(new_length < 0);
1495 if (!new_length) {
1505 * length @new_length followed by a terminator runlist element.
1516 rl[1].vcn = rl->length = new_length;
1520 BUG_ON(new_length < rl->vcn);
1521 /* Find @new_length in the runlist. */
1522 while (likely(rl->length && new_length >= rl[1].vcn))
1539 rl->length = new_length - rl->vcn;
1549 rl->vcn = new_length;
1566 } else if (likely(/* !rl->length && */ new_length > rl->vcn)) {
1574 (rl - 1)->length = new_length - (rl - 1)->vcn;
1594 rl->length = new_length - rl->vcn;
1599 rl->vcn = new_length;
1601 } else /* if (unlikely(!rl->length && new_length == rl->vcn)) */ {