Lines Matching refs:max_hw_sectors
117 lim->max_hw_sectors = INT_MAX;
233 * @max_hw_sectors: max hardware sectors in the usual 512b unit
237 * max_hw_sectors, on the size of requests. max_hw_sectors is set by
244 * The soft limit can not exceed max_hw_sectors.
246 void blk_queue_max_hw_sectors(struct request_queue *q, unsigned int max_hw_sectors)
248 if ((max_hw_sectors << 9) < PAGE_CACHE_SIZE) {
249 max_hw_sectors = 1 << (PAGE_CACHE_SHIFT - 9);
251 __func__, max_hw_sectors);
254 q->limits.max_hw_sectors = max_hw_sectors;
255 q->limits.max_sectors = min_t(unsigned int, max_hw_sectors,
501 t->max_hw_sectors = min_not_zero(t->max_hw_sectors, b->max_hw_sectors);