Lines Matching refs:invcount
652 unsigned int i, invcount = 0; in xen_blkbk_unmap_prepare() local
661 unmap_pages[invcount] = pages[i]->page; in xen_blkbk_unmap_prepare()
662 gnttab_set_unmap_op(&unmap_ops[invcount], vaddr(pages[i]->page), in xen_blkbk_unmap_prepare()
665 invcount++; in xen_blkbk_unmap_prepare()
668 return invcount; in xen_blkbk_unmap_prepare()
708 unsigned int invcount; in xen_blkbk_unmap_and_respond() local
710 invcount = xen_blkbk_unmap_prepare(ring, pages, req->nr_segs, in xen_blkbk_unmap_and_respond()
718 work->count = invcount; in xen_blkbk_unmap_and_respond()
737 unsigned int invcount = 0; in xen_blkbk_unmap() local
743 invcount = xen_blkbk_unmap_prepare(ring, pages, batch, in xen_blkbk_unmap()
745 if (invcount) { in xen_blkbk_unmap()
746 ret = gnttab_unmap_refs(unmap, NULL, unmap_pages, invcount); in xen_blkbk_unmap()
749 invcount); in xen_blkbk_unmap()