Searched refs:bdev_io_opt (Results 1 – 7 of 7) sorted by relevance
48 id->nows = to0based(bdev_io_opt(bdev) / bdev_logical_block_size(bdev)); in nvmet_bdev_set_limits()
534 return put_uint(argp, bdev_io_opt(bdev)); in blkdev_common_ioctl()
1130 return bdev_io_opt(bd); in iblock_get_io_opt()
1184 static inline int bdev_io_opt(struct block_device *bdev) in bdev_io_opt() function
206 if (bdev_io_opt(bdev) > bdev_logical_block_size(bdev)) in optimal_io_size()207 return roundup(last_page_size, bdev_io_opt(bdev)); in optimal_io_size()
720 int opt_iosize = bdev_io_opt(rdev->bdev) >> 9; in read_balance()
948 p->qlim->io_opt = cpu_to_be32(bdev_io_opt(bdev)); in drbd_send_sizes()