Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/xen/
Dp2m.c694 struct gnttab_map_grant_ref *kmap_ops, in set_foreign_p2m_mapping() argument
703 if (kmap_ops) { in set_foreign_p2m_mapping()
705 kmap_ops, count); in set_foreign_p2m_mapping()
717 (kmap_ops && kmap_ops[i].status != GNTST_okay)) in set_foreign_p2m_mapping()
747 if (kmap_ops) { in set_foreign_p2m_mapping()
748 kmap_ops[i].status = GNTST_general_error; in set_foreign_p2m_mapping()
749 unmap[1].host_addr = kmap_ops[i].host_addr, in set_foreign_p2m_mapping()
750 unmap[1].handle = kmap_ops[i].handle; in set_foreign_p2m_mapping()
751 kmap_ops[i].handle = ~0; in set_foreign_p2m_mapping()
752 if (kmap_ops[i].flags & GNTMAP_device_map) in set_foreign_p2m_mapping()
[all …]
/kernel/linux/linux-5.10/drivers/xen/
Dgntdev.c121 kvfree(map->kmap_ops); in gntdev_free_map()
139 add->kmap_ops = kvcalloc(count, sizeof(add->kmap_ops[0]), GFP_KERNEL); in gntdev_alloc_map()
146 NULL == add->kmap_ops || in gntdev_alloc_map()
188 add->kmap_ops[i].handle = -1; in gntdev_alloc_map()
326 gnttab_set_map_op(&map->kmap_ops[i], address, flags, in gntdev_map_grant_pages()
335 err = gnttab_map_refs(map->map_ops, use_ptemod ? map->kmap_ops : NULL, in gntdev_map_grant_pages()
348 if (map->kmap_ops[i].status == GNTST_okay) in gntdev_map_grant_pages()
349 map->kunmap_ops[i].handle = map->kmap_ops[i].handle; in gntdev_map_grant_pages()
Dgntdev-common.h57 struct gnttab_map_grant_ref *kmap_ops; member
Dgrant-table.c1154 struct gnttab_map_grant_ref *kmap_ops, in gnttab_map_refs() argument
1194 return set_foreign_p2m_mapping(map_ops, kmap_ops, pages, count); in gnttab_map_refs()
/kernel/linux/linux-5.10/arch/x86/include/asm/xen/
Dpage.h66 struct gnttab_map_grant_ref *kmap_ops,
74 struct gnttab_map_grant_ref *kmap_ops, in set_foreign_p2m_mapping() argument
/kernel/linux/linux-5.10/include/xen/arm/
Dpage.h96 struct gnttab_map_grant_ref *kmap_ops,
/kernel/linux/linux-5.10/arch/arm/xen/
Dp2m.c90 struct gnttab_map_grant_ref *kmap_ops, in set_foreign_p2m_mapping() argument
/kernel/linux/linux-5.10/include/xen/
Dgrant_table.h241 struct gnttab_map_grant_ref *kmap_ops,