Lines Matching refs:dev_attrib
2265 if (dev->dev_attrib.hw_block_size == 0) in tcmu_configure_device()
2266 dev->dev_attrib.hw_block_size = 512; in tcmu_configure_device()
2268 if (!dev->dev_attrib.hw_max_sectors) in tcmu_configure_device()
2269 dev->dev_attrib.hw_max_sectors = 128; in tcmu_configure_device()
2270 if (!dev->dev_attrib.emulate_write_cache) in tcmu_configure_device()
2271 dev->dev_attrib.emulate_write_cache = 0; in tcmu_configure_device()
2272 dev->dev_attrib.hw_queue_depth = 128; in tcmu_configure_device()
2445 static int tcmu_set_dev_attrib(substring_t *arg, u32 *dev_attrib) in tcmu_set_dev_attrib() argument
2461 *dev_attrib = val; in tcmu_set_dev_attrib()
2610 &(dev->dev_attrib.hw_block_size)); in tcmu_set_configfs_dev_params()
2614 &(dev->dev_attrib.hw_max_sectors)); in tcmu_set_configfs_dev_params()
2663 return div_u64(udev->dev_size - dev->dev_attrib.block_size, in tcmu_get_blocks()
2664 dev->dev_attrib.block_size); in tcmu_get_blocks()