Searched refs:max_queue_sectors (Results 1 – 2 of 2) sorted by relevance
104 int max_queue_sectors; member243 extern int blk_grow_request_list(request_queue_t *q, int nr_requests, int max_queue_sectors);296 return atomic_read(&q->nr_sectors) > q->max_queue_sectors; in blk_oversized_queue()303 return atomic_read(&q->nr_sectors) > q->max_queue_sectors + q->batch_sectors; in blk_oversized_queue_reads()309 return atomic_read(&q->nr_sectors) > q->max_queue_sectors - q->batch_sectors; in blk_oversized_queue_batch()
410 int blk_grow_request_list(request_queue_t *q, int nr_requests, int max_queue_sectors) in blk_grow_request_list() argument441 q->batch_sectors = max_queue_sectors / 4; in blk_grow_request_list()443 q->max_queue_sectors = max_queue_sectors; in blk_grow_request_list()456 int nr_requests, max_queue_sectors = MAX_QUEUE_SECTORS; in blk_init_free_list() local468 max_queue_sectors /= 2; in blk_init_free_list()472 BUG_ON(!max_queue_sectors); in blk_init_free_list()474 blk_grow_request_list(q, nr_requests, max_queue_sectors); in blk_init_free_list()