Searched refs:optimal_sectors (Results 1 – 3 of 3) sorted by relevance
1159 int se_dev_set_optimal_sectors(struct se_device *dev, u32 optimal_sectors) in se_dev_set_optimal_sectors() argument1172 if (optimal_sectors > dev->dev_attrib.hw_max_sectors) { in se_dev_set_optimal_sectors()1175 optimal_sectors, dev->dev_attrib.hw_max_sectors); in se_dev_set_optimal_sectors()1179 dev->dev_attrib.optimal_sectors = optimal_sectors; in se_dev_set_optimal_sectors()1181 dev, optimal_sectors); in se_dev_set_optimal_sectors()1613 dev->dev_attrib.optimal_sectors = dev->dev_attrib.hw_max_sectors; in target_configure_device()
549 put_unaligned_be32(dev->dev_attrib.optimal_sectors, &buf[12]); in spc_emulate_evpd_b0()
683 DEF_DEV_ATTRIB(optimal_sectors);684 SE_DEV_ATTR(optimal_sectors, S_IRUGO | S_IWUSR);