Home
last modified time | relevance | path

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

123

/linux-6.6.21/kernel/irq/
Dmsi.c31 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()
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()
169 !dev->msi.data->__domains[ctrl->domid].domain))) in msi_ctrl_valid()
172 hwsize = msi_domain_get_hwsize(dev, ctrl->domid); in msi_ctrl_valid()
[all …]
/linux-6.6.21/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
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()
153 pgprot_t prot, unsigned int domid) in xen_remap_domain_mfn_array() argument
158 return xen_remap_pfn(vma, addr, mfn, nr, err_ptr, prot, domid, in xen_remap_domain_mfn_array()
177 pgprot_t prot, unsigned int domid, in xen_remap_domain_gfn_range() 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
/linux-6.6.21/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,
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);
605 bool msi_match_device_irq_domain(struct device *dev, unsigned int domid,
[all …]
Dmsi_api.h59 unsigned int msi_domain_get_virq(struct device *dev, unsigned int domid, unsigned int index);
/linux-6.6.21/include/xen/interface/
Dmemory.h53 domid_t domid; member
174 domid_t domid; member
197 domid_t domid; member
255 domid_t domid; member
269 domid_t domid; member
Dgrant_table.h92 domid_t domid; member
183 domid_t domid; member
358 domid_t domid; member
395 domid_t domid; member
Dphysdev.h120 domid_t domid; member
144 domid_t domid; member
/linux-6.6.21/include/uapi/xen/
Dgntdev.h42 __u32 domid; member
161 domid_t domid; member
253 __u32 domid; member
293 __u32 domid; member
Dgntalloc.h24 __u16 domid; member
/linux-6.6.21/include/xen/interface/hvm/
Dhvm_op.h13 domid_t domid; /* IN */ member
23 domid_t domid; member
40 domid_t domid; member
/linux-6.6.21/drivers/xen/
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()
Dprivcmd.c64 domid_t domid; member
79 if (data->domid != DOMID_INVALID) in privcmd_ioctl_hypercall()
273 if (data->domid != DOMID_INVALID && data->domid != mmapcmd.dom) in privcmd_ioctl_mmap()
480 if (data->domid != DOMID_INVALID && data->domid != m.dom) in privcmd_ioctl_mmap_batch()
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()
719 data->domid = dom; in privcmd_ioctl_restrict()
720 else if (data->domid != dom) in privcmd_ioctl_restrict()
741 if (data->domid != DOMID_INVALID && data->domid != kdata.dom) in privcmd_ioctl_mmap_resource()
748 xdata.domid = kdata.dom; in privcmd_ioctl_mmap_resource()
[all …]
Dgntdev-dmabuf.c437 int count, u32 domid, u32 *refs, u32 *fd) in dmabuf_exp_from_refs() argument
448 map->grants[i].domid = domid; in dmabuf_exp_from_refs()
489 int count, int domid) in dmabuf_imp_grant_foreign_access() argument
510 gnttab_grant_foreign_access_ref(cur_ref, domid, in dmabuf_imp_grant_foreign_access()
567 int fd, int count, int domid) in dmabuf_imp_to_refs() argument
645 count, domid)); in dmabuf_imp_to_refs()
760 op.domid, refs, &op.fd); in gntdev_ioctl_dmabuf_exp_from_refs()
799 op.count, op.domid); in gntdev_ioctl_dmabuf_imp_to_refs()
Dmem-reservation.c91 .domid = DOMID_SELF in xenmem_reservation_increase()
107 .domid = DOMID_SELF in xenmem_reservation_decrease()
Dgrant-table.c139 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()
1265 foreign->domid = map_ops[i].dom; in gnttab_map_refs()
[all …]
Dgntdev.c198 add->grants[i].domid = DOMID_INVALID; in gntdev_alloc_map()
314 map->grants[pgnr].domid); in find_grant_ptes()
334 map->grants[i].domid); in gntdev_map_grant_pages()
360 map->grants[i].domid); in gntdev_map_grant_pages()
905 op->source.domid = seg->source.foreign.domid; in gntdev_grant_copy_seg()
919 op->source.domid = DOMID_SELF; in gntdev_grant_copy_seg()
925 op->dest.domid = seg->dest.foreign.domid; in gntdev_grant_copy_seg()
939 op->dest.domid = DOMID_SELF; in gntdev_grant_copy_seg()
Darm-device.c29 xrp.domid = DOMID_SELF; in xen_unmap_device_mmio()
53 .domid = DOMID_SELF, in xen_map_device_mmio()
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/drivers/xen/xenbus/
Dxenbus_probe_backend.c61 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()
Dxenbus_dev_backend.c30 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-6.6.21/arch/x86/pci/
Dxen.c79 map_irq.domid = DOMID_SELF; in xen_register_pirq()
275 domid_t domid; in xen_initdom_setup_msi_irqs() local
277 domid = ret = xen_find_device_domain_owner(dev); in xen_initdom_setup_msi_irqs()
281 domid = DOMID_SELF; in xen_initdom_setup_msi_irqs()
284 map_irq.domid = domid; in xen_initdom_setup_msi_irqs()
338 ret, domid); in xen_initdom_setup_msi_irqs()
345 domid); in xen_initdom_setup_msi_irqs()
/linux-6.6.21/drivers/net/xen-netback/
Dhash.c296 .source.domid = vif->domid, in xenvif_set_hash_key()
298 .dest.domid = DOMID_SELF, in xenvif_set_hash_key()
342 .source.domid = vif->domid, in xenvif_set_hash_mapping()
343 .dest.domid = DOMID_SELF, in xenvif_set_hash_mapping()
Drx.c212 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()

123