Searched refs:hw_max_sectors (Results 1 – 11 of 11) sorted by relevance
978 dev->dev_attrib.hw_max_sectors = in target_configure_device()979 se_dev_align_max_sectors(dev->dev_attrib.hw_max_sectors, in target_configure_device()981 dev->dev_attrib.optimal_sectors = dev->dev_attrib.hw_max_sectors; in target_configure_device()
816 max_sectors = min(src_dev->dev_attrib.hw_max_sectors, in target_xcopy_do_work()817 dst_dev->dev_attrib.hw_max_sectors); in target_xcopy_do_work()
545 DEF_CONFIGFS_ATTRIB_SHOW(hw_max_sectors);1043 if (val > da->hw_max_sectors) { in optimal_sectors_store()1046 da->da_dev, val, da->hw_max_sectors); in optimal_sectors_store()1083 da->hw_max_sectors = da->max_bytes_per_io / val; in block_size_store()1129 CONFIGFS_ATTR_RO(, hw_max_sectors);
313 dev->dev_attrib.hw_max_sectors = UINT_MAX; in rd_configure_device()
122 dev->dev_attrib.hw_max_sectors = queue_max_hw_sectors(q); in iblock_configure_device()
1897 if (!dev->dev_attrib.hw_max_sectors) in tcmu_configure_device()1898 dev->dev_attrib.hw_max_sectors = 128; in tcmu_configure_device()2150 &(dev->dev_attrib.hw_max_sectors)); in tcmu_set_configfs_dev_params()
205 dev->dev_attrib.hw_max_sectors = FD_MAX_BYTES / fd_dev->fd_block_size; in fd_configure_device()
526 put_unaligned_be32(min_not_zero(mtl, dev->dev_attrib.hw_max_sectors), &buf[8]); in spc_emulate_evpd_b0()
318 dev->dev_attrib.hw_max_sectors = in pscsi_add_device_to_list()
928 dev->dev_attrib.hw_max_sectors); in transport_dump_dev_state()
679 u32 hw_max_sectors; member