/xen/tools/libs/call/ |
A D | netbsd.c | 74 size_t size = npages * XC_PAGE_SIZE; in osdep_alloc_hypercall_buffer() 77 ret = posix_memalign(&p, XC_PAGE_SIZE, size); in osdep_alloc_hypercall_buffer() 92 (void) munlock(ptr, npages * XC_PAGE_SIZE); in osdep_free_hypercall_buffer()
|
A D | solaris.c | 74 return memalign(XC_PAGE_SIZE, npages * XC_PAGE_SIZE); in osdep_alloc_hypercall_buffer()
|
/xen/tools/libs/foreignmemory/ |
A D | netbsd.c | 75 addr = mmap(addr, num*XC_PAGE_SIZE, prot, flags | MAP_ANON | MAP_SHARED, -1, 0); in osdep_map_foreign_batch() 89 (void)munmap(addr, num*XC_PAGE_SIZE); in osdep_map_foreign_batch() 100 return munmap(addr, num*XC_PAGE_SIZE); in osdep_xenforeignmemory_unmap()
|
A D | solaris.c | 75 addr = mmap(addr, num*XC_PAGE_SIZE, prot, flags | MAP_SHARED, fd, 0); in osdep_map_foreign_batch() 87 (void)munmap(addr, num*XC_PAGE_SIZE); in osdep_map_foreign_batch() 97 return munmap(addr, num*XC_PAGE_SIZE); in osdep_xenforeignmemory_unmap()
|
/xen/tools/libxl/ |
A D | libxl_genid.c | 93 vaddr = xc_map_foreign_range(ctx->xch, domid, XC_PAGE_SIZE, in libxl__ms_vm_genid_set() 101 munmap(vaddr, XC_PAGE_SIZE); in libxl__ms_vm_genid_set()
|
A D | libxl_flask.c | 33 char tmp[XC_PAGE_SIZE]; in libxl_flask_sid_to_context()
|
A D | libxl_dom.c | 744 XC_PAGE_SIZE, PROT_READ | PROT_WRITE, in hvm_build_set_params() 757 munmap(va_map, XC_PAGE_SIZE); in hvm_build_set_params()
|
A D | libxl_pci.c | 1373 (size+(XC_PAGE_SIZE-1))>>XC_PAGE_SHIFT, 1); in pci_add_dm_done() 1945 (size+(XC_PAGE_SIZE-1))>>XC_PAGE_SHIFT, 0); in do_pci_remove()
|
/xen/tools/tests/depriv/ |
A D | depriv-fd-checker.c | 178 memset(r, 0x55, XC_PAGE_SIZE); in setup_gntdev() 185 char mybuf[XC_PAGE_SIZE]; in test_gntdev() 186 memset(mybuf, 0xaa, XC_PAGE_SIZE); in test_gntdev()
|
/xen/tools/libxc/ |
A D | xc_freebsd.c | 40 cur &= ~(XC_PAGE_SIZE-1); in discard_file_cache()
|
A D | xc_linux.c | 43 cur &= ~(XC_PAGE_SIZE-1); in discard_file_cache()
|
A D | xc_core_arm.c | 106 BUILD_BUG_ON(GUEST_GNTTAB_SIZE < XC_PAGE_SIZE); in xc_core_arch_get_scratch_gpfn()
|
A D | xc_mem_paging.c | 29 DECLARE_HYPERCALL_BOUNCE(buffer, XC_PAGE_SIZE, in xc_mem_paging_memop()
|
A D | xc_foreign_memory.c | 43 num = (size + XC_PAGE_SIZE - 1) >> XC_PAGE_SHIFT; in xc_map_foreign_range()
|
A D | xc_dom_core.c | 1087 (XC_PAGE_SIZE - 1)) >> XC_PAGE_SHIFT; in xc_dom_load_acpi() 1105 XC_PAGE_SIZE * num_pages, in xc_dom_load_acpi() 1117 munmap(ptr, XC_PAGE_SIZE * num_pages); in xc_dom_load_acpi()
|
A D | xc_private.h | 75 #define PAGE_SIZE XC_PAGE_SIZE
|
/xen/tools/xentrace/ |
A D | xenctx.c | 701 munmap(mapped, XC_PAGE_SIZE); in map_page() 705 mapped = xc_map_foreign_range(xenctx.xc_handle, xenctx.domid, XC_PAGE_SIZE, PROT_READ, mfn); in map_page() 882 stack_limit = ((stack_pointer(ctx) + XC_PAGE_SIZE) in print_stack() 883 & ~((guest_word_t) XC_PAGE_SIZE - 1)) in print_stack() 884 + (xenctx.nr_stack_pages - 1) * XC_PAGE_SIZE; in print_stack()
|
A D | xentrace.c | 702 size = tbufs->t_info->tbuf_size * XC_PAGE_SIZE; in monitor_tbufs()
|
/xen/tools/tests/xen-access/ |
A D | xen-access.c | 140 munmap(xenaccess->vm_event.ring_page, XC_PAGE_SIZE); in xenaccess_teardown() 260 XC_PAGE_SIZE); in xenaccess_init()
|
/xen/tools/helpers/ |
A D | init-xenstore-domain.c | 306 val = a ? info.total_pages * a / (b * 1024 * 1024 / XC_PAGE_SIZE) : 0; in parse_maxmem()
|
/xen/tools/python/xen/lowlevel/xc/ |
A D | xc.c | 378 "mem_kb", (long long)info[i].nr_pages*(XC_PAGE_SIZE/1024), in pyxc_domain_getinfo() 849 return pages * (XC_PAGE_SIZE / 1024); in pages_to_kib() 1113 buildid = alloca(XC_PAGE_SIZE); in pyxc_xenbuildid() 1114 buildid->len = XC_PAGE_SIZE - sizeof(*buildid); in pyxc_xenbuildid()
|
/xen/tools/console/daemon/ |
A D | io.c | 682 munmap(con->interface, XC_PAGE_SIZE); in console_unmap_interface() 731 xc, dom->domid, XC_PAGE_SIZE, in console_create_ring()
|
/xen/tools/libxc/include/ |
A D | xenctrl.h | 59 #define XC_PAGE_SIZE (1UL << XC_PAGE_SHIFT) macro 60 #define XC_PAGE_MASK (~(XC_PAGE_SIZE-1))
|
/xen/tools/xenmon/ |
A D | xenbaked.c | 487 size = tbufs->t_info->tbuf_size * XC_PAGE_SIZE; in monitor_tbufs()
|