Searched refs:domid (Results 1 - 25 of 53) sorted by relevance

123

/linux-master/include/xen/interface/hvm/
H A Dhvm_op.h13 domid_t domid; /* IN */ member in struct:xen_hvm_param
23 domid_t domid; member in struct:xen_hvm_pagetable_dying
40 domid_t domid; member in struct:xen_hvm_get_mem_type
/linux-master/include/xen/
H A Dxen-ops.h49 unsigned int domid, bool no_translate);
53 pgprot_t prot, unsigned int domid,
68 unsigned int domid,
81 unsigned int domid,
105 * @domid: Domain owning the pages
118 unsigned int domid,
123 prot, domid, pages);
130 return xen_remap_pfn(vma, addr, gfn, nr, err_ptr, prot, domid,
142 * @domid: Domain owning the pages
153 pgprot_t prot, unsigned int domid)
51 xen_remap_pfn(struct vm_area_struct *vma, unsigned long addr, xen_pfn_t *pfn, int nr, int *err_ptr, pgprot_t prot, unsigned int domid, bool no_translate) argument
77 xen_xlate_remap_gfn_array(struct vm_area_struct *vma, unsigned long addr, xen_pfn_t *gfn, int nr, int *err_ptr, pgprot_t prot, unsigned int domid, struct page **pages) argument
114 xen_remap_domain_gfn_array(struct vm_area_struct *vma, unsigned long addr, xen_pfn_t *gfn, int nr, int *err_ptr, pgprot_t prot, unsigned int domid, struct page **pages) argument
150 xen_remap_domain_mfn_array(struct vm_area_struct *vma, unsigned long addr, xen_pfn_t *mfn, int nr, int *err_ptr, pgprot_t prot, unsigned int domid) argument
174 xen_remap_domain_gfn_range(struct vm_area_struct *vma, unsigned long addr, xen_pfn_t gfn, int nr, pgprot_t prot, unsigned int domid, struct page **pages) argument
[all...]
H A Dgrant_table.h90 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,
157 gnttab_grant_foreign_access_ref(ref, domid, xen_page_to_gfn(page),
163 uint32_t flags, grant_ref_t ref, domid_t domid)
174 map->dom = domid;
279 domid_t domid; member in struct:xen_page_foreign
153 gnttab_page_grant_foreign_access_ref_one( grant_ref_t ref, domid_t domid, struct page *page, int readonly) argument
162 gnttab_set_map_op(struct gnttab_map_grant_ref *map, phys_addr_t addr, uint32_t flags, grant_ref_t ref, domid_t domid) argument
H A Dhvm.h44 xhv.domid = DOMID_SELF;
/linux-master/include/linux/
H A Dmsi_api.h59 unsigned int msi_domain_get_virq(struct device *dev, unsigned int domid, unsigned int index);
H A Dmsi.h252 struct msi_desc *msi_domain_first_desc(struct device *dev, unsigned int domid,
272 struct msi_desc *msi_next_desc(struct device *dev, unsigned int domid,
280 * @domid: The id of the interrupt domain which should be walked.
288 #define msi_domain_for_each_desc(desc, dev, domid, filter) \
289 for ((desc) = msi_domain_first_desc((dev), (domid), (filter)); (desc); \
290 (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,
616 bool msi_create_device_irq_domain(struct device *dev, unsigned int domid,
620 void msi_remove_device_irq_domain(struct device *dev, unsigned int domid);
[all...]
/linux-master/include/xen/interface/
H A Dmemory.h53 domid_t domid; member in struct:xen_memory_reservation
76 * 1. @in.domid == @out.domid
174 domid_t domid; member in struct:xen_add_to_physmap
197 domid_t domid; member in struct:xen_add_to_physmap_range
207 /* GPFN in domid where the source mapping page should appear. */
255 domid_t domid; member in struct:xen_remove_from_physmap
269 domid_t domid; member in struct:xen_mem_acquire_resource
H A Dgrant_table.h29 * 1. Write ent->domid.
92 domid_t domid; member in struct:grant_entry_v1
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
183 domid_t domid; member in struct:grant_entry_header
358 domid_t domid; member in struct:gnttab_transfer
395 domid_t domid; member in struct:gnttab_copy::gnttab_copy_ptr
[all...]
H A Dphysdev.h120 domid_t domid; member in struct:physdev_map_pirq
144 domid_t domid; member in struct:physdev_unmap_pirq
/linux-master/kernel/irq/
H A Dmsi.c24 * @domid: ID of the domain on which management operations should be done
31 unsigned int domid; member in struct:msi_ctrl
43 static unsigned int msi_domain_get_hwsize(struct device *dev, unsigned int domid);
85 unsigned int domid, unsigned int index)
88 struct xarray *xa = &md->__domains[domid].store;
92 hwsize = msi_domain_get_hwsize(dev, domid);
127 * @domid: The id of the interrupt domain to which the desriptor is added
132 int msi_domain_insert_msi_desc(struct device *dev, unsigned int domid, argument
146 return msi_insert_desc(dev, desc, domid, init_desc->msi_index);
167 if (WARN_ON_ONCE(ctrl->domid >
84 msi_insert_desc(struct device *dev, struct msi_desc *desc, unsigned int domid, unsigned int index) argument
209 msi_domain_free_msi_descs_range(struct device *dev, unsigned int domid, unsigned int first, unsigned int last) argument
350 msi_find_desc(struct msi_device_data *md, unsigned int domid, enum msi_desc_filter filter) argument
376 msi_domain_first_desc(struct device *dev, unsigned int domid, enum msi_desc_filter filter) argument
405 msi_next_desc(struct device *dev, unsigned int domid, enum msi_desc_filter filter) argument
431 msi_domain_get_virq(struct device *dev, unsigned int domid, unsigned int index) argument
584 msi_get_device_domain(struct device *dev, unsigned int domid) argument
603 msi_domain_get_hwsize(struct device *dev, unsigned int domid) argument
960 msi_create_device_irq_domain(struct device *dev, unsigned int domid, const struct msi_domain_template *template, unsigned int hwsize, void *domain_data, void *chip_data) argument
1041 msi_remove_device_irq_domain(struct device *dev, unsigned int domid) argument
1074 msi_match_device_irq_domain(struct device *dev, unsigned int domid, enum irq_domain_bus_token bus_token) argument
1404 msi_domain_alloc_irqs_range_locked(struct device *dev, unsigned int domid, unsigned int first, unsigned int last) argument
1427 msi_domain_alloc_irqs_range(struct device *dev, unsigned int domid, unsigned int first, unsigned int last) argument
1452 msi_domain_alloc_irqs_all_locked(struct device *dev, unsigned int domid, int nirqs) argument
1464 __msi_domain_alloc_irq_at(struct device *dev, unsigned int domid, unsigned int index, const struct irq_affinity_desc *affdesc, union msi_instance_cookie *icookie) argument
1534 msi_domain_alloc_irq_at(struct device *dev, unsigned int domid, unsigned int index, const struct irq_affinity_desc *affdesc, union msi_instance_cookie *icookie) argument
1570 unsigned int domid = MSI_DEFAULT_DOMAIN; local
1656 msi_domain_free_irqs_range_locked(struct device *dev, unsigned int domid, unsigned int first, unsigned int last) argument
1676 msi_domain_free_irqs_range(struct device *dev, unsigned int domid, unsigned int first, unsigned int last) argument
1695 msi_domain_free_irqs_all_locked(struct device *dev, unsigned int domid) argument
1708 msi_domain_free_irqs_all(struct device *dev, unsigned int domid) argument
[all...]
/linux-master/include/uapi/xen/
H A Dgntdev.h42 __u32 domid; member in struct:ioctl_gntdev_grant_ref
161 domid_t domid; member in struct:gntdev_grant_copy_segment::__anon85::__anon86
227 * by the foreign domain @domid with flags @flags.
253 __u32 domid; member in struct:ioctl_gntdev_dmabuf_exp_from_refs
293 __u32 domid; member in struct:ioctl_gntdev_dmabuf_imp_to_refs
H A Devtchn.h101 domid_t domid; member in struct:ioctl_evtchn_restrict_domid
H A Dgntalloc.h24 __u16 domid; member in struct:ioctl_gntalloc_alloc_gref
/linux-master/arch/x86/xen/
H A Dmmu_hvm.c21 .domid = DOMID_SELF,
41 a.domid = DOMID_SELF;
52 a.domid = DOMID_SELF;
/linux-master/drivers/xen/
H A Dxlate_mmu.c68 domid_t domid; member in struct:remap_data
104 .domid = DOMID_SELF,
105 .foreign_domid = info->domid,
147 unsigned domid,
161 data.domid = domid;
178 xrp.domid = DOMID_SELF;
143 xen_xlate_remap_gfn_array(struct vm_area_struct *vma, unsigned long addr, xen_pfn_t *gfn, int nr, int *err_ptr, pgprot_t prot, unsigned domid, struct page **pages) argument
H A Dmem-reservation.c91 .domid = DOMID_SELF
107 .domid = DOMID_SELF
H A Dprivcmd.c67 domid_t domid; member in struct:privcmd_data
82 if (data->domid != DOMID_INVALID)
275 /* If restriction is in place, check the domid matches */
276 if (data->domid != DOMID_INVALID && data->domid != mmapcmd.dom)
422 /* Allocate pfns that are then mapped with gfns from foreign domid. Update
482 /* If restriction is in place, check the domid matches */
483 if (data->domid != DOMID_INVALID && data->domid != m.dom)
641 /* If restriction is in place, check the domid matche
813 unsigned int domid = local
[all...]
H A Darm-device.c29 xrp.domid = DOMID_SELF;
53 .domid = DOMID_SELF,
/linux-master/drivers/xen/xenbus/
H A Dxenbus_dev_backend.c30 static long xenbus_alloc(domid_t domid) argument
50 gnttab_grant_foreign_access_ref(GNTTAB_RESERVED_XENSTORE, domid,
54 arg.remote_dom = domid;
H A Dxenbus_probe_backend.c58 /* backend/<type>/<fe-uuid>/<id> => <type>-<fe-domid>-<id> */
61 int domid, err; local
75 err = xenbus_gather(XBT_NIL, nodename, "frontend-id", "%i", &domid,
90 typelen, type, domid, devid) >= XEN_BUS_ID_SIZE)
152 /* backend/<typename>/<frontend-domid> */
154 const char *domid)
163 nodename = kasprintf(GFP_KERNEL, "%s/%s/%s", bus->root, type, domid);
153 xenbus_probe_backend(struct xen_bus_type *bus, const char *type, const char *domid) argument
/linux-master/arch/x86/include/asm/xen/
H A Dhypercall.h260 int *success_count, domid_t domid)
262 return _hypercall4(int, mmu_update, req, count, success_count, domid);
267 int *success_count, domid_t domid)
269 return _hypercall4(int, mmuext_op, op, count, success_count, domid);
349 int count, int *success_count, domid_t domid)
355 mcl->args[3] = domid;
362 int *success_count, domid_t domid)
368 mcl->args[3] = domid;
259 HYPERVISOR_mmu_update(struct mmu_update *req, int count, int *success_count, domid_t domid) argument
266 HYPERVISOR_mmuext_op(struct mmuext_op *op, int count, int *success_count, domid_t domid) argument
348 MULTI_mmu_update(struct multicall_entry *mcl, struct mmu_update *req, int count, int *success_count, domid_t domid) argument
361 MULTI_mmuext_op(struct multicall_entry *mcl, struct mmuext_op *op, int count, int *success_count, domid_t domid) argument
/linux-master/arch/x86/pci/
H A Dxen.c79 map_irq.domid = DOMID_SELF;
275 domid_t domid; local
277 domid = ret = xen_find_device_domain_owner(dev);
281 domid = DOMID_SELF;
284 map_irq.domid = domid;
338 ret, domid);
345 domid);
/linux-master/drivers/s390/char/
H A Dsclp_rw.h27 u32 domid; member in struct:go
/linux-master/include/xen/arm/
H A Dhypercall.h57 int HYPERVISOR_dm_op(domid_t domid, unsigned int nr_bufs,
/linux-master/drivers/net/xen-netback/
H A Dhash.c296 .source.domid = vif->domid,
298 .dest.domid = DOMID_SELF,
342 .source.domid = vif->domid,
343 .dest.domid = DOMID_SELF,

Completed in 404 milliseconds

123