Lines Matching full:limits
21 * controlled by the block device driver, usually based on hardware limits.
228 return min(q->limits.max_discard_sectors, in blk_queue_get_max_sectors()
232 return min(q->limits.max_secure_erase_sectors, in blk_queue_get_max_sectors()
236 return q->limits.max_write_zeroes_sectors; in blk_queue_get_max_sectors()
239 return q->limits.atomic_write_max_sectors; in blk_queue_get_max_sectors()
241 return q->limits.max_sectors; in blk_queue_get_max_sectors()
275 return bvec_gap_to_prev(&req->q->limits, in integrity_req_gap_back_merge()
286 return bvec_gap_to_prev(&req->q->limits, in integrity_req_gap_front_merge()
343 * Plug flush limits
409 * __bio_split_to_limits - split a bio to fit the queue limits
411 * @lim: queue limits to split based on
414 * Check if @bio needs splitting based on the queue limits, and if so split off
415 * a bio fitting the limits from the beginning of @bio and return it. @bio is
447 * @lim: Request queue limits.