Lines Matching refs:limits
135 return queue_var_show(q->limits.max_integrity_segments, page); in queue_max_integrity_segments_show()
155 return queue_var_show(q->limits.chunk_sectors, page); in queue_chunk_sectors_show()
170 return queue_var_show(q->limits.discard_granularity, page); in queue_discard_granularity_show()
177 (unsigned long long)q->limits.max_hw_discard_sectors << 9); in queue_discard_max_hw_show()
183 (unsigned long long)q->limits.max_discard_sectors << 9); in queue_discard_max_show()
195 if (max_discard & (q->limits.discard_granularity - 1)) in queue_discard_max_store()
202 if (max_discard > q->limits.max_hw_discard_sectors) in queue_discard_max_store()
203 max_discard = q->limits.max_hw_discard_sectors; in queue_discard_max_store()
205 q->limits.max_discard_sectors = max_discard; in queue_discard_max_store()
217 (unsigned long long)q->limits.max_write_same_sectors << 9); in queue_write_same_max_show()
223 (unsigned long long)q->limits.max_write_zeroes_sectors << 9); in queue_write_zeroes_max_show()
234 unsigned long long max_sectors = q->limits.max_zone_append_sectors; in queue_zone_append_max_show()
251 q->limits.max_dev_sectors >> 1); in queue_max_sectors_store()
257 q->limits.max_sectors = max_sectors_kb << 1; in queue_max_sectors_store()
274 return queue_var_show(q->limits.virt_boundary_mask, page); in queue_virt_boundary_mask_show()