Home
last modified time | relevance | path

Searched refs:xen_pfn_t (Results 1 – 25 of 35) sorted by relevance

12

/openbmc/linux/include/xen/
H A Dxen-ops.h48 xen_pfn_t *pfn, int nr, int *err_ptr, pgprot_t prot,
52 xen_pfn_t *pfn, int nr, int *err_ptr, in xen_remap_pfn()
66 xen_pfn_t *gfn, int nr,
79 xen_pfn_t *gfn, int nr, in xen_xlate_remap_gfn_array()
116 xen_pfn_t *gfn, int nr, in xen_remap_domain_gfn_array()
151 unsigned long addr, xen_pfn_t *mfn, in xen_remap_domain_mfn_array()
176 xen_pfn_t gfn, int nr, in xen_remap_domain_gfn_range()
189 int xen_xlate_map_ballooned_pages(xen_pfn_t **pfns, void **vaddr,
H A Dmem-reservation.h31 xen_pfn_t *frames);
39 xen_pfn_t *frames) in xenmem_reservation_va_mapping_update()
56 int xenmem_reservation_increase(int count, xen_pfn_t *frames);
58 int xenmem_reservation_decrease(int count, xen_pfn_t *frames);
H A Dgrant_table.h194 int arch_gnttab_map_shared(xen_pfn_t *frames, unsigned long nr_gframes,
203 xen_pfn_t *pfn;
243 xen_pfn_t *frames;
/openbmc/linux/include/xen/interface/
H A Dmemory.h35 GUEST_HANDLE(xen_pfn_t) extent_start;
134 GUEST_HANDLE(xen_pfn_t) extent_start;
186 xen_pfn_t gpfn;
208 GUEST_HANDLE(xen_pfn_t) gpfns;
258 xen_pfn_t gpfn;
324 GUEST_HANDLE(xen_pfn_t) frame_list;
H A Dxen.h346 xen_pfn_t mfn;
356 xen_pfn_t src_mfn;
626 xen_pfn_t store_mfn; /* MACHINE page number of shared page. */
630 xen_pfn_t mfn; /* MACHINE page number of console page. */
H A Dgrant_table.h330 GUEST_HANDLE(xen_pfn_t) frame_list;
357 xen_pfn_t mfn;
393 xen_pfn_t gmfn;
H A Dplatform.h49 xen_pfn_t mfn;
79 xen_pfn_t mfn;
/openbmc/qemu/include/hw/xen/interface/
H A Dmemory.h60 XEN_GUEST_HANDLE(xen_pfn_t) extent_start;
173 XEN_GUEST_HANDLE(xen_pfn_t) extent_start;
243 xen_pfn_t gpfn;
272 XEN_GUEST_HANDLE(xen_pfn_t) gpfns;
300 xen_pfn_t gpfn;
578 xen_pfn_t start_pfn;
680 XEN_GUEST_HANDLE(xen_pfn_t) frame_list;
H A Dxen.h36 DEFINE_XEN_GUEST_HANDLE(xen_pfn_t);
433 xen_pfn_t mfn;
447 xen_pfn_t src_mfn;
834 xen_pfn_t store_mfn; /* MACHINE page number of shared page. */
838 xen_pfn_t mfn; /* MACHINE page number of console page. */
H A Dgrant_table.h380 XEN_GUEST_HANDLE(xen_pfn_t) frame_list;
410 xen_pfn_t mfn;
448 xen_pfn_t gmfn;
/openbmc/qemu/include/hw/xen/
H A Dxen_native.h56 xen_pfn_t gpfn = dst_gfn + i; in xendevicemodel_relocate_memory()
105 const xen_pfn_t arr[/*pages*/], in xenforeignmemory_map2()
149 xen_pfn_t *ioreq_pfn, xen_pfn_t *bufioreq_pfn, in xendevicemodel_get_ioreq_server_info()
309 xen_pfn_t *vmport_regs_pfn) in xen_get_vmport_regs_pfn()
315 *vmport_regs_pfn = (xen_pfn_t) value; in xen_get_vmport_regs_pfn()
321 xen_pfn_t *vmport_regs_pfn) in xen_get_vmport_regs_pfn()
328 xen_pfn_t *ioreq_pfn, in xen_get_default_ioreq_server_info()
329 xen_pfn_t *bufioreq_pfn, in xen_get_default_ioreq_server_info()
499 xen_pfn_t *ioreq_pfn, in xen_get_ioreq_server_info()
500 xen_pfn_t *bufioreq_pfn, in xen_get_ioreq_server_info()
H A Dxen_backend_ops.h233 xen_pfn_t *pfns, int *errs);
240 size_t pages, xen_pfn_t *pfns, in qemu_xen_foreignmem_map()
/openbmc/linux/drivers/xen/
H A Dxlate_mmu.c65 xen_pfn_t *fgfn; /* foreign domain's gfn */
79 xen_pfn_t h_gpfns[XEN_PFN_PER_PAGE];
145 xen_pfn_t *gfn, int nr, in xen_xlate_remap_gfn_array()
193 xen_pfn_t *pfns;
214 int __init xen_xlate_map_ballooned_pages(xen_pfn_t **gfns, void **virt, in xen_xlate_map_ballooned_pages()
218 xen_pfn_t *pfns; in xen_xlate_map_ballooned_pages()
H A Dmem-reservation.c31 xen_pfn_t *frames) in __xenmem_reservation_va_mapping_update()
86 int xenmem_reservation_increase(int count, xen_pfn_t *frames) in xenmem_reservation_increase()
102 int xenmem_reservation_decrease(int count, xen_pfn_t *frames) in xenmem_reservation_decrease()
H A Dprivcmd.c332 xen_pfn_t __user *user_gfn;
342 xen_pfn_t *gfnp = data; in mmap_batch_fn()
379 xen_pfn_t gfn; in mmap_return_error()
488 ret = gather_array(&pagelist, m.num, sizeof(xen_pfn_t), m.arr); in privcmd_ioctl_mmap_batch()
556 BUILD_BUG_ON(((PAGE_SIZE / sizeof(xen_pfn_t)) % XEN_PFN_PER_PAGE) != 0); in privcmd_ioctl_mmap_batch()
558 BUG_ON(traverse_pages_block(m.num, sizeof(xen_pfn_t), in privcmd_ioctl_mmap_batch()
565 state.user_gfn = (xen_pfn_t *)m.arr; in privcmd_ioctl_mmap_batch()
567 ret = traverse_pages_block(m.num, sizeof(xen_pfn_t), in privcmd_ioctl_mmap_batch()
734 xen_pfn_t *pfns = NULL; in privcmd_ioctl_mmap_resource()
787 xen_pfn_t pfn = in privcmd_ioctl_mmap_resource()
H A Darm-device.c47 xen_pfn_t *gpfns; in xen_map_device_mmio()
62 gpfns = kcalloc(nr, sizeof(xen_pfn_t), GFP_KERNEL); in xen_map_device_mmio()
H A Dgntdev-common.h77 xen_pfn_t *frames;
H A Dgrant-table.c126 int (*map_frames)(xen_pfn_t *frames, unsigned int nr_gframes);
822 xen_pfn_t *pfn; in gnttab_setup_auto_xlat_frames()
1381 static int gnttab_map_frames_v1(xen_pfn_t *frames, unsigned int nr_gframes) in gnttab_map_frames_v1()
1398 static int gnttab_map_frames_v2(xen_pfn_t *frames, unsigned int nr_gframes) in gnttab_map_frames_v2()
1450 xen_pfn_t *frames; in gnttab_map()
/openbmc/linux/include/xen/arm/
H A Dinterface.h42 typedef uint64_t xen_pfn_t; typedef
56 DEFINE_GUEST_HANDLE(xen_pfn_t);
/openbmc/linux/arch/x86/include/asm/xen/
H A Dinterface.h79 typedef unsigned long xen_pfn_t; typedef
94 DEFINE_GUEST_HANDLE(xen_pfn_t);
162 xen_pfn_t pfn_to_mfn_frame_list_list;
/openbmc/linux/include/uapi/xen/
H A Dprivcmd.h66 xen_pfn_t __user *arr; /* array of mfns - or'd with
77 const xen_pfn_t __user *arr; /* array of mfns */
/openbmc/linux/arch/arm/xen/
H A Dgrant-table.c36 int arch_gnttab_map_shared(xen_pfn_t *frames, unsigned long nr_gframes, in arch_gnttab_map_shared()
/openbmc/qemu/include/hw/xen/interface/arch-x86/
H A Dxen.h59 typedef unsigned long xen_pfn_t;
230 xen_pfn_t pfn_to_mfn_frame_list_list;
/openbmc/qemu/hw/display/
H A Dxenfb.c92 xen_pfn_t mfn; in common_bind()
96 mfn = (xen_pfn_t)val; in common_bind()
427 static void xenfb_copy_mfns(int mode, int count, xen_pfn_t *dst, void *src) in xenfb_copy_mfns()
442 xen_pfn_t *pgmfns = NULL; in xenfb_map_fb()
443 xen_pfn_t *fbmfns = NULL; in xenfb_map_fb()
501 pgmfns = g_new0(xen_pfn_t, n_fbdirs); in xenfb_map_fb()
502 fbmfns = g_new0(xen_pfn_t, xenfb->fbpages); in xenfb_map_fb()
/openbmc/qemu/hw/xen/
H A Dxen-hvm-common.c32 xen_pfn_t *pfn_list; in xen_ram_alloc()
50 pfn_list = g_new(xen_pfn_t, nr_pfn); in xen_ram_alloc()
667 xen_pfn_t ioreq_pfn; in xen_map_ioreq_server()
668 xen_pfn_t bufioreq_pfn; in xen_map_ioreq_server()

12