| /xen/tools/libxc/ |
| A D | xc_foreign_memory.c | 23 void *xc_map_foreign_pages(xc_interface *xch, uint32_t dom, int prot, in xc_map_foreign_pages() argument 31 return xenforeignmemory_map(xch->fmem, dom, prot, num, arr, NULL); in xc_map_foreign_pages() 35 uint32_t dom, int size, int prot, in xc_map_foreign_range() argument 51 ret = xc_map_foreign_pages(xch, dom, prot, arr, num); in xc_map_foreign_range() 58 int prot, size_t chunksize, in xc_map_foreign_ranges() argument 79 ret = xc_map_foreign_pages(xch, dom, prot, arr, num); in xc_map_foreign_ranges() 84 void *xc_map_foreign_bulk(xc_interface *xch, uint32_t dom, int prot, in xc_map_foreign_bulk() argument 87 return xenforeignmemory_map(xch->fmem, dom, prot, num, arr, err); in xc_map_foreign_bulk()
|
| A D | xc_gnttab_compat.c | 25 int prot) in xc_gnttab_map_grant_ref() argument 27 return xengnttab_map_grant_ref(xcg, domid, ref, prot); in xc_gnttab_map_grant_ref() 34 int prot) in xc_gnttab_map_grant_refs() argument 36 return xengnttab_map_grant_refs(xcg, count, domids, refs, prot); in xc_gnttab_map_grant_refs() 43 int prot) in xc_gnttab_map_domain_grant_refs() argument 45 return xengnttab_map_domain_grant_refs(xcg, count, domid, refs, prot); in xc_gnttab_map_domain_grant_refs() 51 int prot, in xc_gnttab_map_grant_ref_notify() argument 55 return xengnttab_map_grant_ref_notify(xcg, domid, ref, prot, in xc_gnttab_map_grant_ref_notify()
|
| /xen/tools/libs/gnttab/ |
| A D | gnttab_core.c | 92 int prot) in xengnttab_map_grant_ref() argument 94 return osdep_gnttab_grant_map(xgt, 1, 0, prot, &domid, &ref, -1, -1); in xengnttab_map_grant_ref() 101 int prot) in xengnttab_map_grant_refs() argument 103 return osdep_gnttab_grant_map(xgt, count, 0, prot, domids, refs, -1, -1); in xengnttab_map_grant_refs() 110 int prot) in xengnttab_map_domain_grant_refs() argument 113 prot, &domid, refs, -1, -1); in xengnttab_map_domain_grant_refs() 119 int prot, in xengnttab_map_grant_ref_notify() argument 123 return osdep_gnttab_grant_map(xgt, 1, 0, prot, &domid, &ref, in xengnttab_map_grant_ref_notify()
|
| A D | gnttab_unimp.c | 44 int prot) in xengnttab_map_grant_ref() argument 53 int prot) in xengnttab_map_grant_refs() argument 62 int prot) in xengnttab_map_domain_grant_refs() argument 70 int prot, in xengnttab_map_grant_ref_notify() argument
|
| A D | minios.c | 62 uint32_t count, int flags, int prot, in osdep_gnttab_grant_map() argument 77 refs, prot & PROT_WRITE); in osdep_gnttab_grant_map()
|
| A D | private.h | 27 uint32_t count, int flags, int prot,
|
| A D | freebsd.c | 66 uint32_t count, int flags, int prot, in osdep_gnttab_grant_map() argument 108 addr = mmap(NULL, PAGE_SIZE * count, prot, MAP_SHARED, fd, in osdep_gnttab_grant_map()
|
| A D | linux.c | 87 uint32_t count, int flags, int prot, in osdep_gnttab_grant_map() argument 130 addr = mmap(NULL, PAGE_SIZE * count, prot, MAP_SHARED, fd, in osdep_gnttab_grant_map()
|
| /xen/tools/libs/foreignmemory/ |
| A D | core.c | 85 int prot, int flags, size_t num, in xenforeignmemory_map2() argument 97 ret = osdep_xenforeignmemory_map(fmem, dom, addr, prot, flags, num, arr, err); in xenforeignmemory_map2() 121 uint32_t dom, int prot, in xenforeignmemory_map() argument 125 return xenforeignmemory_map2(fmem, dom, NULL, prot, 0, num, arr, err); in xenforeignmemory_map() 143 void **paddr, int prot, int flags) in xenforeignmemory_map_resource() argument 168 fres->prot = prot; in xenforeignmemory_map_resource()
|
| A D | minios.c | 44 int prot, int flags, size_t num, in osdep_xenforeignmemory_map() argument 48 if (prot & PROT_READ) in osdep_xenforeignmemory_map() 50 if (prot & PROT_WRITE) in osdep_xenforeignmemory_map()
|
| A D | private.h | 34 int prot, int flags, size_t num, 42 void *addr, int prot, int flags, 53 int prot; member
|
| A D | compat.c | 25 void *addr, int prot, int flags, size_t num, in osdep_xenforeignmemory_map() argument 44 ret = osdep_map_foreign_batch(fmem, dom, addr, prot, flags, pfn, num); in osdep_xenforeignmemory_map()
|
| A D | freebsd.c | 59 int prot, int flags, size_t num, in osdep_xenforeignmemory_map() argument 66 addr = mmap(addr, num << PAGE_SHIFT, prot, flags | MAP_SHARED, fd, 0); in osdep_xenforeignmemory_map()
|
| A D | netbsd.c | 70 void *addr, int prot, int flags, in osdep_map_foreign_batch() argument 75 addr = mmap(addr, num*XC_PAGE_SIZE, prot, flags | MAP_ANON | MAP_SHARED, -1, 0); in osdep_map_foreign_batch()
|
| A D | solaris.c | 71 void *addr, int prot, int flags, xen_pfn_t *arr, int num) in osdep_map_foreign_batch() argument 75 addr = mmap(addr, num*XC_PAGE_SIZE, prot, flags | MAP_SHARED, fd, 0); in osdep_map_foreign_batch()
|
| A D | linux.c | 164 int prot, int flags, size_t num, in osdep_xenforeignmemory_map() argument 172 addr = mmap(addr, num << PAGE_SHIFT, prot, flags | MAP_SHARED, in osdep_xenforeignmemory_map() 317 fres->prot, fres->flags | MAP_SHARED, fmem->fd, 0); in osdep_xenforeignmemory_map_resource()
|
| /xen/tools/libxc/include/ |
| A D | xenctrl_compat.h | 28 int size, int prot, 31 void *xc_map_foreign_pages(xc_interface *xch, uint32_t dom, int prot, 45 void *xc_map_foreign_bulk(xc_interface *xch, uint32_t dom, int prot, 85 int prot); 90 int prot); 95 int prot); 99 int prot,
|
| A D | xenguest.h | 329 int prot,
|
| /xen/tools/libs/foreignmemory/include/ |
| A D | xenforeignmemory.h | 107 int prot, size_t pages, 119 void *addr, int prot, int flags, size_t pages, 169 void **paddr, int prot, int flags);
|
| /xen/tools/libs/gnttab/include/ |
| A D | xengnttab.h | 174 int prot); 196 int prot); 216 int prot); 242 int prot,
|
| /xen/xen/common/efi/ |
| A D | boot.c | 1491 unsigned int prot; in efi_init_memory() member 1506 unsigned int prot = PAGE_HYPERVISOR_RWX; in efi_init_memory() local 1538 prot |= _PAGE_PWT | MAP_SMALL_PAGES; in efi_init_memory() 1540 prot |= _PAGE_PAT | MAP_SMALL_PAGES; in efi_init_memory() 1542 prot |= _PAGE_PWT | _PAGE_PCD | MAP_SMALL_PAGES; in efi_init_memory() 1545 prot |= _PAGE_PAT | _PAGE_PWT | MAP_SMALL_PAGES; in efi_init_memory() 1552 prot |= _PAGE_PWT | _PAGE_PCD | MAP_SMALL_PAGES; in efi_init_memory() 1557 prot &= ~(_PAGE_DIRTY | _PAGE_RW); in efi_init_memory() 1559 prot |= _PAGE_NX; in efi_init_memory() 1566 prot &= ~_PAGE_GLOBAL; in efi_init_memory() [all …]
|
| /xen/xen/drivers/passthrough/arm/ |
| A D | smmu.c | 1608 if (!(prot & IOMMU_WRITE) && (prot & IOMMU_READ)) 1611 if (prot & IOMMU_CACHE) 1616 if (prot & IOMMU_READ) 1618 if (prot & IOMMU_WRITE) 1620 if (prot & IOMMU_CACHE) 1626 if (prot & IOMMU_NOEXEC) 1630 if (!(prot & (IOMMU_READ | IOMMU_WRITE))) 1718 prot, stage); 1752 prot, stage); 1761 size_t size, int prot) [all …]
|
| /xen/xen/arch/x86/x86_64/ |
| A D | mmconfig_64.c | 117 unsigned long idx, unsigned int prot) in mcfg_ioremap() argument 130 PFN_DOWN(size), prot)) in mcfg_ioremap()
|
| /xen/xen/arch/x86/x86_emulate/ |
| A D | x86_emulate.c | 926 } prot; member 948 } prot; member 11772 fpstate.env.mode.prot.fop = fop; in x86_emul_blk() 11795 fpstate.env.mode.prot.fip = env->mode.prot.fip; in x86_emul_blk() 11796 fpstate.env.mode.prot.fcs = env->mode.prot.fcs; in x86_emul_blk() 11797 fpstate.env.mode.prot.fdp = env->mode.prot.fdp; in x86_emul_blk() 11798 fpstate.env.mode.prot.fds = env->mode.prot.fds; in x86_emul_blk() 11886 env->mode.prot.fip = fpstate.env.mode.prot.fip; in x86_emul_blk() 11887 env->mode.prot.fcs = fpstate.env.mode.prot.fcs; in x86_emul_blk() 11888 env->mode.prot.fdp = fpstate.env.mode.prot.fdp; in x86_emul_blk() [all …]
|
| /xen/xen/drivers/passthrough/vtd/ |
| A D | iommu.h | 272 #define dma_set_pte_prot(p, prot) do { \ argument 273 (p).val = ((p).val & ~DMA_PTE_PROT) | ((prot) & DMA_PTE_PROT); \
|