Searched refs:max_grefs (Results 1 – 1 of 1) sorted by relevance
589 int num_sg, max_grefs, num_grant; in blkif_queue_rw_req() local591 max_grefs = req->nr_phys_segments * GRANTS_PER_PSEG; in blkif_queue_rw_req()592 if (max_grefs > BLKIF_MAX_SEGMENTS_PER_REQUEST) in blkif_queue_rw_req()597 max_grefs += INDIRECT_GREFS(max_grefs); in blkif_queue_rw_req()600 if (info->persistent_gnts_c < max_grefs) { in blkif_queue_rw_req()603 max_grefs - info->persistent_gnts_c, in blkif_queue_rw_req()609 max_grefs); in blkif_queue_rw_req()