Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/xen/
H A Dp2m.c691 struct gnttab_map_grant_ref *kmap_ops, in set_foreign_p2m_mapping() argument
700 if (kmap_ops) { in set_foreign_p2m_mapping()
702 kmap_ops, count); in set_foreign_p2m_mapping()
714 (kmap_ops && kmap_ops[i].status != GNTST_okay)) in set_foreign_p2m_mapping()
744 if (kmap_ops) { in set_foreign_p2m_mapping()
745 kmap_ops[i].status = GNTST_general_error; in set_foreign_p2m_mapping()
746 unmap[1].host_addr = kmap_ops[i].host_addr; in set_foreign_p2m_mapping()
747 unmap[1].handle = kmap_ops[i].handle; in set_foreign_p2m_mapping()
748 kmap_ops[i].handle = INVALID_GRANT_HANDLE; in set_foreign_p2m_mapping()
749 if (kmap_ops[i].flags & GNTMAP_device_map) in set_foreign_p2m_mapping()
[all …]
/openbmc/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.c1248 struct gnttab_map_grant_ref *kmap_ops, in gnttab_map_refs() argument
1288 return set_foreign_p2m_mapping(map_ops, kmap_ops, pages, count); in gnttab_map_refs()
/openbmc/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
/openbmc/linux/include/xen/arm/
H A Dpage.h96 struct gnttab_map_grant_ref *kmap_ops,
/openbmc/linux/arch/arm/xen/
H A Dp2m.c92 struct gnttab_map_grant_ref *kmap_ops, in set_foreign_p2m_mapping() argument
/openbmc/linux/include/xen/
H A Dgrant_table.h256 struct gnttab_map_grant_ref *kmap_ops,