Home
last modified time | relevance | path

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

/linux-6.6.21/block/
Dblk-settings.c54 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 …]
Dblk-merge.c172 unsigned pbs = lim->physical_block_size >> SECTOR_SHIFT; in get_max_io_size()
/linux-6.6.21/drivers/scsi/
Dsd.c832 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 …]
Dsd.h125 unsigned int physical_block_size; member
/linux-6.6.21/drivers/block/rnbd/
Drnbd-proto.h152 __le16 physical_block_size; member
Drnbd-srv.c543 rsp->physical_block_size = cpu_to_le16(bdev_physical_block_size(bdev)); in rnbd_srv_fill_msg_open_rsp()
Drnbd-clt.c1338 le16_to_cpu(rsp->physical_block_size)); in setup_request_queue()
1632 le16_to_cpu(rsp->physical_block_size), in rnbd_clt_map_device()
/linux-6.6.21/drivers/md/
Ddm-ebs-target.c429 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()
Ddm-log-writes.c877 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()
Ddm-verity-target.c987 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()
Ddm-zoned-target.c997 limits->physical_block_size = DMZ_BLOCK_SIZE; in dmz_io_hints()
Ddm-writecache.c1647 if (limits->physical_block_size < wc->block_size) in writecache_io_hints()
1648 limits->physical_block_size = wc->block_size; in writecache_io_hints()
Ddm-table.c424 q->limits.physical_block_size, in dm_set_device_limits()
Ddm-crypt.c3704 limits->physical_block_size = in crypt_io_hints()
3705 max_t(unsigned int, limits->physical_block_size, cc->sector_size); in crypt_io_hints()
Ddm-integrity.c3494 limits->physical_block_size = ic->sectors_per_block << SECTOR_SHIFT; in dm_integrity_io_hints()
/linux-6.6.21/drivers/block/drbd/
Ddrbd_protocol.h326 u32 physical_block_size; member
Ddrbd_main.c941 p->qlim->physical_block_size = in drbd_send_sizes()
954 p->qlim->physical_block_size = in drbd_send_sizes()
/linux-6.6.21/include/linux/
Dblkdev.h298 unsigned int physical_block_size; member
1161 return q->limits.physical_block_size; in queue_physical_block_size()
/linux-6.6.21/Documentation/ABI/stable/
Dsysfs-block514 What: /sys/block/<disk>/queue/physical_block_size
523 physical_block_size variable contains the maximum
524 physical_block_size of the component devices.
/linux-6.6.21/drivers/md/bcache/
Dsuper.c960 q->limits.physical_block_size = block_size; in bcache_device_init()