Home
last modified time | relevance | path

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

/openbmc/linux/drivers/block/xen-blkback/
H A Dblkback.c764 int i, seg_idx, new_map_idx; in xen_blkbk_map() local
827 for (seg_idx = last_map, new_map_idx = 0; seg_idx < map_until; seg_idx++) { in xen_blkbk_map()
828 if (!pages[seg_idx]->persistent_gnt) { in xen_blkbk_map()
834 &pages[seg_idx]->page, 1); in xen_blkbk_map()
835 pages[seg_idx]->handle = BLKBACK_INVALID_HANDLE; in xen_blkbk_map()
839 pages[seg_idx]->handle = map[new_map_idx].handle; in xen_blkbk_map()
861 persistent_gnt->page = pages[seg_idx]->page; in xen_blkbk_map()
868 pages[seg_idx]->persistent_gnt = persistent_gnt; in xen_blkbk_map()