Home
last modified time | relevance | path

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

/drivers/scsi/
Dsd.c794 max(sdkp->physical_block_size, in sd_config_discard()
1000 sdkp->physical_block_size > logical_block_size) { in sd_config_write_same()
1016 sdkp->physical_block_size)); in sd_config_write_same()
2336 sdkp->physical_block_size = (1 << (buffer[13] & 0xf)) * sector_size; in read_capacity_16()
2415 sdkp->physical_block_size = sector_size; in read_capacity_10()
2420 sdkp->physical_block_size = sector_size; in read_capacity_10()
2528 sdkp->physical_block_size); in sd_read_capacity()
2559 if (sdkp->physical_block_size != sector_size) in sd_print_capacity()
2562 sdkp->physical_block_size); in sd_print_capacity()
2962 blk_queue_zone_write_granularity(q, sdkp->physical_block_size); in sd_read_block_characteristics()
[all …]
Dsd.h125 unsigned int physical_block_size; member
/drivers/md/
Ddm-default-key.c385 limits->physical_block_size = in default_key_io_hints()
386 max_t(unsigned int, limits->physical_block_size, sector_size); in default_key_io_hints()
Ddm-ebs-target.c428 limits->physical_block_size = to_bytes(ec->u_bs); in ebs_io_hints()
429 limits->alignment_offset = limits->physical_block_size; in ebs_io_hints()
Ddm-log-writes.c876 limits->physical_block_size = bdev_physical_block_size(lc->dev->bdev); in log_writes_io_hints()
877 limits->io_min = limits->physical_block_size; in log_writes_io_hints()
Ddm-verity-target.c974 if (limits->physical_block_size < 1 << v->data_dev_block_bits) in verity_io_hints()
975 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.c1632 if (limits->physical_block_size < wc->block_size) in writecache_io_hints()
1633 limits->physical_block_size = wc->block_size; in writecache_io_hints()
Ddm-table.c416 q->limits.physical_block_size, in dm_set_device_limits()
Ddm-crypt.c3663 limits->physical_block_size = in crypt_io_hints()
3664 max_t(unsigned int, limits->physical_block_size, cc->sector_size); in crypt_io_hints()
Ddm-integrity.c3439 limits->physical_block_size = ic->sectors_per_block << SECTOR_SHIFT; in dm_integrity_io_hints()
/drivers/block/rnbd/
Drnbd-proto.h143 __le16 physical_block_size; member
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()
Drnbd-srv.c545 rsp->physical_block_size = cpu_to_le16(bdev_physical_block_size(bdev)); in rnbd_srv_fill_msg_open_rsp()
/drivers/block/drbd/
Ddrbd_protocol.h326 u32 physical_block_size; member
Ddrbd_main.c937 p->qlim->physical_block_size = in drbd_send_sizes()
950 p->qlim->physical_block_size = in drbd_send_sizes()
/drivers/md/bcache/
Dsuper.c960 q->limits.physical_block_size = block_size; in bcache_device_init()