Searched refs:unmap_ops (Results 1 - 8 of 8) sorted by relevance

/linux-4.4.14/drivers/xen/
H A Dgntdev.c92 struct gnttab_unmap_grant_ref *unmap_ops; member in struct:grant_map
127 kfree(map->unmap_ops); gntdev_free_map()
144 add->unmap_ops = kcalloc(count, sizeof(add->unmap_ops[0]), GFP_KERNEL); gntdev_alloc_map()
150 NULL == add->unmap_ops || gntdev_alloc_map()
161 add->unmap_ops[i].handle = -1; gntdev_alloc_map()
259 gnttab_set_unmap_op(&map->unmap_ops[pgnr], pte_maddr, flags, find_grant_ptes()
287 gnttab_set_unmap_op(&map->unmap_ops[i], addr, map_grant_pages()
323 map->unmap_ops[i].handle = map->map_ops[i].handle; map_grant_pages()
345 unmap_data.unmap_ops = map->unmap_ops + offset; __unmap_grant_pages()
355 if (map->unmap_ops[offset+i].status) __unmap_grant_pages()
358 map->unmap_ops[offset+i].handle, __unmap_grant_pages()
359 map->unmap_ops[offset+i].status); __unmap_grant_pages()
360 map->unmap_ops[offset+i].handle = -1; __unmap_grant_pages()
375 while (pages && map->unmap_ops[offset].handle == -1) { unmap_grant_pages()
381 if (map->unmap_ops[offset+range].handle == -1) { unmap_grant_pages()
418 * closing the vma, but it may still iterate the unmap_ops list. gntdev_vma_close()
H A Dgrant-table.c857 int gnttab_unmap_refs(struct gnttab_unmap_grant_ref *unmap_ops, gnttab_unmap_refs() argument
864 ret = HYPERVISOR_grant_table_op(GNTTABOP_unmap_grant_ref, unmap_ops, count); gnttab_unmap_refs()
871 return clear_foreign_p2m_mapping(unmap_ops, kunmap_ops, pages, count); gnttab_unmap_refs()
904 ret = gnttab_unmap_refs(item->unmap_ops, item->kunmap_ops, __gnttab_unmap_refs_async()
/linux-4.4.14/arch/arm/xen/
H A Dp2m.c104 int clear_foreign_p2m_mapping(struct gnttab_unmap_grant_ref *unmap_ops, clear_foreign_p2m_mapping() argument
111 set_phys_to_machine(unmap_ops[i].host_addr >> XEN_PAGE_SHIFT, clear_foreign_p2m_mapping()
/linux-4.4.14/arch/arm/include/asm/xen/
H A Dpage.h101 extern int clear_foreign_p2m_mapping(struct gnttab_unmap_grant_ref *unmap_ops,
/linux-4.4.14/include/xen/
H A Dgrant_table.h74 struct gnttab_unmap_grant_ref *unmap_ops; member in struct:gntab_unmap_queue_data
201 int gnttab_unmap_refs(struct gnttab_unmap_grant_ref *unmap_ops,
/linux-4.4.14/arch/x86/include/asm/xen/
H A Dpage.h57 extern int clear_foreign_p2m_mapping(struct gnttab_unmap_grant_ref *unmap_ops,
/linux-4.4.14/drivers/block/xen-blkback/
H A Dblkback.c286 unmap_data.unmap_ops = unmap; free_persistent_gnts()
327 unmap_data.unmap_ops = unmap; xen_blkbk_unmap_purged_grants()
679 struct gnttab_unmap_grant_ref *unmap_ops, xen_blkbk_unmap_prepare()
692 gnttab_set_unmap_op(&unmap_ops[invcount], vaddr(pages[i]->page), xen_blkbk_unmap_prepare()
744 work->unmap_ops = req->unmap; xen_blkbk_unmap_and_respond()
675 xen_blkbk_unmap_prepare( struct xen_blkif *blkif, struct grant_page **pages, unsigned int num, struct gnttab_unmap_grant_ref *unmap_ops, struct page **unmap_pages) xen_blkbk_unmap_prepare() argument
/linux-4.4.14/arch/x86/xen/
H A Dp2m.c753 int clear_foreign_p2m_mapping(struct gnttab_unmap_grant_ref *unmap_ops, clear_foreign_p2m_mapping() argument

Completed in 293 milliseconds