Lines Matching refs:count
626 rl->count[BLK_RW_SYNC] = rl->count[BLK_RW_ASYNC] = 0; in blk_init_rl()
943 if (rl->count[sync] < queue_congestion_off_threshold(q)) in __freed_request()
946 if (rl->count[sync] + 1 <= q->nr_requests) { in __freed_request()
964 rl->count[sync]--; in freed_request()
986 if (rl->count[BLK_RW_SYNC] >= on_thresh) in blk_update_nr_requests()
988 else if (rl->count[BLK_RW_SYNC] < off_thresh) in blk_update_nr_requests()
991 if (rl->count[BLK_RW_ASYNC] >= on_thresh) in blk_update_nr_requests()
993 else if (rl->count[BLK_RW_ASYNC] < off_thresh) in blk_update_nr_requests()
996 if (rl->count[BLK_RW_SYNC] >= q->nr_requests) { in blk_update_nr_requests()
1003 if (rl->count[BLK_RW_ASYNC] >= q->nr_requests) { in blk_update_nr_requests()
1082 if (rl->count[is_sync]+1 >= queue_congestion_on_threshold(q)) { in __get_request()
1083 if (rl->count[is_sync]+1 >= q->nr_requests) { in __get_request()
1113 if (rl->count[is_sync] >= (3 * q->nr_requests / 2)) in __get_request()
1117 rl->count[is_sync]++; in __get_request()
1217 if (unlikely(rl->count[is_sync] == 0)) in __get_request()
2129 unsigned int count; in submit_bio() local
2132 count = bdev_logical_block_size(bio->bi_bdev) >> 9; in submit_bio()
2134 count = bio_sectors(bio); in submit_bio()
2137 count_vm_events(PGPGOUT, count); in submit_bio()
2140 count_vm_events(PGPGIN, count); in submit_bio()
2150 count); in submit_bio()