Searched refs:physical_block_size (Results 1 – 20 of 20) sorted by relevance
54 lim->logical_block_size = lim->physical_block_size = lim->io_min = 512; in blk_set_default_limits()315 if (limits->physical_block_size < size) in blk_queue_logical_block_size()316 limits->physical_block_size = size; in blk_queue_logical_block_size()318 if (limits->io_min < limits->physical_block_size) in blk_queue_logical_block_size()319 limits->io_min = limits->physical_block_size; in blk_queue_logical_block_size()340 q->limits.physical_block_size = size; in blk_queue_physical_block_size()342 if (q->limits.physical_block_size < q->limits.logical_block_size) in blk_queue_physical_block_size()343 q->limits.physical_block_size = q->limits.logical_block_size; in blk_queue_physical_block_size()345 if (q->limits.io_min < q->limits.physical_block_size) in blk_queue_physical_block_size()346 q->limits.io_min = q->limits.physical_block_size; in blk_queue_physical_block_size()[all …]
172 unsigned pbs = lim->physical_block_size >> SECTOR_SHIFT; in get_max_io_size()
832 max(sdkp->physical_block_size, in sd_config_discard()1036 sdkp->physical_block_size > logical_block_size) { in sd_config_write_same()1052 sdkp->physical_block_size)); in sd_config_write_same()2515 sdkp->physical_block_size = (1 << (buffer[13] & 0xf)) * sector_size; in read_capacity_16()2594 sdkp->physical_block_size = sector_size; in read_capacity_10()2599 sdkp->physical_block_size = sector_size; in read_capacity_10()2707 sdkp->physical_block_size); in sd_read_capacity()2738 if (sdkp->physical_block_size != sector_size) in sd_print_capacity()2741 sdkp->physical_block_size); in sd_print_capacity()3140 blk_queue_zone_write_granularity(q, sdkp->physical_block_size); in sd_read_block_characteristics()[all …]
125 unsigned int physical_block_size; member
152 __le16 physical_block_size; member
543 rsp->physical_block_size = cpu_to_le16(bdev_physical_block_size(bdev)); in rnbd_srv_fill_msg_open_rsp()
1338 le16_to_cpu(rsp->physical_block_size)); in setup_request_queue()1632 le16_to_cpu(rsp->physical_block_size), in rnbd_clt_map_device()
429 limits->physical_block_size = to_bytes(ec->u_bs); in ebs_io_hints()430 limits->alignment_offset = limits->physical_block_size; in ebs_io_hints()
877 limits->physical_block_size = bdev_physical_block_size(lc->dev->bdev); in log_writes_io_hints()878 limits->io_min = limits->physical_block_size; in log_writes_io_hints()
987 if (limits->physical_block_size < 1 << v->data_dev_block_bits) in verity_io_hints()988 limits->physical_block_size = 1 << v->data_dev_block_bits; in verity_io_hints()
997 limits->physical_block_size = DMZ_BLOCK_SIZE; in dmz_io_hints()
1647 if (limits->physical_block_size < wc->block_size) in writecache_io_hints()1648 limits->physical_block_size = wc->block_size; in writecache_io_hints()
424 q->limits.physical_block_size, in dm_set_device_limits()
3704 limits->physical_block_size = in crypt_io_hints()3705 max_t(unsigned int, limits->physical_block_size, cc->sector_size); in crypt_io_hints()
3494 limits->physical_block_size = ic->sectors_per_block << SECTOR_SHIFT; in dm_integrity_io_hints()
326 u32 physical_block_size; member
941 p->qlim->physical_block_size = in drbd_send_sizes()954 p->qlim->physical_block_size = in drbd_send_sizes()
298 unsigned int physical_block_size; member1161 return q->limits.physical_block_size; in queue_physical_block_size()
514 What: /sys/block/<disk>/queue/physical_block_size523 physical_block_size variable contains the maximum524 physical_block_size of the component devices.
960 q->limits.physical_block_size = block_size; in bcache_device_init()