Home
last modified time | relevance | path

Searched refs:BLKIF_MAX_SEGMENTS_PER_REQUEST (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/block/xen-blkback/
A Dblkback.c245 struct gnttab_unmap_grant_ref unmap[BLKIF_MAX_SEGMENTS_PER_REQUEST]; in free_persistent_gnts()
246 struct page *pages[BLKIF_MAX_SEGMENTS_PER_REQUEST]; in free_persistent_gnts()
267 if (++segs_to_unmap == BLKIF_MAX_SEGMENTS_PER_REQUEST || in free_persistent_gnts()
288 struct page *pages[BLKIF_MAX_SEGMENTS_PER_REQUEST]; in xen_blkbk_unmap_purged_grants()
311 if (++segs_to_unmap == BLKIF_MAX_SEGMENTS_PER_REQUEST) { in xen_blkbk_unmap_purged_grants()
736 struct page *unmap_pages[BLKIF_MAX_SEGMENTS_PER_REQUEST]; in xen_blkbk_unmap()
741 unsigned int batch = min(num, BLKIF_MAX_SEGMENTS_PER_REQUEST); in xen_blkbk_unmap()
760 struct gnttab_map_grant_ref map[BLKIF_MAX_SEGMENTS_PER_REQUEST]; in xen_blkbk_map()
761 struct page *pages_to_gnt[BLKIF_MAX_SEGMENTS_PER_REQUEST]; in xen_blkbk_map()
815 if (segs_to_map == BLKIF_MAX_SEGMENTS_PER_REQUEST) in xen_blkbk_map()
[all …]
A Dcommon.h85 struct blkif_request_segment seg[BLKIF_MAX_SEGMENTS_PER_REQUEST];
138 struct blkif_request_segment seg[BLKIF_MAX_SEGMENTS_PER_REQUEST];
398 int i, n = BLKIF_MAX_SEGMENTS_PER_REQUEST, j; in blkif_get_x86_32_req()
446 int i, n = BLKIF_MAX_SEGMENTS_PER_REQUEST, j; in blkif_get_x86_64_req()
/linux/include/xen/interface/io/
A Dblkif.h183 #define BLKIF_MAX_SEGMENTS_PER_REQUEST 11 macro
202 struct blkif_request_segment seg[BLKIF_MAX_SEGMENTS_PER_REQUEST];
/linux/drivers/block/
A Dxen-blkfront.c606 grant_idx >= BLKIF_MAX_SEGMENTS_PER_REQUEST)) { in blkif_setup_rw_req_grant()
611 grant_idx -= BLKIF_MAX_SEGMENTS_PER_REQUEST; in blkif_setup_rw_req_grant()
684 first->u.rw.nr_segments = BLKIF_MAX_SEGMENTS_PER_REQUEST; in blkif_setup_extra_req()
688 (BLKIF_MAX_SEGMENTS_PER_REQUEST * XEN_PAGE_SIZE) / 512; in blkif_setup_extra_req()
719 if (max_grefs > BLKIF_MAX_SEGMENTS_PER_REQUEST) in blkif_queue_rw_req()
753 num_grant > BLKIF_MAX_SEGMENTS_PER_REQUEST; in blkif_queue_rw_req()
757 if (num_grant > BLKIF_MAX_SEGMENTS_PER_REQUEST && in blkif_queue_rw_req()
940 BLKIF_MAX_SEGMENTS_PER_REQUEST; in blkif_set_queue_limits()
2169 grants = BLKIF_MAX_SEGMENTS_PER_REQUEST; in blkfront_setup_indirect()
2296 if (indirect_segments <= BLKIF_MAX_SEGMENTS_PER_REQUEST) in blkfront_gather_backend_features()
[all …]

Completed in 13 milliseconds