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.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()
Devtchn.c581 if (ierd.domid == 0 || ierd.domid >= DOMID_FIRST_RESERVED) in evtchn_ioctl()
584 u->restrict_domid = ierd.domid; in evtchn_ioctl()
Dxen-scsiback.c88 domid_t domid; member
413 flags, seg[i].gref, info->domid); in scsiback_gnttab_data_map_list()
700 info->domid, rp, rc, rp - rc); in scsiback_do_cmd_fn()
1221 info->domid = dev->otherend_id; in scsiback_probe()
Dgntalloc.c147 rc = gnttab_grant_foreign_access(op->domid, in add_grefs()
/drivers/iommu/
Dmtk_iommu.c360 bool enable, unsigned int domid) in mtk_iommu_config() argument
374 region = data->plat_data->iova_region + domid; in mtk_iommu_config()
379 portid, domid, larb_mmu->bank[portid]); in mtk_iommu_config()
390 unsigned int domid) in mtk_iommu_domain_finalise() argument
434 region = data->plat_data->iova_region + domid; in mtk_iommu_domain_finalise()
466 int ret, domid; in mtk_iommu_attach_device() local
468 domid = mtk_iommu_get_domain_id(dev, data->plat_data); in mtk_iommu_attach_device()
469 if (domid < 0) in mtk_iommu_attach_device()
470 return domid; in mtk_iommu_attach_device()
476 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()
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,
Dinterface.c479 struct xenvif *xenvif_alloc(struct device *parent, domid_t domid, in xenvif_alloc() argument
487 snprintf(name, IFNAMSIZ - 1, "vif%u.%u", domid, handle); in xenvif_alloc()
503 vif->domid = domid; in xenvif_alloc()
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.c125 uint16_t domid; member
389 uint16_t domid, in xen_irq_info_pirq_setup() argument
396 info->u.pirq.domid = domid; in xen_irq_info_pirq_setup()
1104 int pirq, int nvec, const char *name, domid_t domid) in xen_bind_pirq_msi_to_irq() argument
1117 ret = xen_irq_info_pirq_setup(irq + i, 0, pirq + i, 0, domid, in xen_bind_pirq_msi_to_irq()
1152 unmap_irq.domid = info->u.pirq.domid; in xen_destroy_irq()
1158 if ((rc == -ESRCH && info->u.pirq.domid != DOMID_SELF)) in xen_destroy_irq()
1160 info->u.pirq.domid, info->u.pirq.pirq); in xen_destroy_irq()
1966 map_irq.domid = DOMID_SELF; in restore_pirqs()
/drivers/s390/char/
Dsclp_rw.h27 u32 domid; member
/drivers/block/xen-blkback/
Dxenbus.c69 snprintf(buf, TASK_COMM_LEN, "%d.%s", blkif->domid, devname); in blkback_name()
164 static struct xen_blkif *xen_blkif_alloc(domid_t domid) in xen_blkif_alloc() argument
174 blkif->domid = domid; in xen_blkif_alloc()
525 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/crypto/
Dvfio_ap_ops.c937 unsigned long domid; in unassign_control_domain_store() local
949 ret = kstrtoul(buf, 0, &domid); in unassign_control_domain_store()
952 if (domid > max_domid) { in unassign_control_domain_store()
957 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