Lines Matching refs:blk_size
1310 u32 v, blk_size, max_size, sg_elems, opt_io_size; in virtblk_probe() local
1429 struct virtio_blk_config, blk_size, in virtblk_probe()
1430 &blk_size); in virtblk_probe()
1432 err = blk_validate_block_size(blk_size); in virtblk_probe()
1436 blk_size); in virtblk_probe()
1440 blk_queue_logical_block_size(q, blk_size); in virtblk_probe()
1442 blk_size = queue_logical_block_size(q); in virtblk_probe()
1450 blk_size * (1 << physical_block_exp)); in virtblk_probe()
1456 blk_queue_alignment_offset(q, blk_size * alignment_offset); in virtblk_probe()
1462 blk_queue_io_min(q, blk_size * min_io_size); in virtblk_probe()
1468 blk_queue_io_opt(q, blk_size * opt_io_size); in virtblk_probe()
1564 q->limits.discard_granularity = blk_size; in virtblk_probe()