Searched refs:physical_block_size (Results 1 – 21 of 21) sorted by relevance
/drivers/md/ |
D | dm-default-key.c | 387 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()
|
D | dm-ebs-target.c | 427 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()
|
D | dm-log-writes.c | 902 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()
|
D | dm-verity-target.c | 865 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()
|
D | dm-bow.c | 636 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()
|
D | dm-zoned-target.c | 1001 limits->physical_block_size = DMZ_BLOCK_SIZE; in dmz_io_hints()
|
D | dm-writecache.c | 1634 if (limits->physical_block_size < wc->block_size) in writecache_io_hints() 1635 limits->physical_block_size = wc->block_size; in writecache_io_hints()
|
D | dm-crypt.c | 3631 limits->physical_block_size = in crypt_io_hints() 3632 max_t(unsigned, limits->physical_block_size, cc->sector_size); in crypt_io_hints()
|
D | dm-table.c | 422 q->limits.physical_block_size, in dm_set_device_limits()
|
D | dm-integrity.c | 3364 limits->physical_block_size = ic->sectors_per_block << SECTOR_SHIFT; in dm_integrity_io_hints()
|
/drivers/block/rnbd/ |
D | rnbd-clt.h | 130 u16 physical_block_size; member
|
D | rnbd-proto.h | 143 __le16 physical_block_size; member
|
D | rnbd-clt.c | 84 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()
|
D | rnbd-srv.c | 556 rsp->physical_block_size = in rnbd_srv_fill_msg_open_rsp()
|
/drivers/scsi/ |
D | sd.c | 826 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 …]
|
D | sd.h | 101 unsigned int physical_block_size; member
|
D | sd_zbc.c | 835 blk_queue_zone_write_granularity(q, sdkp->physical_block_size); in sd_zbc_read_zones()
|
/drivers/block/drbd/ |
D | drbd_protocol.h | 324 u32 physical_block_size; member
|
D | drbd_main.c | 911 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/ |
D | io-cmd-bdev.c | 15 const u32 lpp = ql->physical_block_size / ql->logical_block_size; in nvmet_bdev_set_limits()
|
/drivers/md/bcache/ |
D | super.c | 964 q->limits.physical_block_size = block_size; in bcache_device_init()
|