| /linux/include/xen/interface/io/ |
| H A D | vscsiif.h | 98 * <domid>/<vhost>/feature-host = "0" 99 * <domid>/<vhost>/frontend = "/local/domain/<domid>/device/vscsi/0" 100 * <domid>/<vhost>/frontend-id = "<domid>" 101 * <domid>/<vhost>/online = "1" 102 * <domid>/<vhost>/state = "4" 103 * <domid>/<vhost>/vscsi-devs/dev-0/p-dev = "8:0:2:1" or "naa.wwn:lun" 104 * <domid>/<vhost>/vscsi-devs/dev-0/state = "4" 105 * <domid>/<vhost>/vscsi-devs/dev-0/v-dev = "0:0:0:0" 106 * <domid>/<vhost>/vscsi-devs/dev-1/p-dev = "8:0:2:2" 107 * <domid>/<vhost>/vscsi-devs/dev-1/state = "4" [all …]
|
| /linux/kernel/irq/ |
| H A D | msi.c | 41 * @domid: ID of the domain on which management operations should be done 48 unsigned int domid; member 60 static unsigned int msi_domain_get_hwsize(struct device *dev, unsigned int domid); 103 unsigned int domid, unsigned int index) in msi_insert_desc() argument 106 struct xarray *xa = &md->__domains[domid].store; in msi_insert_desc() 110 hwsize = msi_domain_get_hwsize(dev, domid); in msi_insert_desc() 145 * @domid: The id of the interrupt domain to which the desriptor is added 150 int msi_domain_insert_msi_desc(struct device *dev, unsigned int domid, in msi_domain_insert_msi_desc() argument 164 return msi_insert_desc(dev, desc, domid, init_desc->msi_index); in msi_domain_insert_msi_desc() 185 if (WARN_ON_ONCE(ctrl->domid >= MSI_MAX_DEVICE_IRQDOMAINS || in msi_ctrl_valid() [all …]
|
| /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 104 * @domid: Domain owning the pages 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() 141 * @domid: Domain owning the pages 152 pgprot_t prot, unsigned int domid) in xen_remap_domain_mfn_array() 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/linux/ |
| H A D | msi.h | 238 struct msi_desc *msi_domain_first_desc(struct device *dev, unsigned int domid, 258 struct msi_desc *msi_next_desc(struct device *dev, unsigned int domid, 266 * @domid: The id of the interrupt domain which should be walked. 274 #define msi_domain_for_each_desc(desc, dev, domid, filter) \ argument 275 for ((desc) = msi_domain_first_desc((dev), (domid), (filter)); (desc); \ 276 (desc) = msi_next_desc((dev), (domid), (filter))) 332 int msi_domain_insert_msi_desc(struct device *dev, unsigned int domid, 347 void msi_domain_free_msi_descs_range(struct device *dev, unsigned int domid, 643 bool msi_create_device_irq_domain(struct device *dev, unsigned int domid, 647 void msi_remove_device_irq_domain(struct device *dev, unsigned int domid); [all …]
|
| /linux/include/xen/interface/ |
| H A D | grant_table.h | 29 * 1. Write ent->domid. 92 domid_t domid; member 94 * GTF_permit_access: GFN that @domid is allowed to map and access. [GST] 95 * GTF_accept_transfer: GFN that @domid is allowed to transfer into. [GST] 96 * GTF_transfer_completed: MFN whose ownership transferred by @domid 112 * GTF_permit_access: Allow @domid to map/access @frame. 113 * GTF_accept_transfer: Allow @domid to transfer ownership of one page frame 115 * GTF_transitive: Allow @domid to transitively access a subrange of 126 * GTF_readonly: Restrict @domid to read-only mappings and accesses. [GST] 127 * GTF_reading: Grant entry is currently mapped for reading by @domid. [XEN] [all …]
|
| H A D | memory.h | 53 domid_t domid; member 76 * 1. @in.domid == @out.domid 174 domid_t domid; member 197 domid_t domid; member 207 /* GPFN in domid where the source mapping page should appear. */ 255 domid_t domid; member 269 domid_t domid; member
|
| H A D | physdev.h | 120 domid_t domid; member 144 domid_t domid; member
|
| /linux/drivers/xen/ |
| H A D | privcmd.c | 72 domid_t domid; member 87 if (data->domid != DOMID_INVALID) in privcmd_ioctl_hypercall() 280 /* If restriction is in place, check the domid matches */ in privcmd_ioctl_mmap() 281 if (data->domid != DOMID_INVALID && data->domid != mmapcmd.dom) in privcmd_ioctl_mmap() 427 /* Allocate pfns that are then mapped with gfns from foreign domid. Update 487 /* If restriction is in place, check the domid matches */ in privcmd_ioctl_mmap_batch() 488 if (data->domid != DOMID_INVALID && data->domid != m.dom) in privcmd_ioctl_mmap_batch() 646 /* If restriction is in place, check the domid matches */ in privcmd_ioctl_dm_op() 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() [all …]
|
| 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 | 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 | grant-table.c | 135 * parameter is reference of this introduced grant entry, domid is id of 139 void (*update_entry)(grant_ref_t ref, domid_t domid, 379 * 1. Write ent->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 [all …]
|
| 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 | 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/drivers/xen/xenbus/ |
| H A D | xenbus_probe_backend.c | 58 /* backend/<type>/<fe-uuid>/<id> => <type>-<fe-domid>-<id> */ 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() 152 /* backend/<typename>/<frontend-domid> */ 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()
|
| 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()
|
| /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/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/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/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/include/uapi/xen/ |
| H A D | gntdev.h | 42 __u32 domid; member 161 domid_t domid; member 227 * by the foreign domain @domid with flags @flags. 253 __u32 domid; member 293 __u32 domid; member
|
| /linux/fs/resctrl/ |
| H A D | ctrlmondata.c | 603 int domid, cpu, ret = 0; in rdtgroup_mondata_show() local 621 domid = md->domid; in rdtgroup_mondata_show() 628 * the L3 cache id that was provided in the "domid" field of the in rdtgroup_mondata_show() 633 if (d->ci_id == domid) { in rdtgroup_mondata_show() 649 * the resource to find the domain with "domid". in rdtgroup_mondata_show() 651 hdr = resctrl_find_domain(&r->mon_domains, domid, NULL); in rdtgroup_mondata_show()
|
| /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()
|