Lines Matching refs:BLKIF_MAX_SEGMENTS_PER_REQUEST
278 struct gnttab_unmap_grant_ref unmap[BLKIF_MAX_SEGMENTS_PER_REQUEST]; in free_persistent_gnts()
279 struct page *pages[BLKIF_MAX_SEGMENTS_PER_REQUEST]; in free_persistent_gnts()
300 if (++segs_to_unmap == BLKIF_MAX_SEGMENTS_PER_REQUEST || in free_persistent_gnts()
319 struct gnttab_unmap_grant_ref unmap[BLKIF_MAX_SEGMENTS_PER_REQUEST]; in xen_blkbk_unmap_purged_grants()
320 struct page *pages[BLKIF_MAX_SEGMENTS_PER_REQUEST]; in xen_blkbk_unmap_purged_grants()
343 if (++segs_to_unmap == BLKIF_MAX_SEGMENTS_PER_REQUEST) { in xen_blkbk_unmap_purged_grants()
764 struct gnttab_unmap_grant_ref unmap[BLKIF_MAX_SEGMENTS_PER_REQUEST]; in xen_blkbk_unmap()
765 struct page *unmap_pages[BLKIF_MAX_SEGMENTS_PER_REQUEST]; in xen_blkbk_unmap()
770 unsigned int batch = min(num, BLKIF_MAX_SEGMENTS_PER_REQUEST); in xen_blkbk_unmap()
788 struct gnttab_map_grant_ref map[BLKIF_MAX_SEGMENTS_PER_REQUEST]; in xen_blkbk_map()
789 struct page *pages_to_gnt[BLKIF_MAX_SEGMENTS_PER_REQUEST]; in xen_blkbk_map()
835 if (segs_to_map == BLKIF_MAX_SEGMENTS_PER_REQUEST) in xen_blkbk_map()
1253 (nseg > BLKIF_MAX_SEGMENTS_PER_REQUEST)) || in dispatch_rw_block_io()