Home
last modified time | relevance | path

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

/Linux-v4.19/include/xen/interface/io/
Dblkif.h183 #define BLKIF_MAX_SEGMENTS_PER_REQUEST 11 macro
202 struct blkif_request_segment seg[BLKIF_MAX_SEGMENTS_PER_REQUEST];
/Linux-v4.19/drivers/block/xen-blkback/
Dblkback.c307 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()
[all …]
Dcommon.h86 struct blkif_request_segment seg[BLKIF_MAX_SEGMENTS_PER_REQUEST];
139 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-v4.19/drivers/block/
Dxen-blkfront.c76 #define HAS_EXTRA_REQ (BLKIF_MAX_SEGMENTS_PER_REQUEST < XEN_PFN_PER_PAGE)
603 grant_idx >= BLKIF_MAX_SEGMENTS_PER_REQUEST)) { in blkif_setup_rw_req_grant()
608 grant_idx -= BLKIF_MAX_SEGMENTS_PER_REQUEST; in blkif_setup_rw_req_grant()
681 first->u.rw.nr_segments = BLKIF_MAX_SEGMENTS_PER_REQUEST; in blkif_setup_extra_req()
683 second->u.rw.nr_segments = nr_segments - BLKIF_MAX_SEGMENTS_PER_REQUEST; in blkif_setup_extra_req()
685 (BLKIF_MAX_SEGMENTS_PER_REQUEST * XEN_PAGE_SIZE) / 512; in blkif_setup_extra_req()
715 if (max_grefs > BLKIF_MAX_SEGMENTS_PER_REQUEST) in blkif_queue_rw_req()
748 num_grant > BLKIF_MAX_SEGMENTS_PER_REQUEST; in blkif_queue_rw_req()
752 if (num_grant > BLKIF_MAX_SEGMENTS_PER_REQUEST && in blkif_queue_rw_req()
931 BLKIF_MAX_SEGMENTS_PER_REQUEST; in blkif_set_queue_limits()
[all …]