Lines Matching refs:BLKIF_MAX_SEGMENTS_PER_REQUEST
307 struct gnttab_unmap_grant_ref unmap[BLKIF_MAX_SEGMENTS_PER_REQUEST]; in free_persistent_gnts()
308 struct page *pages[BLKIF_MAX_SEGMENTS_PER_REQUEST]; in free_persistent_gnts()
329 if (++segs_to_unmap == BLKIF_MAX_SEGMENTS_PER_REQUEST || in free_persistent_gnts()
348 struct gnttab_unmap_grant_ref unmap[BLKIF_MAX_SEGMENTS_PER_REQUEST]; in xen_blkbk_unmap_purged_grants()
349 struct page *pages[BLKIF_MAX_SEGMENTS_PER_REQUEST]; in xen_blkbk_unmap_purged_grants()
372 if (++segs_to_unmap == BLKIF_MAX_SEGMENTS_PER_REQUEST) { in xen_blkbk_unmap_purged_grants()
784 struct gnttab_unmap_grant_ref unmap[BLKIF_MAX_SEGMENTS_PER_REQUEST]; in xen_blkbk_unmap()
785 struct page *unmap_pages[BLKIF_MAX_SEGMENTS_PER_REQUEST]; in xen_blkbk_unmap()
790 unsigned int batch = min(num, BLKIF_MAX_SEGMENTS_PER_REQUEST); in xen_blkbk_unmap()
808 struct gnttab_map_grant_ref map[BLKIF_MAX_SEGMENTS_PER_REQUEST]; in xen_blkbk_map()
809 struct page *pages_to_gnt[BLKIF_MAX_SEGMENTS_PER_REQUEST]; in xen_blkbk_map()
857 if (segs_to_map == BLKIF_MAX_SEGMENTS_PER_REQUEST) in xen_blkbk_map()
1279 (nseg > BLKIF_MAX_SEGMENTS_PER_REQUEST)) || in dispatch_rw_block_io()