Lines Matching refs:unmap
707 struct gnttab_unmap_grant_ref unmap[2]; in set_foreign_p2m_mapping() local
734 unmap[0].host_addr = map_ops[i].host_addr; in set_foreign_p2m_mapping()
735 unmap[0].handle = map_ops[i].handle; in set_foreign_p2m_mapping()
738 unmap[0].dev_bus_addr = map_ops[i].dev_bus_addr; in set_foreign_p2m_mapping()
740 unmap[0].dev_bus_addr = 0; in set_foreign_p2m_mapping()
744 unmap[1].host_addr = kmap_ops[i].host_addr; in set_foreign_p2m_mapping()
745 unmap[1].handle = kmap_ops[i].handle; in set_foreign_p2m_mapping()
748 unmap[1].dev_bus_addr = kmap_ops[i].dev_bus_addr; in set_foreign_p2m_mapping()
750 unmap[1].dev_bus_addr = 0; in set_foreign_p2m_mapping()
757 unmap[0].status = 1; in set_foreign_p2m_mapping()
758 unmap[1].status = 1; in set_foreign_p2m_mapping()
761 unmap, 1 + !!kmap_ops); in set_foreign_p2m_mapping()
762 if (rc || unmap[0].status != GNTST_okay || in set_foreign_p2m_mapping()
763 unmap[1].status != GNTST_okay) in set_foreign_p2m_mapping()
765 rc, unmap[0].status, unmap[1].status); in set_foreign_p2m_mapping()