Home
last modified time | relevance | path

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

12

/drivers/xen/
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()
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()
714 data->domid = dom; in privcmd_ioctl_restrict()
715 else if (data->domid != dom) in privcmd_ioctl_restrict()
736 if (data->domid != DOMID_INVALID && data->domid != kdata.dom) in privcmd_ioctl_mmap_resource()
743 xdata.domid = kdata.dom; in privcmd_ioctl_mmap_resource()
[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()
Dgrant-table.c117 void (*update_entry)(grant_ref_t ref, domid_t domid,
240 static void gnttab_update_entry_v1(grant_ref_t ref, domid_t domid, in gnttab_update_entry_v1() argument
243 gnttab_shared.v1[ref].domid = domid; in gnttab_update_entry_v1()
249 static void gnttab_update_entry_v2(grant_ref_t ref, domid_t domid, in gnttab_update_entry_v2() argument
252 gnttab_shared.v2[ref].hdr.domid = domid; in gnttab_update_entry_v2()
261 void gnttab_grant_foreign_access_ref(grant_ref_t ref, domid_t domid, in gnttab_grant_foreign_access_ref() argument
264 gnttab_interface->update_entry(ref, domid, frame, in gnttab_grant_foreign_access_ref()
269 int gnttab_grant_foreign_access(domid_t domid, unsigned long frame, in gnttab_grant_foreign_access() argument
278 gnttab_grant_foreign_access_ref(ref, domid, frame, readonly); in gnttab_grant_foreign_access()
458 int gnttab_grant_foreign_transfer(domid_t domid, unsigned long pfn) in gnttab_grant_foreign_transfer() argument
[all …]
Dgntdev-dmabuf.c443 int count, u32 domid, u32 *refs, u32 *fd) in dmabuf_exp_from_refs() argument
454 map->grants[i].domid = domid; in dmabuf_exp_from_refs()
495 int count, int domid) in dmabuf_imp_grant_foreign_access() argument
516 gnttab_grant_foreign_access_ref(cur_ref, domid, in dmabuf_imp_grant_foreign_access()
573 int fd, int count, int domid) in dmabuf_imp_to_refs() argument
651 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.c304 map->grants[pgnr].domid); in find_grant_ptes()
324 map->grants[i].domid); in gntdev_map_grant_pages()
350 map->grants[i].domid); in gntdev_map_grant_pages()
895 op->source.domid = seg->source.foreign.domid; in gntdev_grant_copy_seg()
909 op->source.domid = DOMID_SELF; in gntdev_grant_copy_seg()
915 op->dest.domid = seg->dest.foreign.domid; in gntdev_grant_copy_seg()
929 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()
Devtchn.c606 if (ierd.domid == 0 || ierd.domid >= DOMID_FIRST_RESERVED) in evtchn_ioctl()
609 u->restrict_domid = ierd.domid; in evtchn_ioctl()
Dxen-scsiback.c90 domid_t domid; member
418 flags, seg[i].gref, info->domid); in scsiback_gnttab_data_map_list()
705 info->domid, rp, rc, rp - rc); in scsiback_do_cmd_fn()
802 err = bind_interdomain_evtchn_to_irq_lateeoi(info->domid, evtchn); in scsiback_init_sring()
1226 info->domid = dev->otherend_id; in scsiback_probe()
Dgntalloc.c147 rc = gnttab_grant_foreign_access(op->domid, in add_grefs()
/drivers/iommu/
Dmtk_iommu.c359 bool enable, unsigned int domid) in mtk_iommu_config() argument
373 region = data->plat_data->iova_region + domid; in mtk_iommu_config()
378 portid, domid, larb_mmu->bank[portid]); in mtk_iommu_config()
389 unsigned int domid) in mtk_iommu_domain_finalise() argument
426 region = data->plat_data->iova_region + domid; in mtk_iommu_domain_finalise()
464 int ret, domid; in mtk_iommu_attach_device() local
466 domid = mtk_iommu_get_domain_id(dev, data->plat_data); in mtk_iommu_attach_device()
467 if (domid < 0) in mtk_iommu_attach_device()
468 return domid; in mtk_iommu_attach_device()
474 if (mtk_iommu_domain_finalise(dom, frstdata, domid)) in mtk_iommu_attach_device()
[all …]
/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()
/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.c481 struct xenvif *xenvif_alloc(struct device *parent, domid_t domid, in xenvif_alloc() argument
489 snprintf(name, IFNAMSIZ - 1, "vif%u.%u", domid, handle); in xenvif_alloc()
505 vif->domid = domid; in xenvif_alloc()
638 err = bind_interdomain_evtchn_to_irq_lateeoi(vif->domid, evtchn); in xenvif_connect_ctrl()
749 queue->vif->domid, tx_evtchn, xenvif_interrupt, 0, in xenvif_connect_data()
760 queue->vif->domid, tx_evtchn, xenvif_tx_interrupt, 0, in xenvif_connect_data()
770 queue->vif->domid, rx_evtchn, xenvif_rx_interrupt, 0, in xenvif_connect_data()
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()
Dcommon.h281 domid_t domid; member
347 domid_t domid,
Dnetback.c348 txp->gref, queue->vif->domid); in xenvif_tx_create_map_op()
406 cop->source.domid = queue->vif->domid; in xenvif_get_requests()
409 cop->dest.domid = DOMID_SELF; in xenvif_get_requests()
/drivers/xen/events/
Devents_base.c123 uint16_t domid; member
350 uint16_t domid, in xen_irq_info_pirq_setup() argument
357 info->u.pirq.domid = domid; in xen_irq_info_pirq_setup()
1047 int pirq, int nvec, const char *name, domid_t domid) in xen_bind_pirq_msi_to_irq() argument
1060 ret = xen_irq_info_pirq_setup(irq + i, 0, pirq + i, 0, domid, in xen_bind_pirq_msi_to_irq()
1095 unmap_irq.domid = info->u.pirq.domid; in xen_destroy_irq()
1101 if ((rc == -ESRCH && info->u.pirq.domid != DOMID_SELF)) in xen_destroy_irq()
1103 info->u.pirq.domid, info->u.pirq.pirq); in xen_destroy_irq()
1891 map_irq.domid = DOMID_SELF; in restore_pirqs()
/drivers/block/xen-blkback/
Dxenbus.c70 snprintf(buf, TASK_COMM_LEN, "%d.%s", blkif->domid, devname); in blkback_name()
165 static struct xen_blkif *xen_blkif_alloc(domid_t domid) in xen_blkif_alloc() argument
175 blkif->domid = domid; in xen_blkif_alloc()
253 err = bind_interdomain_evtchn_to_irqhandler_lateeoi(blkif->domid, in xen_blkif_map()
526 handle, blkif->domid); in xen_vbd_create()
Dblkback.c479 blkif->domid, MAJOR(vbd->pdevice), MINOR(vbd->pdevice)); in xen_vbd_resize()
812 blkif->domid); in xen_blkbk_map()
877 blkif->domid, blkif->vbd.handle); in xen_blkbk_map()
1296 ring->blkif->domid); in dispatch_rw_block_io()
Dcommon.h304 domid_t domid; member
/drivers/s390/char/
Dsclp_rw.h27 u32 domid; member
/drivers/s390/crypto/
Dvfio_ap_ops.c906 unsigned long domid; in unassign_control_domain_store() local
915 ret = kstrtoul(buf, 0, &domid); in unassign_control_domain_store()
918 if (domid > max_domid) in unassign_control_domain_store()
922 clear_bit_inv(domid, matrix_mdev->matrix.adm); in unassign_control_domain_store()
/drivers/xen/xen-pciback/
Dpci_stub.c628 int domid = xen_find_device_domain_owner(dev); in pcistub_remove() local
631 pci_name(found_psdev->dev), domid); in pcistub_remove()

12