segs_to_map       813 drivers/block/xen-blkback/blkback.c 	int segs_to_map = 0;
segs_to_map       847 drivers/block/xen-blkback/blkback.c 			pages_to_gnt[segs_to_map] = pages[i]->page;
segs_to_map       852 drivers/block/xen-blkback/blkback.c 			gnttab_set_map_op(&map[segs_to_map++], addr,
segs_to_map       857 drivers/block/xen-blkback/blkback.c 		if (segs_to_map == BLKIF_MAX_SEGMENTS_PER_REQUEST)
segs_to_map       861 drivers/block/xen-blkback/blkback.c 	if (segs_to_map) {
segs_to_map       862 drivers/block/xen-blkback/blkback.c 		ret = gnttab_map_refs(map, NULL, pages_to_gnt, segs_to_map);
segs_to_map       874 drivers/block/xen-blkback/blkback.c 			BUG_ON(new_map_idx >= segs_to_map);
segs_to_map       929 drivers/block/xen-blkback/blkback.c 	segs_to_map = 0;
segs_to_map       938 drivers/block/xen-blkback/blkback.c 	put_free_pages(ring, pages_to_gnt, segs_to_map);