Lines Matching refs:max_sectors
119 int * max_sectors[MAX_BLKDEV]; variable
130 if (!max_sectors[MAJOR(dev)]) in get_max_sectors()
132 return max_sectors[MAJOR(dev)][MINOR(dev)]; in get_max_sectors()
923 int max_sectors, in attempt_merge() argument
933 || req->nr_sectors + next->nr_sectors > max_sectors in attempt_merge()
969 int max_sectors, in attempt_back_merge() argument
974 attempt_merge(q, req, max_sectors, max_segments); in attempt_back_merge()
980 int max_sectors, in attempt_front_merge() argument
988 attempt_merge(q, blkdev_entry_to_request(prev), max_sectors, max_segments); in attempt_front_merge()
997 int rw_ahead, max_sectors, el_ret; in __make_request() local
1041 max_sectors = get_max_sectors(bh->b_rdev); in __make_request()
1060 el_ret = elevator->elevator_merge_fn(q, &req, head, bh, rw,max_sectors); in __make_request()
1075 attempt_back_merge(q, req, max_sectors, max_segments); in __make_request()
1098 attempt_front_merge(q, head, req, max_sectors, max_segments); in __make_request()
1526 memset(max_sectors, 0, sizeof(max_sectors)); in blk_dev_init()