Home
last modified time | relevance | path

Searched refs:physical_block_size (Results 1 – 22 of 22) sorted by relevance

/kernel/linux/linux-5.10/block/
Dblk-settings.c57 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 …]
/kernel/linux/linux-5.10/drivers/block/rnbd/
Drnbd-clt.h121 u16 physical_block_size; member
Drnbd-proto.h137 __le16 physical_block_size; member
Drnbd-clt.c84 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()
Drnbd-srv.c545 rsp->physical_block_size = in rnbd_srv_fill_msg_open_rsp()
/kernel/linux/linux-5.10/drivers/scsi/
Dsd.c828 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 …]
Dsd.h101 unsigned int physical_block_size; member
/kernel/linux/linux-5.10/drivers/md/
Ddm-ebs-target.c424 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()
Ddm-log-writes.c898 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()
Ddm-verity-target.c805 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()
Ddm-zoned-target.c1002 limits->physical_block_size = DMZ_BLOCK_SIZE; in dmz_io_hints()
Ddm-writecache.c1521 if (limits->physical_block_size < wc->block_size) in writecache_io_hints()
1522 limits->physical_block_size = wc->block_size; in writecache_io_hints()
Ddm-table.c438 q->limits.physical_block_size, in dm_set_device_limits()
Ddm-crypt.c3568 limits->physical_block_size = in crypt_io_hints()
3569 max_t(unsigned, limits->physical_block_size, cc->sector_size); in crypt_io_hints()
Ddm-integrity.c3222 limits->physical_block_size = ic->sectors_per_block << SECTOR_SHIFT; in dm_integrity_io_hints()
/kernel/linux/linux-5.10/drivers/block/drbd/
Ddrbd_protocol.h324 u32 physical_block_size; member
Ddrbd_main.c925 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()
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-block118 What: /sys/block/<disk>/queue/physical_block_size
127 devices the physical_block_size variable contains the
128 maximum physical_block_size of the component devices.
/kernel/linux/linux-5.10/include/linux/
Dblkdev.h336 unsigned int physical_block_size; member
1458 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()
/kernel/linux/linux-5.10/drivers/nvme/target/
Dio-cmd-bdev.c15 const u32 lpp = ql->physical_block_size / ql->logical_block_size; in nvmet_bdev_set_limits()
/kernel/linux/linux-5.10/Documentation/block/
Dqueue-sysfs.rst193 physical_block_size (RO)
/kernel/linux/linux-5.10/drivers/md/bcache/
Dsuper.c973 q->limits.physical_block_size = block_size; in bcache_device_init()