Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/xen/
Dxen-front-pgdir-shbuf.c211 struct gnttab_unmap_grant_ref *unmap_ops; in backend_unmap() local
217 unmap_ops = kcalloc(buf->num_pages, sizeof(*unmap_ops), in backend_unmap()
219 if (!unmap_ops) in backend_unmap()
226 gnttab_set_unmap_op(&unmap_ops[i], addr, GNTMAP_host_map, in backend_unmap()
230 ret = gnttab_unmap_refs(unmap_ops, NULL, buf->pages, in backend_unmap()
234 if (unlikely(unmap_ops[i].status != GNTST_okay)) in backend_unmap()
237 i, unmap_ops[i].status); in backend_unmap()
244 kfree(unmap_ops); in backend_unmap()
Dgntdev.c123 kfree(map->unmap_ops); in gntdev_free_map()
141 add->unmap_ops = kcalloc(count, sizeof(add->unmap_ops[0]), GFP_KERNEL); in gntdev_alloc_map()
147 NULL == add->unmap_ops || in gntdev_alloc_map()
189 add->unmap_ops[i].handle = -1; in gntdev_alloc_map()
286 gnttab_set_unmap_op(&map->unmap_ops[pgnr], pte_maddr, flags, in find_grant_ptes()
313 gnttab_set_unmap_op(&map->unmap_ops[i], addr, in gntdev_map_grant_pages()
349 map->unmap_ops[i].handle = map->map_ops[i].handle; in gntdev_map_grant_pages()
357 map->unmap_ops[i].dev_bus_addr = __pfn_to_phys(bfn); in gntdev_map_grant_pages()
380 unmap_data.unmap_ops = map->unmap_ops + offset; in __unmap_grant_pages()
390 if (map->unmap_ops[offset+i].status) in __unmap_grant_pages()
[all …]
Dgntdev-common.h61 struct gnttab_unmap_grant_ref *unmap_ops; member
Dgrant-table.c1077 int gnttab_unmap_refs(struct gnttab_unmap_grant_ref *unmap_ops, in gnttab_unmap_refs() argument
1084 ret = HYPERVISOR_grant_table_op(GNTTABOP_unmap_grant_ref, unmap_ops, count); in gnttab_unmap_refs()
1091 return clear_foreign_p2m_mapping(unmap_ops, kunmap_ops, pages, count); in gnttab_unmap_refs()
1124 ret = gnttab_unmap_refs(item->unmap_ops, item->kunmap_ops, in __gnttab_unmap_refs_async()
/Linux-v5.4/arch/arm/xen/
Dp2m.c106 int clear_foreign_p2m_mapping(struct gnttab_unmap_grant_ref *unmap_ops, in clear_foreign_p2m_mapping() argument
113 set_phys_to_machine(unmap_ops[i].host_addr >> XEN_PAGE_SHIFT, in clear_foreign_p2m_mapping()
/Linux-v5.4/include/xen/
Dgrant_table.h74 struct gnttab_unmap_grant_ref *unmap_ops; member
225 int gnttab_unmap_refs(struct gnttab_unmap_grant_ref *unmap_ops,
/Linux-v5.4/arch/x86/include/asm/xen/
Dpage.h69 extern int clear_foreign_p2m_mapping(struct gnttab_unmap_grant_ref *unmap_ops,
82 clear_foreign_p2m_mapping(struct gnttab_unmap_grant_ref *unmap_ops, in clear_foreign_p2m_mapping() argument
/Linux-v5.4/include/xen/arm/
Dpage.h92 extern int clear_foreign_p2m_mapping(struct gnttab_unmap_grant_ref *unmap_ops,
/Linux-v5.4/drivers/block/xen-blkback/
Dblkback.c315 unmap_data.unmap_ops = unmap; in free_persistent_gnts()
356 unmap_data.unmap_ops = unmap; in xen_blkbk_unmap_purged_grants()
698 struct gnttab_unmap_grant_ref *unmap_ops, in xen_blkbk_unmap_prepare() argument
711 gnttab_set_unmap_op(&unmap_ops[invcount], vaddr(pages[i]->page), in xen_blkbk_unmap_prepare()
764 work->unmap_ops = req->unmap; in xen_blkbk_unmap_and_respond()
/Linux-v5.4/arch/x86/xen/
Dp2m.c744 int clear_foreign_p2m_mapping(struct gnttab_unmap_grant_ref *unmap_ops, in clear_foreign_p2m_mapping() argument