Home
last modified time | relevance | path

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

12

/linux/include/xen/interface/
H A 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
H A Dgrant_table.h92 domid_t domid; member
183 domid_t domid; member
358 domid_t domid; member
395 domid_t domid; member
H A Dphysdev.h120 domid_t domid; member
144 domid_t domid; member
/linux/include/uapi/xen/
H A Dgntdev.h42 __u32 domid; member
161 domid_t domid; member
253 __u32 domid; member
293 __u32 domid; member
H A Dgntalloc.h24 __u16 domid; member
H A Devtchn.h101 domid_t domid; member
/linux/drivers/xen/
H A 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()
H A Dprivcmd.c82 domid_t domid; member
102 if (data->domid != DOMID_INVALID) in privcmd_ioctl_hypercall()
295 /* If restriction is in place, check the domid matches */ in privcmd_ioctl_mmap()
296 if (data->domid != DOMID_INVALID && data->domid != mmapcmd.dom) in privcmd_ioctl_mmap()
442 /* Allocate pfns that are then mapped with gfns from foreign domid. Update
502 /* If restriction is in place, check the domid matches */ in privcmd_ioctl_mmap_batch()
503 if (data->domid != DOMID_INVALID && data->domid != m.dom) in privcmd_ioctl_mmap_batch()
661 /* If restriction is in place, check the domid matche in privcmd_ioctl_dm_op()
831 unsigned int domid = privcmd_ioctl_mmap_resource() local
1684 unsigned int domid; init_restrict() local
[all...]
H A Dgntdev-dmabuf.c430 int count, u32 domid, u32 *refs, u32 *fd) in dmabuf_exp_from_refs() argument
441 map->grants[i].domid = domid; in dmabuf_exp_from_refs()
482 int count, int domid) in dmabuf_imp_grant_foreign_access() argument
503 gnttab_grant_foreign_access_ref(cur_ref, domid, in dmabuf_imp_grant_foreign_access()
559 int fd, int count, int domid) in dmabuf_imp_to_refs() argument
637 count, domid)); in dmabuf_imp_to_refs()
751 op.domid, refs, &op.fd); in gntdev_ioctl_dmabuf_exp_from_refs()
790 op.count, op.domid); in gntdev_ioctl_dmabuf_imp_to_refs()
H A Dgrant-table.c137 * parameter is reference of this introduced grant entry, domid is id of
141 void (*update_entry)(grant_ref_t ref, domid_t domid,
381 * 1. Write ent->domid.
386 static void gnttab_update_entry_v1(grant_ref_t ref, domid_t domid, in gnttab_update_entry_v1()
389 gnttab_shared.v1[ref].domid = domid; in gnttab_update_entry_v1()
395 static void gnttab_update_entry_v2(grant_ref_t ref, domid_t domid, in gnttab_update_entry_v2()
398 gnttab_shared.v2[ref].hdr.domid = domid; in gnttab_update_entry_v2()
407 void gnttab_grant_foreign_access_ref(grant_ref_t ref, domid_t domid, in gnttab_grant_foreign_access_ref()
385 gnttab_update_entry_v1(grant_ref_t ref,domid_t domid,unsigned long frame,unsigned flags) gnttab_update_entry_v1() argument
394 gnttab_update_entry_v2(grant_ref_t ref,domid_t domid,unsigned long frame,unsigned int flags) gnttab_update_entry_v2() argument
406 gnttab_grant_foreign_access_ref(grant_ref_t ref,domid_t domid,unsigned long frame,int readonly) gnttab_grant_foreign_access_ref() argument
414 gnttab_grant_foreign_access(domid_t domid,unsigned long frame,int readonly) gnttab_grant_foreign_access() argument
[all...]
H A Dmem-reservation.c91 .domid = DOMID_SELF in xenmem_reservation_increase()
107 .domid = DOMID_SELF in xenmem_reservation_decrease()
H A Dgntdev.c201 add->grants[i].domid = DOMID_INVALID; in gntdev_alloc_map()
318 map->grants[pgnr].domid); in find_grant_ptes()
338 map->grants[i].domid); in gntdev_map_grant_pages()
364 map->grants[i].domid); in gntdev_map_grant_pages()
917 op->source.domid = seg->source.foreign.domid; in gntdev_grant_copy_seg()
931 op->source.domid = DOMID_SELF; in gntdev_grant_copy_seg()
937 op->dest.domid = seg->dest.foreign.domid; in gntdev_grant_copy_seg()
951 op->dest.domid in gntdev_grant_copy_seg()
[all...]
H A Darm-device.c29 xrp.domid = DOMID_SELF; in xen_unmap_device_mmio()
53 .domid = DOMID_SELF, in xen_map_device_mmio()
/linux/include/xen/interface/hvm/
H A Dhvm_op.h13 domid_t domid; /* IN */ member
23 domid_t domid; member
40 domid_t domid; member
/linux/arch/x86/include/asm/xen/
H A Dhypercall.h267 int *success_count, domid_t domid) in HYPERVISOR_mmu_update() argument
269 return _hypercall4(int, mmu_update, req, count, success_count, domid); in HYPERVISOR_mmu_update()
274 int *success_count, domid_t domid) in HYPERVISOR_mmuext_op() argument
276 return _hypercall4(int, mmuext_op, op, count, success_count, domid); in HYPERVISOR_mmuext_op()
356 int count, int *success_count, domid_t domid) in MULTI_mmu_update() argument
362 mcl->args[3] = domid; in MULTI_mmu_update()
369 int *success_count, domid_t domid) in MULTI_mmuext_op() argument
375 mcl->args[3] = domid; in MULTI_mmuext_op()
/linux/arch/x86/xen/
H A 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/drivers/xen/xenbus/
H A 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()
H A 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/drivers/net/xen-netback/
H A Dhash.c295 .source.domid = vif->domid, in xenvif_set_hash_key()
297 .dest.domid = DOMID_SELF, in xenvif_set_hash_key()
341 .source.domid = vif->domid, in xenvif_set_hash_mapping()
342 .dest.domid = DOMID_SELF, in xenvif_set_hash_mapping()
H A 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()
/linux/arch/x86/kernel/cpu/resctrl/
H A Dinternal.h239 int intel_aet_read_event(int domid, u32 rmid, void *arch_priv, u64 *val);
246 static inline int intel_aet_read_event(int domid, u32 rmid, void *arch_priv, u64 *val) in intel_aet_read_event() argument
/linux/drivers/iommu/amd/
H A Diommu.c1320 u64 last, u16 domid, ioasid_t pasid, in build_inv_address()
1327 cmd->data[1] |= domid; in build_inv_address()
1712 u16 domid = dev_data->gcr3_info.domid; in device_flush_dte()
1714 build_inv_iommu_pages(&cmd, address, last, domid, in device_flush_dte()
1847 dev_data->gcr3_info.domid, pasid, in amd_iommu_domain_flush_pages()
1960 amd_iommu_pdom_id_free(gcr3_info->domid); in free_gcr3_tbl_level2()
1987 int domid;
1996 domid = amd_iommu_pdom_id_alloc(); in get_gcr3_levels()
1997 if (domid < in get_gcr3_levels()
1339 build_inv_iommu_pages(struct iommu_cmd * cmd,u64 address,u64 last,u16 domid,ioasid_t pasid,u32 flags) build_inv_iommu_pages() argument
1731 u16 domid = dev_data->gcr3_info.domid; domain_flush_pages_v2() local
2006 int domid; setup_gcr3_table() local
2147 amd_iommu_set_dte_v1(struct iommu_dev_data * dev_data,struct protection_domain * domain,u16 domid,struct pt_iommu_amdv1_hw_info * pt_info,struct dev_table_entry * new) amd_iommu_set_dte_v1() argument
2165 set_dte_v1(struct iommu_dev_data * dev_data,struct protection_domain * domain,u16 domid,phys_addr_t top_paddr,unsigned int top_level,struct dev_table_entry * new) set_dte_v1() argument
2593 int domid; protection_domain_alloc() local
[all...]
/linux/include/xen/arm/
H A Dhypercall.h57 int HYPERVISOR_dm_op(domid_t domid, unsigned int nr_bufs,
/linux/fs/resctrl/
H A Dctrlmondata.c692 int domid, cpu, ret = 0; in rdtgroup_mondata_show() local
711 domid = md->domid; in rdtgroup_mondata_show()
730 if (d->ci_id == domid) { in rdtgroup_mondata_show()
748 hdr = resctrl_find_domain(&r->mon_domains, domid, NULL); in rdtgroup_mondata_show()
/linux/include/xen/
H A Dhvm.h44 xhv.domid = DOMID_SELF; in hvm_get_parameter()

12