/kernel/linux/linux-5.10/arch/x86/xen/ |
H A D | p2m.c | 694 struct gnttab_map_grant_ref *kmap_ops, in set_foreign_p2m_mapping() 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[ in set_foreign_p2m_mapping() 693 set_foreign_p2m_mapping(struct gnttab_map_grant_ref *map_ops, struct gnttab_map_grant_ref *kmap_ops, struct page **pages, unsigned int count) set_foreign_p2m_mapping() argument [all...] |
/kernel/linux/linux-6.6/arch/x86/xen/ |
H A D | p2m.c | 689 struct gnttab_map_grant_ref *kmap_ops, in set_foreign_p2m_mapping() 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[ in set_foreign_p2m_mapping() 688 set_foreign_p2m_mapping(struct gnttab_map_grant_ref *map_ops, struct gnttab_map_grant_ref *kmap_ops, struct page **pages, unsigned int count) set_foreign_p2m_mapping() argument [all...] |
/kernel/linux/linux-5.10/drivers/xen/ |
H A D | gntdev.c | 123 kvfree(map->kmap_ops); in gntdev_free_map() 142 add->kmap_ops = kvcalloc(count, sizeof(add->kmap_ops[0]), GFP_KERNEL); in gntdev_alloc_map() 151 NULL == add->kmap_ops || in gntdev_alloc_map() 194 add->kmap_ops[i].handle = -1; in gntdev_alloc_map() 348 gnttab_set_map_op(&map->kmap_ops[i], address, flags, in gntdev_map_grant_pages() 357 err = gnttab_map_refs(map->map_ops, use_ptemod ? map->kmap_ops : NULL, in gntdev_map_grant_pages() 371 if (map->kmap_ops[i].status == GNTST_okay) { in gntdev_map_grant_pages() 373 map->kunmap_ops[i].handle = map->kmap_ops[i].handle; in gntdev_map_grant_pages()
|
H A D | gntdev-common.h | 59 struct gnttab_map_grant_ref *kmap_ops; member
|
H A D | grant-table.c | 1164 struct gnttab_map_grant_ref *kmap_ops, in gnttab_map_refs() 1204 return set_foreign_p2m_mapping(map_ops, kmap_ops, pages, count); in gnttab_map_refs() 1163 gnttab_map_refs(struct gnttab_map_grant_ref *map_ops, struct gnttab_map_grant_ref *kmap_ops, struct page **pages, unsigned int count) gnttab_map_refs() argument
|
/kernel/linux/linux-6.6/drivers/xen/ |
H A D | gntdev.c | 123 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 D | gntdev-common.h | 59 struct gnttab_map_grant_ref *kmap_ops; member
|
H A D | grant-table.c | 1248 struct gnttab_map_grant_ref *kmap_ops, in gnttab_map_refs() 1288 return set_foreign_p2m_mapping(map_ops, kmap_ops, pages, count); in gnttab_map_refs() 1247 gnttab_map_refs(struct gnttab_map_grant_ref *map_ops, struct gnttab_map_grant_ref *kmap_ops, struct page **pages, unsigned int count) gnttab_map_refs() argument
|
/kernel/linux/linux-5.10/arch/x86/include/asm/xen/ |
H A D | page.h | 66 struct gnttab_map_grant_ref *kmap_ops, 74 struct gnttab_map_grant_ref *kmap_ops, in set_foreign_p2m_mapping() 73 set_foreign_p2m_mapping(struct gnttab_map_grant_ref *map_ops, struct gnttab_map_grant_ref *kmap_ops, struct page **pages, unsigned int count) set_foreign_p2m_mapping() argument
|
/kernel/linux/linux-6.6/arch/x86/include/asm/xen/ |
H A D | page.h | 66 struct gnttab_map_grant_ref *kmap_ops, 74 struct gnttab_map_grant_ref *kmap_ops, in set_foreign_p2m_mapping() 73 set_foreign_p2m_mapping(struct gnttab_map_grant_ref *map_ops, struct gnttab_map_grant_ref *kmap_ops, struct page **pages, unsigned int count) set_foreign_p2m_mapping() argument
|
/kernel/linux/linux-5.10/include/xen/arm/ |
H A D | page.h | 96 struct gnttab_map_grant_ref *kmap_ops,
|
/kernel/linux/linux-6.6/include/xen/arm/ |
H A D | page.h | 96 struct gnttab_map_grant_ref *kmap_ops,
|
/kernel/linux/linux-5.10/arch/arm/xen/ |
H A D | p2m.c | 91 struct gnttab_map_grant_ref *kmap_ops, in set_foreign_p2m_mapping() 90 set_foreign_p2m_mapping(struct gnttab_map_grant_ref *map_ops, struct gnttab_map_grant_ref *kmap_ops, struct page **pages, unsigned int count) set_foreign_p2m_mapping() argument
|
/kernel/linux/linux-6.6/arch/arm/xen/ |
H A D | p2m.c | 92 struct gnttab_map_grant_ref *kmap_ops, in set_foreign_p2m_mapping() 91 set_foreign_p2m_mapping(struct gnttab_map_grant_ref *map_ops, struct gnttab_map_grant_ref *kmap_ops, struct page **pages, unsigned int count) set_foreign_p2m_mapping() argument
|
/kernel/linux/linux-5.10/include/xen/ |
H A D | grant_table.h | 256 struct gnttab_map_grant_ref *kmap_ops,
|
/kernel/linux/linux-6.6/include/xen/ |
H A D | grant_table.h | 256 struct gnttab_map_grant_ref *kmap_ops,
|