| /linux/include/xen/ |
| H A D | xen-ops.h | 48 unsigned int domid, bool no_translate); 52 pgprot_t prot, unsigned int domid, in xen_remap_pfn() argument 67 unsigned int domid, 80 unsigned int domid, in xen_xlate_remap_gfn_array() argument 117 unsigned int domid, in xen_remap_domain_gfn_array() argument 122 prot, domid, pages); in xen_remap_domain_gfn_array() 129 return xen_remap_pfn(vma, addr, gfn, nr, err_ptr, prot, domid, in xen_remap_domain_gfn_array() 152 pgprot_t prot, unsigned int domid) in xen_remap_domain_mfn_array() argument 157 return xen_remap_pfn(vma, addr, mfn, nr, err_ptr, prot, domid, in xen_remap_domain_mfn_array() 176 pgprot_t prot, unsigned int domid, in xen_remap_domain_gfn_range() argument [all …]
|
| H A D | grant_table.h | 90 int gnttab_grant_foreign_access(domid_t domid, unsigned long frame, 149 void gnttab_grant_foreign_access_ref(grant_ref_t ref, domid_t domid, 154 grant_ref_t ref, domid_t domid, in gnttab_page_grant_foreign_access_ref_one() argument 157 gnttab_grant_foreign_access_ref(ref, domid, xen_page_to_gfn(page), in gnttab_page_grant_foreign_access_ref_one() 163 uint32_t flags, grant_ref_t ref, domid_t domid) in gnttab_set_map_op() argument 174 map->dom = domid; in gnttab_set_map_op() 279 domid_t domid; member
|
| /linux/include/xen/interface/ |
| H A D | memory.h | 53 domid_t domid; member 174 domid_t domid; member 197 domid_t domid; member 255 domid_t domid; member 269 domid_t domid; member
|
| H A D | grant_table.h | 92 domid_t domid; member 183 domid_t domid; member 358 domid_t domid; member 395 domid_t domid; member
|
| H A D | physdev.h | 120 domid_t domid; member 144 domid_t domid; member
|
| /linux/include/uapi/xen/ |
| H A D | gntdev.h | 42 __u32 domid; member 161 domid_t domid; member 253 __u32 domid; member 293 __u32 domid; member
|
| H A D | gntalloc.h | 24 __u16 domid; member
|
| H A D | evtchn.h | 101 domid_t domid; member
|
| /linux/include/xen/interface/hvm/ |
| H A D | hvm_op.h | 13 domid_t domid; /* IN */ member 23 domid_t domid; member 40 domid_t domid; member
|
| /linux/drivers/xen/ |
| H A D | xlate_mmu.c | 68 domid_t domid; member 104 .domid = DOMID_SELF, in remap_pte_fn() 105 .foreign_domid = info->domid, in remap_pte_fn() 147 unsigned domid, in xen_xlate_remap_gfn_array() argument 161 data.domid = domid; in xen_xlate_remap_gfn_array() 178 xrp.domid = DOMID_SELF; in unmap_gfn()
|
| H A D | privcmd.c | 72 domid_t domid; member 87 if (data->domid != DOMID_INVALID) in privcmd_ioctl_hypercall() 281 if (data->domid != DOMID_INVALID && data->domid != mmapcmd.dom) in privcmd_ioctl_mmap() 488 if (data->domid != DOMID_INVALID && data->domid != m.dom) in privcmd_ioctl_mmap_batch() 647 if (data->domid != DOMID_INVALID && data->domid != kdata.dom) in privcmd_ioctl_dm_op() 726 if (data->domid == DOMID_INVALID) in privcmd_ioctl_restrict() 727 data->domid = dom; in privcmd_ioctl_restrict() 728 else if (data->domid != dom) in privcmd_ioctl_restrict() 749 if (data->domid != DOMID_INVALID && data->domid != kdata.dom) in privcmd_ioctl_mmap_resource() 756 xdata.domid = kdata.dom; in privcmd_ioctl_mmap_resource() [all …]
|
| H A D | gntdev-dmabuf.c | 429 int count, u32 domid, u32 *refs, u32 *fd) in dmabuf_exp_from_refs() argument 440 map->grants[i].domid = domid; in dmabuf_exp_from_refs() 481 int count, int domid) in dmabuf_imp_grant_foreign_access() argument 502 gnttab_grant_foreign_access_ref(cur_ref, domid, in dmabuf_imp_grant_foreign_access() 559 int fd, int count, int domid) in dmabuf_imp_to_refs() argument 637 count, domid)); in dmabuf_imp_to_refs() 751 op.domid, refs, &op.fd); in gntdev_ioctl_dmabuf_exp_from_refs() 790 op.count, op.domid); in gntdev_ioctl_dmabuf_imp_to_refs()
|
| H A D | mem-reservation.c | 91 .domid = DOMID_SELF in xenmem_reservation_increase() 107 .domid = DOMID_SELF in xenmem_reservation_decrease()
|
| H A D | grant-table.c | 139 void (*update_entry)(grant_ref_t ref, domid_t domid, 384 static void gnttab_update_entry_v1(grant_ref_t ref, domid_t domid, in gnttab_update_entry_v1() argument 387 gnttab_shared.v1[ref].domid = domid; in gnttab_update_entry_v1() 393 static void gnttab_update_entry_v2(grant_ref_t ref, domid_t domid, in gnttab_update_entry_v2() argument 396 gnttab_shared.v2[ref].hdr.domid = domid; in gnttab_update_entry_v2() 405 void gnttab_grant_foreign_access_ref(grant_ref_t ref, domid_t domid, in gnttab_grant_foreign_access_ref() argument 408 gnttab_interface->update_entry(ref, domid, frame, in gnttab_grant_foreign_access_ref() 413 int gnttab_grant_foreign_access(domid_t domid, unsigned long frame, in gnttab_grant_foreign_access() argument 422 gnttab_grant_foreign_access_ref(ref, domid, frame, readonly); in gnttab_grant_foreign_access() 1263 foreign->domid = map_ops[i].dom; in gnttab_map_refs() [all …]
|
| H A D | gntdev.c | 207 add->grants[i].domid = DOMID_INVALID; in gntdev_alloc_map() 324 map->grants[pgnr].domid); in find_grant_ptes() 344 map->grants[i].domid); in gntdev_map_grant_pages() 370 map->grants[i].domid); in gntdev_map_grant_pages() 915 op->source.domid = seg->source.foreign.domid; in gntdev_grant_copy_seg() 929 op->source.domid = DOMID_SELF; in gntdev_grant_copy_seg() 935 op->dest.domid = seg->dest.foreign.domid; in gntdev_grant_copy_seg() 949 op->dest.domid = DOMID_SELF; in gntdev_grant_copy_seg()
|
| H A D | arm-device.c | 29 xrp.domid = DOMID_SELF; in xen_unmap_device_mmio() 53 .domid = DOMID_SELF, in xen_map_device_mmio()
|
| /linux/arch/x86/xen/ |
| H A D | mmu_hvm.c | 21 .domid = DOMID_SELF, in xen_vmcore_pfn_is_ram() 41 a.domid = DOMID_SELF; in xen_hvm_exit_mmap() 52 a.domid = DOMID_SELF; in is_pagetable_dying_supported()
|
| /linux/arch/x86/include/asm/xen/ |
| H A D | hypercall.h | 267 int *success_count, domid_t domid) in HYPERVISOR_mmu_update() argument 269 return _hypercall4(int, mmu_update, req, count, success_count, domid); in HYPERVISOR_mmu_update() 274 int *success_count, domid_t domid) in HYPERVISOR_mmuext_op() argument 276 return _hypercall4(int, mmuext_op, op, count, success_count, domid); in HYPERVISOR_mmuext_op() 356 int count, int *success_count, domid_t domid) in MULTI_mmu_update() argument 362 mcl->args[3] = domid; in MULTI_mmu_update() 369 int *success_count, domid_t domid) in MULTI_mmuext_op() argument 375 mcl->args[3] = domid; in MULTI_mmuext_op()
|
| /linux/drivers/xen/xenbus/ |
| H A D | xenbus_dev_backend.c | 30 static long xenbus_alloc(domid_t domid) in xenbus_alloc() argument 50 gnttab_grant_foreign_access_ref(GNTTAB_RESERVED_XENSTORE, domid, in xenbus_alloc() 54 arg.remote_dom = domid; in xenbus_alloc()
|
| H A D | xenbus_probe_backend.c | 61 int domid, err; in backend_bus_id() local 75 err = xenbus_gather(XBT_NIL, nodename, "frontend-id", "%i", &domid, in backend_bus_id() 90 typelen, type, domid, devid) >= XEN_BUS_ID_SIZE) in backend_bus_id() 154 const char *domid) in xenbus_probe_backend() argument 163 nodename = kasprintf(GFP_KERNEL, "%s/%s/%s", bus->root, type, domid); in xenbus_probe_backend()
|
| /linux/drivers/net/xen-netback/ |
| H A D | hash.c | 295 .source.domid = vif->domid, in xenvif_set_hash_key() 297 .dest.domid = DOMID_SELF, in xenvif_set_hash_key() 341 .source.domid = vif->domid, in xenvif_set_hash_mapping() 342 .dest.domid = DOMID_SELF, in xenvif_set_hash_mapping()
|
| H A D | rx.c | 212 op->source.domid = foreign->domid; in xenvif_rx_copy_add() 217 op->source.domid = DOMID_SELF; in xenvif_rx_copy_add() 222 op->dest.domid = queue->vif->domid; in xenvif_rx_copy_add()
|
| /linux/drivers/iommu/amd/ |
| H A D | iommu.c | 1290 size_t size, u16 domid, in build_inv_iommu_pages() argument 1297 cmd->data[1] |= domid; in build_inv_iommu_pages() 1641 u16 domid = dev_data->gcr3_info.domid; in domain_flush_pages_v2() local 1644 domid, IOMMU_NO_PASID, true); in domain_flush_pages_v2() 1774 dev_data->gcr3_info.domid, pasid, true); in amd_iommu_dev_flush_pasid_pages() 1876 amd_iommu_pdom_id_free(gcr3_info->domid); in free_gcr3_table() 1903 int domid; in setup_gcr3_table() local 1912 domid = amd_iommu_pdom_id_alloc(); in setup_gcr3_table() 1913 if (domid < in setup_gcr3_table() 2061 u16 domid; set_dte_entry() local 2509 int domid; protection_domain_alloc() local [all...] |
| /linux/drivers/xen/events/ |
| H A D | events_base.c | 127 uint16_t domid; member 389 uint16_t domid, unsigned char flags) in xen_irq_info_pirq_setup() argument 393 info->u.pirq.domid = domid; in xen_irq_info_pirq_setup() 1098 int pirq, int nvec, const char *name, domid_t domid) in xen_bind_pirq_msi_to_irq() argument 1118 ret = xen_irq_info_pirq_setup(info, 0, pirq + i, 0, domid, in xen_bind_pirq_msi_to_irq() 1156 unmap_irq.domid = info->u.pirq.domid; in xen_destroy_irq() 1162 if ((rc == -ESRCH && info->u.pirq.domid != DOMID_SELF)) in xen_destroy_irq() 1164 info->u.pirq.domid, info->u.pirq.pirq); in xen_destroy_irq() 1956 map_irq.domid = DOMID_SELF; in restore_pirqs()
|
| /linux/include/xen/arm/ |
| H A D | hypercall.h | 57 int HYPERVISOR_dm_op(domid_t domid, unsigned int nr_bufs,
|