Home
last modified time | relevance | path

Searched full:domid (Results 1 – 25 of 117) sorted by relevance

12345

/kernel/linux/linux-6.6/include/xen/interface/io/
Dvscsiif.h98 * <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 …]
/kernel/linux/linux-6.6/kernel/irq/
Dmsi.c24 * @domid: ID of the domain on which management operations should be done
31 unsigned int domid; member
43 static unsigned int msi_domain_get_hwsize(struct device *dev, unsigned int domid);
85 unsigned int domid, unsigned int index) in msi_insert_desc() argument
88 struct xarray *xa = &md->__domains[domid].store; in msi_insert_desc()
92 hwsize = msi_domain_get_hwsize(dev, domid); in msi_insert_desc()
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, in msi_domain_insert_msi_desc() argument
146 return msi_insert_desc(dev, desc, domid, init_desc->msi_index); in msi_domain_insert_msi_desc()
167 if (WARN_ON_ONCE(ctrl->domid >= MSI_MAX_DEVICE_IRQDOMAINS || in msi_ctrl_valid()
[all …]
/kernel/linux/linux-5.10/include/xen/
Dxen-ops.h67 unsigned int domid, bool no_translate, struct page **pages);
71 pgprot_t prot, unsigned int domid, in xen_remap_pfn() argument
86 unsigned int domid,
99 unsigned int domid, in xen_xlate_remap_gfn_array() argument
123 * @domid: Domain owning the pages
136 unsigned int domid, in xen_remap_domain_gfn_array() argument
141 prot, domid, pages); in xen_remap_domain_gfn_array()
148 return xen_remap_pfn(vma, addr, gfn, nr, err_ptr, prot, domid, in xen_remap_domain_gfn_array()
160 * @domid: Domain owning the pages
172 pgprot_t prot, unsigned int domid, in xen_remap_domain_mfn_array() argument
[all …]
Dgrant_table.h85 int gnttab_grant_foreign_access(domid_t domid, unsigned long frame,
121 int gnttab_grant_foreign_transfer(domid_t domid, unsigned long pfn);
146 void gnttab_grant_foreign_access_ref(grant_ref_t ref, domid_t domid,
151 grant_ref_t ref, domid_t domid, in gnttab_page_grant_foreign_access_ref_one() argument
154 gnttab_grant_foreign_access_ref(ref, domid, xen_page_to_gfn(page), in gnttab_page_grant_foreign_access_ref_one()
158 void gnttab_grant_foreign_transfer_ref(grant_ref_t, domid_t domid,
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
/kernel/linux/linux-6.6/include/xen/
Dxen-ops.h49 unsigned int domid, bool no_translate);
53 pgprot_t prot, unsigned int domid, in xen_remap_pfn() argument
68 unsigned int domid,
81 unsigned int domid, in xen_xlate_remap_gfn_array() argument
105 * @domid: Domain owning the pages
118 unsigned int domid, in xen_remap_domain_gfn_array() argument
123 prot, domid, pages); in xen_remap_domain_gfn_array()
130 return xen_remap_pfn(vma, addr, gfn, nr, err_ptr, prot, domid, in xen_remap_domain_gfn_array()
142 * @domid: Domain owning the pages
153 pgprot_t prot, unsigned int domid) in xen_remap_domain_mfn_array() argument
[all …]
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, 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
/kernel/linux/linux-6.6/include/linux/
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) \ argument
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,
599 bool msi_create_device_irq_domain(struct device *dev, unsigned int domid,
603 void msi_remove_device_irq_domain(struct device *dev, unsigned int domid);
[all …]
/kernel/linux/linux-6.6/include/xen/interface/
Dgrant_table.h29 * 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 …]
Dmemory.h53 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
/kernel/linux/linux-5.10/include/xen/interface/
Dgrant_table.h45 * 1. Write ent->domid.
107 domid_t domid; member
109 * GTF_permit_access: Frame that @domid is allowed to map and access. [GST]
110 * GTF_accept_transfer: Frame whose ownership transferred by @domid. [XEN]
118 * GTF_permit_access: Allow @domid to map/access @frame.
119 * GTF_accept_transfer: Allow @domid to transfer ownership of one page frame
121 * GTF_transitive: Allow @domid to transitively access a subrange of
132 * GTF_readonly: Restrict @domid to read-only mappings and accesses. [GST]
133 * GTF_reading: Grant entry is currently mapped for reading by @domid. [XEN]
134 * GTF_writing: Grant entry is currently mapped for writing by @domid. [XEN]
[all …]
Dmemory.h53 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
/kernel/linux/linux-5.10/drivers/xen/
Dprivcmd.c59 domid_t domid; member
74 if (data->domid != DOMID_INVALID) in privcmd_ioctl_hypercall()
267 /* If restriction is in place, check the domid matches */ in privcmd_ioctl_mmap()
268 if (data->domid != DOMID_INVALID && data->domid != mmapcmd.dom) in privcmd_ioctl_mmap()
414 /* Allocate pfns that are then mapped with gfns from foreign domid. Update
474 /* If restriction is in place, check the domid matches */ in privcmd_ioctl_mmap_batch()
475 if (data->domid != DOMID_INVALID && data->domid != m.dom) in privcmd_ioctl_mmap_batch()
633 /* If restriction is in place, check the domid matches */ in privcmd_ioctl_dm_op()
634 if (data->domid != DOMID_INVALID && data->domid != kdata.dom) in privcmd_ioctl_dm_op()
713 if (data->domid == DOMID_INVALID) in privcmd_ioctl_restrict()
[all …]
Dxlate_mmu.c68 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()
/kernel/linux/linux-6.6/drivers/xen/
Dprivcmd.c64 domid_t domid; member
79 if (data->domid != DOMID_INVALID) in privcmd_ioctl_hypercall()
272 /* If restriction is in place, check the domid matches */ in privcmd_ioctl_mmap()
273 if (data->domid != DOMID_INVALID && data->domid != mmapcmd.dom) in privcmd_ioctl_mmap()
419 /* Allocate pfns that are then mapped with gfns from foreign domid. Update
479 /* If restriction is in place, check the domid matches */ in privcmd_ioctl_mmap_batch()
480 if (data->domid != DOMID_INVALID && data->domid != m.dom) in privcmd_ioctl_mmap_batch()
638 /* If restriction is in place, check the domid matches */ in privcmd_ioctl_dm_op()
639 if (data->domid != DOMID_INVALID && data->domid != kdata.dom) in privcmd_ioctl_dm_op()
718 if (data->domid == DOMID_INVALID) in privcmd_ioctl_restrict()
[all …]
Dxlate_mmu.c68 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()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/xen/
Dgntdev.h11 __u32 domid; member
76 domid_t domid; member
106 __u32 domid; member
129 __u32 domid; member
/kernel/linux/linux-5.10/drivers/xen/xenbus/
Dxenbus_probe_backend.c58 /* 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()
/kernel/linux/linux-6.6/drivers/xen/xenbus/
Dxenbus_probe_backend.c58 /* 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()
/kernel/linux/linux-6.6/arch/x86/xen/
Dmmu_hvm.c21 .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()
/kernel/linux/linux-5.10/arch/x86/xen/
Dmmu_hvm.c24 .domid = DOMID_SELF, in xen_oldmem_pfn_is_ram()
52 a.domid = DOMID_SELF; in xen_hvm_exit_mmap()
63 a.domid = DOMID_SELF; in is_pagetable_dying_supported()
/kernel/linux/linux-6.6/include/xen/interface/hvm/
Dhvm_op.h13 domid_t domid; /* IN */ member
23 domid_t domid; member
40 domid_t domid; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/xen/
Dgntdev.h23 __u32 domid; member
62 domid_t domid; member
83 __u32 domid; member
95 __u32 domid; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/xen/
Dgntdev.h23 __u32 domid; member
62 domid_t domid; member
83 __u32 domid; member
95 __u32 domid; member
/kernel/linux/linux-5.10/include/xen/interface/hvm/
Dhvm_op.h31 domid_t domid; /* IN */ member
41 domid_t domid; member
58 domid_t domid; member
/kernel/linux/linux-6.6/arch/x86/include/asm/xen/
Dhypercall.h260 int *success_count, domid_t domid) in HYPERVISOR_mmu_update() argument
262 return _hypercall4(int, mmu_update, req, count, success_count, domid); in HYPERVISOR_mmu_update()
267 int *success_count, domid_t domid) in HYPERVISOR_mmuext_op() argument
269 return _hypercall4(int, mmuext_op, op, count, success_count, domid); in HYPERVISOR_mmuext_op()
349 int count, int *success_count, domid_t domid) in MULTI_mmu_update() argument
355 mcl->args[3] = domid; in MULTI_mmu_update()
362 int *success_count, domid_t domid) in MULTI_mmuext_op() argument
368 mcl->args[3] = domid; in MULTI_mmuext_op()

12345