Home
last modified time | relevance | path

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

/drivers/md/
Ddm-default-key.c387 limits->physical_block_size = in default_key_io_hints()
388 max_t(unsigned int, limits->physical_block_size, sector_size); in default_key_io_hints()
Ddm-ebs-target.c427 limits->physical_block_size = to_bytes(ec->u_bs); in ebs_io_hints()
428 limits->alignment_offset = limits->physical_block_size; in ebs_io_hints()
Ddm-log-writes.c902 limits->physical_block_size = bdev_physical_block_size(lc->dev->bdev); in log_writes_io_hints()
903 limits->io_min = limits->physical_block_size; in log_writes_io_hints()
Ddm-verity-target.c865 if (limits->physical_block_size < 1 << v->data_dev_block_bits) in verity_io_hints()
866 limits->physical_block_size = 1 << v->data_dev_block_bits; in verity_io_hints()
Ddm-bow.c636 limits->physical_block_size = in dm_bow_io_hints()
637 max_t(unsigned int, limits->physical_block_size, block_size); in dm_bow_io_hints()
Ddm-zoned-target.c1001 limits->physical_block_size = DMZ_BLOCK_SIZE; in dmz_io_hints()
Ddm-writecache.c1634 if (limits->physical_block_size < wc->block_size) in writecache_io_hints()
1635 limits->physical_block_size = wc->block_size; in writecache_io_hints()
Ddm-crypt.c3631 limits->physical_block_size = in crypt_io_hints()
3632 max_t(unsigned, limits->physical_block_size, cc->sector_size); in crypt_io_hints()
Ddm-table.c422 q->limits.physical_block_size, in dm_set_device_limits()
Ddm-integrity.c3364 limits->physical_block_size = ic->sectors_per_block << SECTOR_SHIFT; in dm_integrity_io_hints()
/drivers/block/rnbd/
Drnbd-clt.h130 u16 physical_block_size; member
Drnbd-proto.h143 __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()
1360 blk_queue_physical_block_size(dev->queue, dev->physical_block_size); in setup_request_queue()
1610 dev->logical_block_size, dev->physical_block_size, in rnbd_clt_map_device()
Drnbd-srv.c556 rsp->physical_block_size = in rnbd_srv_fill_msg_open_rsp()
/drivers/scsi/
Dsd.c826 max(sdkp->physical_block_size, in sd_config_discard()
1034 sdkp->physical_block_size > logical_block_size) { in sd_config_write_same()
1050 sdkp->physical_block_size)); in sd_config_write_same()
2380 sdkp->physical_block_size = (1 << (buffer[13] & 0xf)) * sector_size; in read_capacity_16()
2456 sdkp->physical_block_size = sector_size; in read_capacity_10()
2461 sdkp->physical_block_size = sector_size; in read_capacity_10()
2569 sdkp->physical_block_size); in sd_read_capacity()
2600 if (sdkp->physical_block_size != sector_size) in sd_print_capacity()
2603 sdkp->physical_block_size); in sd_print_capacity()
3138 if (opt_xfer_bytes & (sdkp->physical_block_size - 1)) { in sd_validate_opt_xfer_size()
[all …]
Dsd.h101 unsigned int physical_block_size; member
Dsd_zbc.c835 blk_queue_zone_write_granularity(q, sdkp->physical_block_size); in sd_zbc_read_zones()
/drivers/block/drbd/
Ddrbd_protocol.h324 u32 physical_block_size; member
Ddrbd_main.c911 p->qlim->physical_block_size = cpu_to_be32(queue_physical_block_size(q)); in assign_p_sizes_qlim()
920 p->qlim->physical_block_size = cpu_to_be32(queue_physical_block_size(q)); in assign_p_sizes_qlim()
/drivers/nvme/target/
Dio-cmd-bdev.c15 const u32 lpp = ql->physical_block_size / ql->logical_block_size; in nvmet_bdev_set_limits()
/drivers/md/bcache/
Dsuper.c964 q->limits.physical_block_size = block_size; in bcache_device_init()