Lines Matching refs:a_first
449 off_t first, last, a_first; in gpart_autofill() local
549 a_first = ALIGNUP(first + offset, alignment); in gpart_autofill()
551 if (a_first < start) in gpart_autofill()
552 a_first = start; in gpart_autofill()
557 if (first < a_lba && a_first < a_lba) { in gpart_autofill()
559 len = a_lba - a_first; in gpart_autofill()
563 start = a_first; in gpart_autofill()
567 if (start >= a_first && start < a_lba) { in gpart_autofill()
569 grade = start - a_first; in gpart_autofill()
573 start = a_first; in gpart_autofill()
582 if (first + offset > a_first) in gpart_autofill()
583 a_first = ALIGNUP(first + offset, alignment); in gpart_autofill()
585 if (a_first <= last) { in gpart_autofill()
587 len = ALIGNDOWN(last - a_first + 1, alignment); in gpart_autofill()
591 start = a_first; in gpart_autofill()
595 if (start >= a_first && start <= last) { in gpart_autofill()
597 grade = start - a_first; in gpart_autofill()
601 start = a_first; in gpart_autofill()