Home
last modified time | relevance | path

Searched refs:kmap_ops (Results 1 – 8 of 8) sorted by relevance

/linux/arch/x86/xen/
H A Dp2m.c689 struct gnttab_map_grant_ref *kmap_ops, in set_foreign_p2m_mapping() argument
698 if (kmap_ops) { in set_foreign_p2m_mapping()
700 kmap_ops, count); in set_foreign_p2m_mapping()
712 (kmap_ops && kmap_ops[i].status != GNTST_okay)) in set_foreign_p2m_mapping()
742 if (kmap_ops) { in set_foreign_p2m_mapping()
743 kmap_ops[i].status = GNTST_general_error; 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()
746 kmap_ops[i].handle = INVALID_GRANT_HANDLE; in set_foreign_p2m_mapping()
747 if (kmap_ops[i].flags & GNTMAP_device_map) in set_foreign_p2m_mapping()
[all …]
/linux/drivers/xen/
H A Dgntdev.c123 kvfree(map->kmap_ops); in gntdev_free_map()
155 add->kmap_ops = kvmalloc_array(count, sizeof(add->kmap_ops[0]), in gntdev_alloc_map()
159 if (NULL == add->kmap_ops || NULL == add->kunmap_ops) in gntdev_alloc_map()
203 add->kmap_ops[i].handle = INVALID_GRANT_HANDLE; in gntdev_alloc_map()
358 gnttab_set_map_op(&map->kmap_ops[i], address, flags, in gntdev_map_grant_pages()
367 err = gnttab_map_refs(map->map_ops, map->kmap_ops, map->pages, in gntdev_map_grant_pages()
381 if (map->kmap_ops[i].status == GNTST_okay) { in gntdev_map_grant_pages()
383 map->kunmap_ops[i].handle = map->kmap_ops[i].handle; in gntdev_map_grant_pages()
H A Dgntdev-common.h59 struct gnttab_map_grant_ref *kmap_ops; member
H A Dgrant-table.c1246 struct gnttab_map_grant_ref *kmap_ops, in gnttab_map_refs() argument
1286 return set_foreign_p2m_mapping(map_ops, kmap_ops, pages, count); in gnttab_map_refs()
/linux/arch/x86/include/asm/xen/
H A Dpage.h66 struct gnttab_map_grant_ref *kmap_ops,
74 struct gnttab_map_grant_ref *kmap_ops, in set_foreign_p2m_mapping() argument
/linux/include/xen/arm/
H A Dpage.h96 struct gnttab_map_grant_ref *kmap_ops,
/linux/arch/arm/xen/
H A Dp2m.c92 struct gnttab_map_grant_ref *kmap_ops, in set_foreign_p2m_mapping() argument
/linux/include/xen/
H A Dgrant_table.h256 struct gnttab_map_grant_ref *kmap_ops,