Lines Matching refs:segments
707 struct grant_page **pages = req->segments; in xen_blkbk_unmap_and_respond()
906 rc = xen_blkbk_map(pending_req->ring, pending_req->segments, in xen_blkbk_map_seg()
921 struct blkif_request_segment *segments = NULL; in xen_blkbk_parse_indirect() local
939 if (segments) in xen_blkbk_parse_indirect()
940 kunmap_atomic(segments); in xen_blkbk_parse_indirect()
941 segments = kmap_atomic(pages[n/SEGS_PER_INDIRECT_FRAME]->page); in xen_blkbk_parse_indirect()
945 pending_req->segments[n]->gref = segments[i].gref; in xen_blkbk_parse_indirect()
947 first_sect = READ_ONCE(segments[i].first_sect); in xen_blkbk_parse_indirect()
948 last_sect = READ_ONCE(segments[i].last_sect); in xen_blkbk_parse_indirect()
960 if (segments) in xen_blkbk_parse_indirect()
961 kunmap_atomic(segments); in xen_blkbk_parse_indirect()
1304 struct grant_page **pages = pending_req->segments; in dispatch_rw_block_io()
1474 xen_blkbk_unmap(ring, pending_req->segments, in dispatch_rw_block_io()