Home
last modified time | relevance | path

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

/openbmc/qemu/hw/block/
H A Dxen_blkif.h28 struct blkif_request_segment seg[BLKIF_MAX_SEGMENTS_PER_REQUEST];
54 struct blkif_request_segment seg[BLKIF_MAX_SEGMENTS_PER_REQUEST];
96 int i, n = BLKIF_MAX_SEGMENTS_PER_REQUEST; in blkif_get_x86_32_req()
122 int i, n = BLKIF_MAX_SEGMENTS_PER_REQUEST; in blkif_get_x86_64_req()
/openbmc/qemu/include/hw/xen/interface/io/
H A Dblkif.h614 #define BLKIF_MAX_SEGMENTS_PER_REQUEST 11 macro
644 struct blkif_request_segment seg[BLKIF_MAX_SEGMENTS_PER_REQUEST];
/openbmc/linux/include/xen/interface/io/
H A Dblkif.h183 #define BLKIF_MAX_SEGMENTS_PER_REQUEST 11 macro
202 struct blkif_request_segment seg[BLKIF_MAX_SEGMENTS_PER_REQUEST];
/openbmc/linux/drivers/block/xen-blkback/
H 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()
270 if (++segs_to_unmap == BLKIF_MAX_SEGMENTS_PER_REQUEST || in free_persistent_gnts()
292 struct gnttab_unmap_grant_ref unmap[BLKIF_MAX_SEGMENTS_PER_REQUEST]; in xen_blkbk_unmap_purged_grants()
293 struct page *pages[BLKIF_MAX_SEGMENTS_PER_REQUEST]; in xen_blkbk_unmap_purged_grants()
316 if (++segs_to_unmap == BLKIF_MAX_SEGMENTS_PER_REQUEST) { in xen_blkbk_unmap_purged_grants()
735 struct gnttab_unmap_grant_ref unmap[BLKIF_MAX_SEGMENTS_PER_REQUEST]; in xen_blkbk_unmap()
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()
[all …]
H A Dcommon.h85 struct blkif_request_segment seg[BLKIF_MAX_SEGMENTS_PER_REQUEST];
138 struct blkif_request_segment seg[BLKIF_MAX_SEGMENTS_PER_REQUEST];
/openbmc/linux/drivers/block/
H A Dxen-blkfront.c78 #define HAS_EXTRA_REQ (BLKIF_MAX_SEGMENTS_PER_REQUEST < XEN_PFN_PER_PAGE)
614 grant_idx >= BLKIF_MAX_SEGMENTS_PER_REQUEST)) { in blkif_setup_rw_req_grant()
619 grant_idx -= BLKIF_MAX_SEGMENTS_PER_REQUEST; in blkif_setup_rw_req_grant()
692 first->u.rw.nr_segments = BLKIF_MAX_SEGMENTS_PER_REQUEST; in blkif_setup_extra_req()
694 second->u.rw.nr_segments = nr_segments - BLKIF_MAX_SEGMENTS_PER_REQUEST; in blkif_setup_extra_req()
696 (BLKIF_MAX_SEGMENTS_PER_REQUEST * XEN_PAGE_SIZE) / 512; in blkif_setup_extra_req()
727 if (max_grefs > BLKIF_MAX_SEGMENTS_PER_REQUEST) in blkif_queue_rw_req()
761 num_grant > BLKIF_MAX_SEGMENTS_PER_REQUEST; in blkif_queue_rw_req()
765 if (num_grant > BLKIF_MAX_SEGMENTS_PER_REQUEST && in blkif_queue_rw_req()
949 BLKIF_MAX_SEGMENTS_PER_REQUEST; in blkif_set_queue_limits()
[all …]
/openbmc/qemu/hw/block/dataplane/
H A Dxen-block.c107 BLKIF_MAX_SEGMENTS_PER_REQUEST * in xen_block_start_request()
181 if (i == BLKIF_MAX_SEGMENTS_PER_REQUEST) { in xen_block_parse_request()
214 XenDeviceGrantCopySegment segs[BLKIF_MAX_SEGMENTS_PER_REQUEST]; in xen_block_copy_request()