Searched refs:unmap_ops (Results 1 – 9 of 9) sorted by relevance
| /linux/drivers/xen/ |
| H A D | xen-front-pgdir-shbuf.c | 202 struct gnttab_unmap_grant_ref *unmap_ops; in backend_unmap() local 208 unmap_ops = kcalloc(buf->num_pages, sizeof(*unmap_ops), in backend_unmap() 210 if (!unmap_ops) in backend_unmap() 217 gnttab_set_unmap_op(&unmap_ops[i], addr, GNTMAP_host_map, in backend_unmap() 221 ret = gnttab_unmap_refs(unmap_ops, NULL, buf->pages, in backend_unmap() 225 if (unlikely(unmap_ops[i].status != GNTST_okay)) in backend_unmap() 228 i, unmap_ops[i].status); in backend_unmap() 235 kfree(unmap_ops); in backend_unmap()
|
| H A D | gntdev.c | 131 kvfree(map->unmap_ops); in gntdev_free_map() 152 add->unmap_ops = kvmalloc_array(count, sizeof(add->unmap_ops[0]), in gntdev_alloc_map() 159 NULL == add->unmap_ops || in gntdev_alloc_map() 210 add->unmap_ops[i].handle = INVALID_GRANT_HANDLE; in gntdev_alloc_map() 325 gnttab_set_unmap_op(&map->unmap_ops[pgnr], pte_maddr, flags, in find_grant_ptes() 345 gnttab_set_unmap_op(&map->unmap_ops[i], addr, in gntdev_map_grant_pages() 382 map->unmap_ops[i].handle = map->map_ops[i].handle; in gntdev_map_grant_pages() 388 map->unmap_ops[i].dev_bus_addr = map->map_ops[i].dev_bus_addr; in gntdev_map_grant_pages() 407 unsigned int offset = data->unmap_ops - map->unmap_ops; in __unmap_grant_pages_done() 412 if (map->unmap_ops[offset + i].status == GNTST_okay && in __unmap_grant_pages_done() [all …]
|
| H A D | gntdev-common.h | 62 struct gnttab_unmap_grant_ref *unmap_ops; member
|
| H A D | grant-table.c | 1290 int gnttab_unmap_refs(struct gnttab_unmap_grant_ref *unmap_ops, in gnttab_unmap_refs() argument 1297 ret = HYPERVISOR_grant_table_op(GNTTABOP_unmap_grant_ref, unmap_ops, count); in gnttab_unmap_refs() 1304 return clear_foreign_p2m_mapping(unmap_ops, kunmap_ops, pages, count); in gnttab_unmap_refs() 1337 ret = gnttab_unmap_refs(item->unmap_ops, item->kunmap_ops, in __gnttab_unmap_refs_async()
|
| /linux/arch/arm/xen/ |
| H A D | p2m.c | 136 int clear_foreign_p2m_mapping(struct gnttab_unmap_grant_ref *unmap_ops, in clear_foreign_p2m_mapping() argument 143 set_phys_to_machine(unmap_ops[i].host_addr >> XEN_PAGE_SHIFT, in clear_foreign_p2m_mapping()
|
| /linux/include/xen/ |
| H A D | grant_table.h | 79 struct gnttab_unmap_grant_ref *unmap_ops; member 258 int gnttab_unmap_refs(struct gnttab_unmap_grant_ref *unmap_ops,
|
| /linux/arch/x86/include/asm/xen/ |
| H A D | page.h | 68 extern int clear_foreign_p2m_mapping(struct gnttab_unmap_grant_ref *unmap_ops, 81 clear_foreign_p2m_mapping(struct gnttab_unmap_grant_ref *unmap_ops, in clear_foreign_p2m_mapping() argument
|
| /linux/include/xen/arm/ |
| H A D | page.h | 99 extern int clear_foreign_p2m_mapping(struct gnttab_unmap_grant_ref *unmap_ops,
|
| /linux/arch/x86/xen/ |
| H A D | p2m.c | 766 int clear_foreign_p2m_mapping(struct gnttab_unmap_grant_ref *unmap_ops, in clear_foreign_p2m_mapping() argument
|