/kernel/linux/linux-6.6/kernel/irq/ |
H A D | msi.c | 24 * @domid: ID of the domain on which management operations should be done 31 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() 88 struct xarray *xa = &md->__domains[domid].store; in msi_insert_desc() 92 hwsize = msi_domain_get_hwsize(dev, domid); in msi_insert_desc() 127 * @domid: The id of the interrupt domain to which the desriptor is added 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 > in msi_ctrl_valid() 84 msi_insert_desc(struct device *dev, struct msi_desc *desc, unsigned int domid, unsigned int index) msi_insert_desc() argument 209 msi_domain_free_msi_descs_range(struct device *dev, unsigned int domid, unsigned int first, unsigned int last) msi_domain_free_msi_descs_range() argument 350 msi_find_desc(struct msi_device_data *md, unsigned int domid, enum msi_desc_filter filter) msi_find_desc() argument 376 msi_domain_first_desc(struct device *dev, unsigned int domid, enum msi_desc_filter filter) msi_domain_first_desc() argument 405 msi_next_desc(struct device *dev, unsigned int domid, enum msi_desc_filter filter) msi_next_desc() argument 431 msi_domain_get_virq(struct device *dev, unsigned int domid, unsigned int index) msi_domain_get_virq() argument 584 msi_get_device_domain(struct device *dev, unsigned int domid) msi_get_device_domain() argument 603 msi_domain_get_hwsize(struct device *dev, unsigned int domid) msi_domain_get_hwsize() argument 942 msi_create_device_irq_domain(struct device *dev, unsigned int domid, const struct msi_domain_template *template, unsigned int hwsize, void *domain_data, void *chip_data) msi_create_device_irq_domain() argument 1011 msi_remove_device_irq_domain(struct device *dev, unsigned int domid) msi_remove_device_irq_domain() argument 1044 msi_match_device_irq_domain(struct device *dev, unsigned int domid, enum irq_domain_bus_token bus_token) msi_match_device_irq_domain() argument 1374 msi_domain_alloc_irqs_range_locked(struct device *dev, unsigned int domid, unsigned int first, unsigned int last) msi_domain_alloc_irqs_range_locked() argument 1397 msi_domain_alloc_irqs_range(struct device *dev, unsigned int domid, unsigned int first, unsigned int last) msi_domain_alloc_irqs_range() argument 1422 msi_domain_alloc_irqs_all_locked(struct device *dev, unsigned int domid, int nirqs) msi_domain_alloc_irqs_all_locked() argument 1459 msi_domain_alloc_irq_at(struct device *dev, unsigned int domid, unsigned int index, const struct irq_affinity_desc *affdesc, union msi_instance_cookie *icookie) msi_domain_alloc_irq_at() argument 1572 msi_domain_free_irqs_range_locked(struct device *dev, unsigned int domid, unsigned int first, unsigned int last) msi_domain_free_irqs_range_locked() argument 1592 msi_domain_free_irqs_range(struct device *dev, unsigned int domid, unsigned int first, unsigned int last) msi_domain_free_irqs_range() argument 1611 msi_domain_free_irqs_all_locked(struct device *dev, unsigned int domid) msi_domain_free_irqs_all_locked() argument 1624 msi_domain_free_irqs_all(struct device *dev, unsigned int domid) msi_domain_free_irqs_all() argument [all...] |
/kernel/linux/linux-6.6/include/xen/ |
H A D | xen-ops.h | 49 unsigned int domid, bool no_translate); 53 pgprot_t prot, unsigned int domid, in xen_remap_pfn() 68 unsigned int domid, 81 unsigned int domid, in xen_xlate_remap_gfn_array() 105 * @domid: Domain owning the pages 118 unsigned int domid, in xen_remap_domain_gfn_array() 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() 142 * @domid: Domain owning the pages 153 pgprot_t prot, unsigned int domid) in xen_remap_domain_mfn_array() 51 xen_remap_pfn(struct vm_area_struct *vma, unsigned long addr, xen_pfn_t *pfn, int nr, int *err_ptr, pgprot_t prot, unsigned int domid, bool no_translate) xen_remap_pfn() argument 77 xen_xlate_remap_gfn_array(struct vm_area_struct *vma, unsigned long addr, xen_pfn_t *gfn, int nr, int *err_ptr, pgprot_t prot, unsigned int domid, struct page **pages) xen_xlate_remap_gfn_array() argument 114 xen_remap_domain_gfn_array(struct vm_area_struct *vma, unsigned long addr, xen_pfn_t *gfn, int nr, int *err_ptr, pgprot_t prot, unsigned int domid, struct page **pages) xen_remap_domain_gfn_array() argument 150 xen_remap_domain_mfn_array(struct vm_area_struct *vma, unsigned long addr, xen_pfn_t *mfn, int nr, int *err_ptr, pgprot_t prot, unsigned int domid) xen_remap_domain_mfn_array() argument 174 xen_remap_domain_gfn_range(struct vm_area_struct *vma, unsigned long addr, xen_pfn_t gfn, int nr, pgprot_t prot, unsigned int domid, struct page **pages) xen_remap_domain_gfn_range() argument [all...] |
H A D | grant_table.h | 90 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() 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() 174 map->dom = domid; in gnttab_set_map_op() 279 domid_t domid; member 153 gnttab_page_grant_foreign_access_ref_one( grant_ref_t ref, domid_t domid, struct page *page, int readonly) gnttab_page_grant_foreign_access_ref_one() argument 162 gnttab_set_map_op(struct gnttab_map_grant_ref *map, phys_addr_t addr, uint32_t flags, grant_ref_t ref, domid_t domid) gnttab_set_map_op() argument
|
/kernel/linux/linux-5.10/include/xen/ |
H A D | xen-ops.h | 67 unsigned int domid, bool no_translate, struct page **pages); 71 pgprot_t prot, unsigned int domid, in xen_remap_pfn() 86 unsigned int domid, 99 unsigned int domid, in xen_xlate_remap_gfn_array() 123 * @domid: Domain owning the pages 136 unsigned int domid, in xen_remap_domain_gfn_array() 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() 160 * @domid: Domain owning the pages 172 pgprot_t prot, unsigned int domid, in xen_remap_domain_mfn_array() 69 xen_remap_pfn(struct vm_area_struct *vma, unsigned long addr, xen_pfn_t *pfn, int nr, int *err_ptr, pgprot_t prot, unsigned int domid, bool no_translate, struct page **pages) xen_remap_pfn() argument 95 xen_xlate_remap_gfn_array(struct vm_area_struct *vma, unsigned long addr, xen_pfn_t *gfn, int nr, int *err_ptr, pgprot_t prot, unsigned int domid, struct page **pages) xen_xlate_remap_gfn_array() argument 132 xen_remap_domain_gfn_array(struct vm_area_struct *vma, unsigned long addr, xen_pfn_t *gfn, int nr, int *err_ptr, pgprot_t prot, unsigned int domid, struct page **pages) xen_remap_domain_gfn_array() argument 169 xen_remap_domain_mfn_array(struct vm_area_struct *vma, unsigned long addr, xen_pfn_t *mfn, int nr, int *err_ptr, pgprot_t prot, unsigned int domid, struct page **pages) xen_remap_domain_mfn_array() argument 194 xen_remap_domain_gfn_range(struct vm_area_struct *vma, unsigned long addr, xen_pfn_t gfn, int nr, pgprot_t prot, unsigned int domid, struct page **pages) xen_remap_domain_gfn_range() argument [all...] |
H A D | grant_table.h | 85 int gnttab_grant_foreign_access(domid_t domid, unsigned long frame, 121 int gnttab_grant_foreign_transfer(domid_t domid, unsigned long pfn); 146 void gnttab_grant_foreign_access_ref(grant_ref_t ref, domid_t domid, 151 grant_ref_t ref, domid_t domid, in gnttab_page_grant_foreign_access_ref_one() 154 gnttab_grant_foreign_access_ref(ref, domid, xen_page_to_gfn(page), in gnttab_page_grant_foreign_access_ref_one() 158 void gnttab_grant_foreign_transfer_ref(grant_ref_t, domid_t domid, 163 uint32_t flags, grant_ref_t ref, domid_t domid) in gnttab_set_map_op() 174 map->dom = domid; in gnttab_set_map_op() 279 domid_t domid; member 150 gnttab_page_grant_foreign_access_ref_one( grant_ref_t ref, domid_t domid, struct page *page, int readonly) gnttab_page_grant_foreign_access_ref_one() argument 162 gnttab_set_map_op(struct gnttab_map_grant_ref *map, phys_addr_t addr, uint32_t flags, grant_ref_t ref, domid_t domid) gnttab_set_map_op() argument
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | msi.h | 252 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, 280 * @domid: The id of the interrupt domain which should be walked. 288 #define msi_domain_for_each_desc(desc, dev, domid, filter) \ 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); [all...] |
/kernel/linux/linux-5.10/include/xen/interface/ |
H A D | memory.h | 53 domid_t domid; member 76 * 1. @in.domid == @out.domid 174 domid_t domid; member 197 domid_t domid; member 207 /* GPFN in domid where the source mapping page should appear. */ 255 domid_t domid; member 269 domid_t domid; member
|
H A D | grant_table.h | 45 * 1. Write ent->domid. 107 domid_t domid; member 109 * GTF_permit_access: Frame that @domid is allowed to map and access. [GST] 110 * GTF_accept_transfer: Frame whose ownership transferred by @domid. [XEN] 118 * GTF_permit_access: Allow @domid to map/access @frame. 119 * GTF_accept_transfer: Allow @domid to transfer ownership of one page frame 121 * GTF_transitive: Allow @domid to transitively access a subrange of 132 * GTF_readonly: Restrict @domid to read-only mappings and accesses. [GST] 133 * GTF_reading: Grant entry is currently mapped for reading by @domid. [XEN] 134 * GTF_writing: Grant entry is currently mapped for writing by @domid 180 domid_t domid; global() member 342 domid_t domid; global() member 380 domid_t domid; global() member [all...] |
/kernel/linux/linux-6.6/include/xen/interface/ |
H A D | memory.h | 53 domid_t domid; member 76 * 1. @in.domid == @out.domid 174 domid_t domid; member 197 domid_t domid; member 207 /* GPFN in domid where the source mapping page should appear. */ 255 domid_t domid; member 269 domid_t domid; member
|
H A D | grant_table.h | 29 * 1. Write ent->domid. 92 domid_t domid; member 94 * GTF_permit_access: GFN that @domid is allowed to map and access. [GST] 95 * GTF_accept_transfer: GFN that @domid is allowed to transfer into. [GST] 96 * GTF_transfer_completed: MFN whose ownership transferred by @domid 112 * GTF_permit_access: Allow @domid to map/access @frame. 113 * GTF_accept_transfer: Allow @domid to transfer ownership of one page frame 115 * GTF_transitive: Allow @domid to transitively access a subrange of 126 * GTF_readonly: Restrict @domid to read-only mappings and accesses. [GST] 127 * GTF_reading: Grant entry is currently mapped for reading by @domid 183 domid_t domid; global() member 358 domid_t domid; global() member 395 domid_t domid; global() member [all...] |
/kernel/linux/linux-5.10/include/uapi/xen/ |
H A D | gntdev.h | 42 __u32 domid; member 155 domid_t domid; member 221 * by the foreign domain @domid with flags @flags. 247 __u32 domid; member 287 __u32 domid; member
|
/kernel/linux/linux-6.6/include/uapi/xen/ |
H A D | gntdev.h | 42 __u32 domid; member 161 domid_t domid; member 227 * by the foreign domain @domid with flags @flags. 253 __u32 domid; member 293 __u32 domid; member
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/xen/ |
H A D | gntdev.h | 23 __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/ |
H A D | gntdev.h | 11 __u32 domid; member 76 domid_t domid; member 106 __u32 domid; member 129 __u32 domid; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/xen/ |
H A D | gntdev.h | 23 __u32 domid; member 62 domid_t domid; member 83 __u32 domid; member 95 __u32 domid; member
|
/kernel/linux/linux-5.10/include/xen/interface/hvm/ |
H A D | hvm_op.h | 31 domid_t domid; /* IN */ member 41 domid_t domid; member 58 domid_t domid; member
|
/kernel/linux/linux-6.6/include/xen/interface/hvm/ |
H A D | hvm_op.h | 13 domid_t domid; /* IN */ member 23 domid_t domid; member 40 domid_t domid; member
|
/kernel/linux/linux-5.10/arch/x86/xen/ |
H A D | mmu_hvm.c | 24 .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-6.6/arch/x86/xen/ |
H A D | mmu_hvm.c | 21 .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()
|
/kernel/linux/linux-5.10/drivers/xen/ |
H A D | privcmd.c | 59 domid_t domid; member 74 if (data->domid != DOMID_INVALID) in privcmd_ioctl_hypercall() 267 /* If restriction is in place, check the domid matches */ in privcmd_ioctl_mmap() 268 if (data->domid != DOMID_INVALID && data->domid != mmapcmd.dom) in privcmd_ioctl_mmap() 414 /* Allocate pfns that are then mapped with gfns from foreign domid. Update 474 /* If restriction is in place, check the domid matches */ in privcmd_ioctl_mmap_batch() 475 if (data->domid != DOMID_INVALID && data->domid != m.dom) in privcmd_ioctl_mmap_batch() 633 /* If restriction is in place, check the domid matche in privcmd_ioctl_dm_op() 804 unsigned int domid = privcmd_ioctl_mmap_resource() local [all...] |
H A D | xlate_mmu.c | 68 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() 161 data.domid = domid; in xen_xlate_remap_gfn_array() 178 xrp.domid = DOMID_SELF; in unmap_gfn() 143 xen_xlate_remap_gfn_array(struct vm_area_struct *vma, unsigned long addr, xen_pfn_t *gfn, int nr, int *err_ptr, pgprot_t prot, unsigned domid, struct page **pages) xen_xlate_remap_gfn_array() argument
|
/kernel/linux/linux-6.6/drivers/xen/ |
H A D | xlate_mmu.c | 68 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() 161 data.domid = domid; in xen_xlate_remap_gfn_array() 178 xrp.domid = DOMID_SELF; in unmap_gfn() 143 xen_xlate_remap_gfn_array(struct vm_area_struct *vma, unsigned long addr, xen_pfn_t *gfn, int nr, int *err_ptr, pgprot_t prot, unsigned domid, struct page **pages) xen_xlate_remap_gfn_array() argument
|
H A D | privcmd.c | 64 domid_t domid; member 79 if (data->domid != DOMID_INVALID) in privcmd_ioctl_hypercall() 272 /* If restriction is in place, check the domid matches */ in privcmd_ioctl_mmap() 273 if (data->domid != DOMID_INVALID && data->domid != mmapcmd.dom) in privcmd_ioctl_mmap() 419 /* Allocate pfns that are then mapped with gfns from foreign domid. Update 479 /* If restriction is in place, check the domid matches */ in privcmd_ioctl_mmap_batch() 480 if (data->domid != DOMID_INVALID && data->domid != m.dom) in privcmd_ioctl_mmap_batch() 638 /* If restriction is in place, check the domid matche in privcmd_ioctl_dm_op() 809 unsigned int domid = privcmd_ioctl_mmap_resource() local [all...] |
/kernel/linux/linux-5.10/drivers/xen/xenbus/ |
H A D | xenbus_probe_backend.c | 58 /* backend/<type>/<fe-uuid>/<id> => <type>-<fe-domid>-<id> */ 61 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() 152 /* backend/<typename>/<frontend-domid> */ 154 const char *domid) in xenbus_probe_backend() 163 nodename = kasprintf(GFP_KERNEL, "%s/%s/%s", bus->root, type, domid); in xenbus_probe_backend() 153 xenbus_probe_backend(struct xen_bus_type *bus, const char *type, const char *domid) xenbus_probe_backend() argument
|
/kernel/linux/linux-6.6/drivers/xen/xenbus/ |
H A D | xenbus_probe_backend.c | 58 /* backend/<type>/<fe-uuid>/<id> => <type>-<fe-domid>-<id> */ 61 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() 152 /* backend/<typename>/<frontend-domid> */ 154 const char *domid) in xenbus_probe_backend() 163 nodename = kasprintf(GFP_KERNEL, "%s/%s/%s", bus->root, type, domid); in xenbus_probe_backend() 153 xenbus_probe_backend(struct xen_bus_type *bus, const char *type, const char *domid) xenbus_probe_backend() argument
|