Lines Matching refs:first
59 * The scheduler selects the next operation to issue by first looking for an
499 * (lio->io_offset + lio->io_size) minus start of the first (fio->io_offset).
509 zio_t *first, *last, *aio, *dio, *mandatory, *nio;
519 first = last = zio;
537 mandatory = (first->io_flags & ZIO_FLAG_OPTIONAL) ? NULL : first;
543 while ((dio = AVL_PREV(t, first)) != NULL &&
546 IO_GAP(dio, first) <= maxgap) {
547 first = dio;
548 if (mandatory == NULL && !(first->io_flags & ZIO_FLAG_OPTIONAL))
549 mandatory = first;
555 while ((first->io_flags & ZIO_FLAG_OPTIONAL) && first != last) {
556 first = AVL_NEXT(t, first);
557 ASSERT(first != NULL);
565 IO_SPAN(first, dio) <= zfs_vdev_aggregation_limit &&
600 while (last != mandatory && last != first) {
607 if (first == last)
610 size = IO_SPAN(first, last);
613 aio = zio_vdev_delegated_io(first->io_vd, first->io_offset,
614 zio_buf_alloc(size), size, first->io_type, zio->io_priority,
617 aio->io_timestamp = first->io_timestamp;
619 nio = first;