Lines Matching defs:bio
20 #include <linux/bio.h>
32 * If you see a "bio too big" error in the log you will need to raise this
45 struct bio *bio;
53 static blk_qc_t rsxx_submit_bio(struct bio *bio);
113 bio_end_io_acct(meta->bio, meta->start_time);
116 bio_io_error(meta->bio);
118 bio_endio(meta->bio);
123 static blk_qc_t rsxx_submit_bio(struct bio *bio)
125 struct rsxx_cardinfo *card = bio->bi_disk->private_data;
129 blk_queue_split(&bio);
136 if (bio_end_sector(bio) > get_capacity(card->gendisk))
145 if (bio->bi_iter.bi_size == 0) {
156 bio_meta->bio = bio;
161 bio_meta->start_time = bio_start_io_acct(bio);
164 bio_data_dir(bio) ? 'W' : 'R', bio_meta,
165 (u64)bio->bi_iter.bi_sector << 9, bio->bi_iter.bi_size);
167 st = rsxx_dma_queue_bio(card, bio, &bio_meta->pending_dmas,
178 bio->bi_status = st;
179 bio_endio(bio);