Lines Matching defs:start

222 	 * We are guaranteed to succeed from here so can start modifying the
282 * disc => Discontinuity between the end of @dst and the start of @src.
306 * We are guaranteed to succeed from here so can start modifying the
395 * We are guaranteed to succeed from here so can start modifying the
467 * We are guaranteed to succeed from here so can start modifying the
554 /* Insert start element at the front of the runlist. */
565 /* Skip any unmapped start element(s) in the source runlist. */
609 bool start;
614 start = ((drl[dins].lcn < LCN_RL_NOT_MAPPED) || /* End of file */
628 ntfs_debug("start = %i, finish = %i", start, finish);
631 if (start) {
760 /* Get start of the mapping pairs array. */
1613 * @start: starting VCN of the hole to be created
1616 * Punch a hole into the runlist @runlist starting at VCN @start and of size
1622 * If @start and/or @start + @length are outside the runlist return error code
1625 * If the runlist contains unmapped or error elements between @start and @start
1631 const VCN start, const s64 length)
1633 const VCN end = start + length;
1639 ntfs_debug("Entering for start 0x%llx, length 0x%llx.",
1640 (long long)start, (long long)length);
1642 BUG_ON(start < 0);
1647 if (likely(!start && !length))
1651 /* Find @start in the runlist. */
1652 while (likely(rl->length && start >= rl[1].vcn))
1665 /* This covers @start being out of bounds, too. */
1677 /* If @start is in a hole simply extend the hole. */
1680 * If both @start and @end are in the same sparse run, we are
1728 * If @start is at the beginning of a run things are easier as there is
1731 if (start == rl->vcn) {
1733 * @start is at the beginning of a run.
1741 * case of "@start is in a hole".
1752 * The final case is when @end is in the same run as @start.
1755 * @start, and @end and one for the remaining non-sparse
1784 * @start is neither in a hole nor at the beginning of a run.
1787 * @start is in to end at @start - 1, deleting all runs after that up
1789 * to be @start is all that is needed.
1792 /* Truncate the run containing @start. */
1793 rl->length = start - rl->vcn;
1799 /* Extend the beginning of the run @end is in to be @start. */
1800 rl->vcn = start;
1801 rl->length = rl[1].vcn - start;
1806 * Either @end is or is not in the same run as @start.
1809 * problem by truncating the run @start is in to end at @start - 1.
1813 * problem to the already covered case of "@start is in a hole".
1818 * case of "@start is in a hole".
1821 /* Truncate the run containing @start. */
1822 rl->length = start - rl->vcn;
1824 rl->vcn = start;
1838 /* Truncate the run containing @start. */
1839 rl->length = start - rl->vcn;
1843 * where "@start is at the beginning of a run and @end is in
1844 * the same run as @start".
1846 delta = rl->vcn - start;
1847 rl->vcn = start;
1857 * The first case from above, i.e. @end is in the same run as @start.
1859 * region between the beginning of the old run and @start, one for the
1860 * sparse region between @start and @end, and one for the remaining
1876 rl->length = start - rl->vcn;
1878 rl->vcn = start;