Home
last modified time | relevance | path

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

123

/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
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()
172 pgprot_t prot, unsigned int domid, in xen_remap_domain_mfn_array() argument
178 return xen_remap_pfn(vma, addr, mfn, nr, err_ptr, prot, domid, in xen_remap_domain_mfn_array()
197 pgprot_t prot, unsigned int domid, in xen_remap_domain_gfn_range() argument
[all …]
Dgrant_table.h85 int gnttab_grant_foreign_access(domid_t domid, unsigned long frame,
104 int gnttab_grant_foreign_transfer(domid_t domid, unsigned long pfn);
131 void gnttab_grant_foreign_access_ref(grant_ref_t ref, domid_t domid,
136 grant_ref_t ref, domid_t domid, in gnttab_page_grant_foreign_access_ref_one() argument
139 gnttab_grant_foreign_access_ref(ref, domid, xen_page_to_gfn(page), in gnttab_page_grant_foreign_access_ref_one()
143 void gnttab_grant_foreign_transfer_ref(grant_ref_t, domid_t domid,
148 uint32_t flags, grant_ref_t ref, domid_t domid) in gnttab_set_map_op() argument
159 map->dom = domid; in gnttab_set_map_op()
264 domid_t domid; member
/kernel/linux/linux-5.10/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.h107 domid_t domid; member
180 domid_t domid; member
342 domid_t domid; member
380 domid_t domid; member
Dphysdev.h138 domid_t domid; member
162 domid_t 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/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/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/include/uapi/xen/
Dgntdev.h42 __u32 domid; member
155 domid_t domid; member
247 __u32 domid; member
287 __u32 domid; member
/kernel/linux/linux-5.10/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.c59 domid_t domid; member
74 if (data->domid != DOMID_INVALID) in privcmd_ioctl_hypercall()
268 if (data->domid != DOMID_INVALID && data->domid != mmapcmd.dom) in privcmd_ioctl_mmap()
475 if (data->domid != DOMID_INVALID && data->domid != m.dom) in privcmd_ioctl_mmap_batch()
631 if (data->domid != DOMID_INVALID && data->domid != kdata.dom) in privcmd_ioctl_dm_op()
712 if (data->domid == DOMID_INVALID) in privcmd_ioctl_restrict()
713 data->domid = dom; in privcmd_ioctl_restrict()
714 else if (data->domid != dom) in privcmd_ioctl_restrict()
735 if (data->domid != DOMID_INVALID && data->domid != kdata.dom) in privcmd_ioctl_mmap_resource()
742 xdata.domid = kdata.dom; in privcmd_ioctl_mmap_resource()
[all …]
Dgrant-table.c117 void (*update_entry)(grant_ref_t ref, domid_t domid,
243 static void gnttab_update_entry_v1(grant_ref_t ref, domid_t domid, in gnttab_update_entry_v1() argument
246 gnttab_shared.v1[ref].domid = domid; in gnttab_update_entry_v1()
252 static void gnttab_update_entry_v2(grant_ref_t ref, domid_t domid, in gnttab_update_entry_v2() argument
255 gnttab_shared.v2[ref].hdr.domid = domid; in gnttab_update_entry_v2()
264 void gnttab_grant_foreign_access_ref(grant_ref_t ref, domid_t domid, in gnttab_grant_foreign_access_ref() argument
267 gnttab_interface->update_entry(ref, domid, frame, in gnttab_grant_foreign_access_ref()
272 int gnttab_grant_foreign_access(domid_t domid, unsigned long frame, in gnttab_grant_foreign_access() argument
281 gnttab_grant_foreign_access_ref(ref, domid, frame, readonly); in gnttab_grant_foreign_access()
451 int gnttab_grant_foreign_transfer(domid_t domid, unsigned long pfn) in gnttab_grant_foreign_transfer() argument
[all …]
Dgntdev-dmabuf.c442 int count, u32 domid, u32 *refs, u32 *fd) in dmabuf_exp_from_refs() argument
453 map->grants[i].domid = domid; in dmabuf_exp_from_refs()
494 int count, int domid) in dmabuf_imp_grant_foreign_access() argument
515 gnttab_grant_foreign_access_ref(cur_ref, domid, in dmabuf_imp_grant_foreign_access()
579 int fd, int count, int domid) in dmabuf_imp_to_refs() argument
652 count, domid)); in dmabuf_imp_to_refs()
766 op.domid, refs, &op.fd); in gntdev_ioctl_dmabuf_exp_from_refs()
805 op.count, op.domid); in gntdev_ioctl_dmabuf_imp_to_refs()
Dmem-reservation.c98 .domid = DOMID_SELF in xenmem_reservation_increase()
114 .domid = DOMID_SELF in xenmem_reservation_decrease()
Dgntdev.c275 map->grants[pgnr].domid); in find_grant_ptes()
302 map->grants[i].domid); in gntdev_map_grant_pages()
328 map->grants[i].domid); in gntdev_map_grant_pages()
835 op->source.domid = seg->source.foreign.domid; in gntdev_grant_copy_seg()
849 op->source.domid = DOMID_SELF; in gntdev_grant_copy_seg()
855 op->dest.domid = seg->dest.foreign.domid; in gntdev_grant_copy_seg()
869 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()
/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-5.10/arch/x86/include/asm/xen/
Dhypercall.h259 int *success_count, domid_t domid) in HYPERVISOR_mmu_update() argument
261 return _hypercall4(int, mmu_update, req, count, success_count, domid); in HYPERVISOR_mmu_update()
266 int *success_count, domid_t domid) in HYPERVISOR_mmuext_op() argument
268 return _hypercall4(int, mmuext_op, op, count, success_count, domid); in HYPERVISOR_mmuext_op()
498 int count, int *success_count, domid_t domid) in MULTI_mmu_update() argument
504 mcl->args[3] = domid; in MULTI_mmu_update()
511 int *success_count, domid_t domid) in MULTI_mmuext_op() argument
517 mcl->args[3] = domid; in MULTI_mmuext_op()
/kernel/linux/linux-5.10/drivers/xen/xenbus/
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()
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()
/kernel/linux/linux-5.10/arch/x86/pci/
Dxen.c78 map_irq.domid = DOMID_SELF; in xen_register_pirq()
278 domid_t domid; in xen_initdom_setup_msi_irqs() local
280 domid = ret = xen_find_device_domain_owner(dev); in xen_initdom_setup_msi_irqs()
284 domid = DOMID_SELF; in xen_initdom_setup_msi_irqs()
287 map_irq.domid = domid; in xen_initdom_setup_msi_irqs()
341 ret, domid); in xen_initdom_setup_msi_irqs()
348 domid); in xen_initdom_setup_msi_irqs()
/kernel/linux/linux-5.10/include/xen/arm/
Dhypercall.h58 int HYPERVISOR_dm_op(domid_t domid, unsigned int nr_bufs,
86 int count, int *success_count, domid_t domid) in MULTI_mmu_update() argument
/kernel/linux/linux-5.10/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()
Dinterface.c496 struct xenvif *xenvif_alloc(struct device *parent, domid_t domid, in xenvif_alloc() argument
504 snprintf(name, IFNAMSIZ - 1, "vif%u.%u", domid, handle); in xenvif_alloc()
520 vif->domid = domid; in xenvif_alloc()
655 err = bind_interdomain_evtchn_to_irq_lateeoi(vif->domid, evtchn); in xenvif_connect_ctrl()
766 queue->vif->domid, tx_evtchn, xenvif_interrupt, 0, in xenvif_connect_data()
777 queue->vif->domid, tx_evtchn, xenvif_tx_interrupt, 0, in xenvif_connect_data()
787 queue->vif->domid, rx_evtchn, xenvif_rx_interrupt, 0, in xenvif_connect_data()
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/resctrl/
Dctrlmondata.c452 u32 resid, evtid, domid; in rdtgroup_mondata_show() local
468 domid = md.u.domid; in rdtgroup_mondata_show()
472 d = rdt_find_domain(r, domid, NULL); in rdtgroup_mondata_show()

123