Searched refs:BLKIF_MAX_SEGMENTS_PER_REQUEST (Results 1 – 4 of 4) sorted by relevance
134 #define BLKIF_MAX_SEGMENTS_PER_REQUEST 11 macro153 struct blkif_request_segment seg[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()[all …]
86 struct blkif_request_segment seg[BLKIF_MAX_SEGMENTS_PER_REQUEST];147 struct blkif_request_segment seg[BLKIF_MAX_SEGMENTS_PER_REQUEST];410 int i, n = BLKIF_MAX_SEGMENTS_PER_REQUEST, j; in blkif_get_x86_32_req()458 int i, n = BLKIF_MAX_SEGMENTS_PER_REQUEST, j; in blkif_get_x86_64_req()
592 if (max_grefs > BLKIF_MAX_SEGMENTS_PER_REQUEST) in blkif_queue_rw_req()621 GREFS(req->nr_phys_segments) > BLKIF_MAX_SEGMENTS_PER_REQUEST); in blkif_queue_rw_req()633 if (num_grant > BLKIF_MAX_SEGMENTS_PER_REQUEST) { in blkif_queue_rw_req()1002 BLKIF_MAX_SEGMENTS_PER_REQUEST)) { in xlvbd_alloc_gendisk()1682 segs = info->max_indirect_segments ? : BLKIF_MAX_SEGMENTS_PER_REQUEST; in blkif_recover()1860 grants = BLKIF_MAX_SEGMENTS_PER_REQUEST; in blkfront_setup_indirect()