Lines Matching refs:bi_bdev
426 struct gendisk *disk = bio->bi_bdev->bd_disk; in __bio_queue_enter()
624 if (op_is_write(bio_op(bio)) && bdev_read_only(bio->bi_bdev)) { in bio_check_ro()
632 bio_devname(bio, b), bio->bi_bdev->bd_partno); in bio_check_ro()
642 if (should_fail_request(bdev_whole(bio->bi_bdev), bio->bi_iter.bi_size)) in should_fail_bio()
655 sector_t maxsector = bdev_nr_sectors(bio->bi_bdev); in bio_check_eod()
672 struct block_device *p = bio->bi_bdev; in blk_partition_remap()
723 struct block_device *bdev = bio->bi_bdev; in submit_bio_checks()
848 struct gendisk *disk = bio->bi_bdev->bd_disk; in __submit_bio()
885 struct request_queue *q = bdev_get_queue(bio->bi_bdev); in __submit_bio_noacct()
903 if (q == bdev_get_queue(bio->bi_bdev)) in __submit_bio_noacct()
951 else if (!bio->bi_bdev->bd_disk->fops->submit_bio) in submit_bio_noacct()
985 bdev_get_queue(bio->bi_bdev)) >> 9; in submit_bio()
1031 struct request_queue *q = bdev_get_queue(bio->bi_bdev); in bio_poll()
1085 if (bio && bio->bi_bdev) in iocb_bio_iopoll()
1250 if (rq->bio && rq->bio->bi_bdev) in __blk_account_io_start()
1251 rq->part = rq->bio->bi_bdev; in __blk_account_io_start()
1284 return __part_start_io_acct(bio->bi_bdev, bio_sectors(bio), bio_op(bio)); in bio_start_io_acct()