Lines Matching defs:bio
125 bool dm_is_zone_write(struct mapped_device *md, struct bio *bio)
132 switch (bio_op(bio)) {
135 return !op_is_flush(bio->bi_opf) && bio_sectors(bio);
368 unsigned int zno, struct bio *clone)
464 struct bio *clone)
474 struct bio *clone)
487 static bool dm_need_zone_wp_tracking(struct bio *bio)
495 if (op_is_flush(bio->bi_opf) && !bio_sectors(bio))
497 switch (bio_op(bio)) {
503 return bio_zone_is_seq(bio);
517 struct bio *clone = &tio->clone;
538 * Check that the bio and the target zone write pointer offset are
539 * both valid, and if the bio is a zone append, remap it to a write.
585 void dm_zone_endio(struct dm_io *io, struct bio *clone)
589 struct bio *orig_bio = io->orig_bio;
600 * and add that to the original bio sector position.