Home
last modified time | relevance | path

Searched refs:max_queue_sectors (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/include/linux/
Dblkdev.h104 int max_queue_sectors; member
243 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()
/linux-2.4.37.9/drivers/block/
Dll_rw_blk.c410 int blk_grow_request_list(request_queue_t *q, int nr_requests, int max_queue_sectors) in blk_grow_request_list() argument
441 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() local
468 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()