Searched refs:nr_requests (Results 1 – 6 of 6) sorted by relevance
186 int count = q->nr_requests; in blk_cleanup_queue()410 int blk_grow_request_list(request_queue_t *q, int nr_requests, int max_queue_sectors) in blk_grow_request_list() argument418 while (q->nr_requests < nr_requests) { in blk_grow_request_list()429 q->nr_requests++; in blk_grow_request_list()438 q->batch_requests = q->nr_requests / 4; in blk_grow_request_list()449 return q->nr_requests; in blk_grow_request_list()456 int nr_requests, max_queue_sectors = MAX_QUEUE_SECTORS; in blk_init_free_list() local461 q->nr_requests = 0; in blk_init_free_list()465 nr_requests = MAX_NR_REQUESTS; in blk_init_free_list()467 nr_requests /= 2; in blk_init_free_list()[all …]
117 unsigned int nr_requests; member
80 atomic_inc(&cache->nr_requests); in nfs_create_request()84 if (atomic_read(&cache->nr_requests) <= MAX_REQUEST_HARD) { in nfs_create_request()90 atomic_dec(&cache->nr_requests); in nfs_create_request()137 atomic_dec(&NFS_REQUESTLIST(req->wb_inode)->nr_requests); in nfs_clear_request()139 BUG_ON(atomic_read(&NFS_REQUESTLIST(req->wb_inode)->nr_requests) < 0); in nfs_clear_request()440 nreq = atomic_read(&server->rw_requests->nr_requests); in nfs_try_to_free_pages()
135 atomic_set(&cache->nr_requests, 0); in nfs_reqlist_alloc()
42 atomic_t nr_requests; member
84 int nr_requests; member243 extern int blk_grow_request_list(request_queue_t *q, int nr_requests, int max_queue_sectors);