Lines Matching defs:next
309 * we can skip trailing ones as they will be handled in the next
1069 struct bio *last = ioend->io_bio, *next;
1074 for (bio = &ioend->io_inline_bio; bio; bio = next) {
1083 next = NULL;
1085 next = bio->bi_private;
1122 iomap_ioend_can_merge(struct iomap_ioend *ioend, struct iomap_ioend *next)
1124 if (ioend->io_bio->bi_status != next->io_bio->bi_status)
1127 (next->io_flags & IOMAP_F_SHARED))
1130 (next->io_type == IOMAP_UNWRITTEN))
1132 if (ioend->io_offset + ioend->io_size != next->io_offset)
1140 struct iomap_ioend *next))
1142 struct iomap_ioend *next;
1146 while ((next = list_first_entry_or_null(more_ioends, struct iomap_ioend,
1148 if (!iomap_ioend_can_merge(ioend, next))
1150 list_move_tail(&next->io_list, &ioend->io_list);
1151 ioend->io_size += next->io_size;
1152 if (next->io_private && merge_private)
1153 merge_private(ioend, next);
1344 struct iomap_ioend *ioend, *next;
1411 list_for_each_entry_safe(ioend, next, &submit_list, io_list) {