Searched refs:physical_block_size (Results 1 – 22 of 22) sorted by relevance
57 lim->logical_block_size = lim->physical_block_size = lim->io_min = 512; in blk_set_default_limits()326 if (q->limits.physical_block_size < size) in blk_queue_logical_block_size()327 q->limits.physical_block_size = size; in blk_queue_logical_block_size()329 if (q->limits.io_min < q->limits.physical_block_size) in blk_queue_logical_block_size()330 q->limits.io_min = q->limits.physical_block_size; in blk_queue_logical_block_size()346 q->limits.physical_block_size = size; in blk_queue_physical_block_size()348 if (q->limits.physical_block_size < q->limits.logical_block_size) in blk_queue_physical_block_size()349 q->limits.physical_block_size = q->limits.logical_block_size; in blk_queue_physical_block_size()351 if (q->limits.io_min < q->limits.physical_block_size) in blk_queue_physical_block_size()352 q->limits.io_min = q->limits.physical_block_size; in blk_queue_physical_block_size()[all …]
121 u16 physical_block_size; member
137 __le16 physical_block_size; member
84 dev->physical_block_size = le16_to_cpu(rsp->physical_block_size); in rnbd_clt_set_dev_attr()1287 blk_queue_physical_block_size(dev->queue, dev->physical_block_size); in setup_request_queue()1533 dev->logical_block_size, dev->physical_block_size, in rnbd_clt_map_device()
545 rsp->physical_block_size = in rnbd_srv_fill_msg_open_rsp()
828 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()2420 sdkp->physical_block_size = (1 << (buffer[13] & 0xf)) * sector_size; in read_capacity_16()2496 sdkp->physical_block_size = sector_size; in read_capacity_10()2501 sdkp->physical_block_size = sector_size; in read_capacity_10()2609 sdkp->physical_block_size); in sd_read_capacity()2640 if (sdkp->physical_block_size != sector_size) in sd_print_capacity()2643 sdkp->physical_block_size); in sd_print_capacity()3171 if (opt_xfer_bytes & (sdkp->physical_block_size - 1)) { in sd_validate_opt_xfer_size()[all …]
101 unsigned int physical_block_size; member
424 limits->physical_block_size = to_bytes(ec->u_bs); in ebs_io_hints()425 limits->alignment_offset = limits->physical_block_size; in ebs_io_hints()
898 limits->physical_block_size = bdev_physical_block_size(lc->dev->bdev); in log_writes_io_hints()899 limits->io_min = limits->physical_block_size; in log_writes_io_hints()
805 if (limits->physical_block_size < 1 << v->data_dev_block_bits) in verity_io_hints()806 limits->physical_block_size = 1 << v->data_dev_block_bits; in verity_io_hints()
1002 limits->physical_block_size = DMZ_BLOCK_SIZE; in dmz_io_hints()
1521 if (limits->physical_block_size < wc->block_size) in writecache_io_hints()1522 limits->physical_block_size = wc->block_size; in writecache_io_hints()
438 q->limits.physical_block_size, in dm_set_device_limits()
3568 limits->physical_block_size = in crypt_io_hints()3569 max_t(unsigned, limits->physical_block_size, cc->sector_size); in crypt_io_hints()
3222 limits->physical_block_size = ic->sectors_per_block << SECTOR_SHIFT; in dm_integrity_io_hints()
324 u32 physical_block_size; member
925 p->qlim->physical_block_size = cpu_to_be32(queue_physical_block_size(q)); in assign_p_sizes_qlim()934 p->qlim->physical_block_size = cpu_to_be32(queue_physical_block_size(q)); in assign_p_sizes_qlim()
118 What: /sys/block/<disk>/queue/physical_block_size127 devices the physical_block_size variable contains the128 maximum physical_block_size of the component devices.
336 unsigned int physical_block_size; member1458 return q->limits.physical_block_size; in queue_physical_block_size()1496 unsigned int granularity = max(lim->physical_block_size, lim->io_min); in queue_limit_alignment_offset()
15 const u32 lpp = ql->physical_block_size / ql->logical_block_size; in nvmet_bdev_set_limits()
193 physical_block_size (RO)
973 q->limits.physical_block_size = block_size; in bcache_device_init()