/Linux-v4.19/tools/testing/selftests/kvm/lib/ |
D | vmx.c | 30 vm_vaddr_t vmx_gva = vm_vaddr_alloc(vm, getpagesize(), 0x10000, 0, 0); in vcpu_alloc_vmx() 34 vmx->vmxon = (void *)vm_vaddr_alloc(vm, getpagesize(), 0x10000, 0, 0); in vcpu_alloc_vmx() 39 vmx->vmcs = (void *)vm_vaddr_alloc(vm, getpagesize(), 0x10000, 0, 0); in vcpu_alloc_vmx() 44 vmx->msr = (void *)vm_vaddr_alloc(vm, getpagesize(), 0x10000, 0, 0); in vcpu_alloc_vmx() 47 memset(vmx->msr_hva, 0, getpagesize()); in vcpu_alloc_vmx() 50 vmx->shadow_vmcs = (void *)vm_vaddr_alloc(vm, getpagesize(), 0x10000, 0, 0); in vcpu_alloc_vmx() 55 vmx->vmread = (void *)vm_vaddr_alloc(vm, getpagesize(), 0x10000, 0, 0); in vcpu_alloc_vmx() 58 memset(vmx->vmread_hva, 0, getpagesize()); in vcpu_alloc_vmx() 60 vmx->vmwrite = (void *)vm_vaddr_alloc(vm, getpagesize(), 0x10000, 0, 0); in vcpu_alloc_vmx() 63 memset(vmx->vmwrite_hva, 0, getpagesize()); in vcpu_alloc_vmx()
|
D | x86.c | 591 vm->gdt = vm_vaddr_alloc(vm, getpagesize(), in kvm_setup_gdt() 595 dt->limit = getpagesize(); in kvm_setup_gdt() 603 vm->tss = vm_vaddr_alloc(vm, getpagesize(), in kvm_setup_tss_64bit() 657 stack_vaddr = vm_vaddr_alloc(vm, DEFAULT_STACK_PGS * getpagesize(), in vm_vcpu_add_default() 666 regs.rsp = stack_vaddr + (DEFAULT_STACK_PGS * getpagesize()); in vm_vcpu_add_default()
|
/Linux-v4.19/tools/testing/selftests/vm/ |
D | thuge-gen.c | 98 if (ps == getpagesize()) in show() 137 return read_sysfs(ps != getpagesize(), in read_free() 157 assert(size == getpagesize() || (before - after) == NUM_PAGES); in test_mmap() 189 assert(size == getpagesize() || (before - after) == NUM_PAGES); in test_shmget() 198 unsigned long largest = getpagesize(); in sanity_checks() 245 test_shmget(getpagesize(), 0); in main()
|
D | mlock2-tests.c | 82 offset = addr / getpagesize() * sizeof(pfn); in get_pageflags() 228 unsigned long page_size = getpagesize(); in lock_check() 266 unsigned long page_size = getpagesize(); in unlock_lock_check() 296 unsigned long page_size = getpagesize(); in test_mlock_lock() 333 unsigned long page_size = getpagesize(); in onfault_check() 381 unsigned long page_size = getpagesize(); in unlock_onfault_check() 405 unsigned long page_size = getpagesize(); in test_mlock_onfault() 447 unsigned long page_size = getpagesize(); in test_lock_onfault_of_present() 495 unsigned long page_size = getpagesize(); in test_munlockall() 573 unsigned long page_size = getpagesize(); in test_vma_management()
|
D | compaction_test.c | 184 page_size = getpagesize(); in main()
|
/Linux-v4.19/tools/testing/selftests/net/ |
D | psock_fanout.c | 193 .tp_block_size = getpagesize(), in sock_fanout_open_ring() 194 .tp_frame_size = getpagesize(), in sock_fanout_open_ring() 229 header = ring + (count * getpagesize()); in sock_fanout_read_ring() 396 if (munmap(rings[1], RING_NUM_FRAMES * getpagesize()) || in test_datapath() 397 munmap(rings[0], RING_NUM_FRAMES * getpagesize())) { in test_datapath()
|
D | psock_tpacket.c | 646 ring->req.tp_block_size = getpagesize() << 2; in __v1_v2_fill() 667 ring->req3.tp_block_size = getpagesize() << 2; in __v3_fill()
|
/Linux-v4.19/tools/testing/selftests/kvm/ |
D | dirty_log_test.c | 151 value_ptr = host_test_mem + page * getpagesize(); in vm_dirty_log_verify() 272 TEST_MEM_PAGES * getpagesize(), 0); in main() 278 *psize = getpagesize(); in main()
|
/Linux-v4.19/tools/testing/selftests/powerpc/mm/ |
D | segv_errors.c | 43 p = mmap(NULL, getpagesize(), 0, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in test_segv_errors()
|
D | subpage_prot.c | 160 if (getpagesize() != 0x10000) { in test_anon()
|
/Linux-v4.19/tools/testing/selftests/powerpc/tm/ |
D | tm-vmxcopy.c | 39 unsigned long pgsize = getpagesize(); in test_vmxcopy()
|
/Linux-v4.19/tools/testing/selftests/powerpc/primitives/ |
D | load_unaligned_zeropad.c | 137 page_size = getpagesize(); in test_body()
|
/Linux-v4.19/tools/testing/selftests/powerpc/copyloops/ |
D | exc_validate.c | 85 page_size = getpagesize(); in test_copy_exception()
|
/Linux-v4.19/tools/virtio/linux/ |
D | kernel.h | 22 #define PAGE_SIZE getpagesize()
|
/Linux-v4.19/include/uapi/linux/ |
D | a.out.h | 125 #define SEGMENT_SIZE getpagesize()
|
/Linux-v4.19/arch/sparc/kernel/ |
D | sys_sparc_32.c | 37 SYSCALL_DEFINE0(getpagesize) in SYSCALL_DEFINE0() argument
|
D | sys_sparc_64.c | 42 SYSCALL_DEFINE0(getpagesize) in SYSCALL_DEFINE0() argument
|
/Linux-v4.19/tools/testing/selftests/bpf/ |
D | trace_helpers.c | 96 page_size = getpagesize(); in perf_event_mmap_header()
|
/Linux-v4.19/tools/testing/selftests/powerpc/benchmarks/ |
D | context_switch.c | 324 shmid = shmget(IPC_PRIVATE, getpagesize(), SHM_R | SHM_W); in futex_setup()
|
/Linux-v4.19/tools/virtio/ |
D | vringh_test.c | 157 mapsize = (mapsize + getpagesize() - 1) & ~(getpagesize() - 1); in parallel_test()
|
/Linux-v4.19/tools/testing/selftests/powerpc/alignment/ |
D | alignment_handler.c | 541 bufsize = getpagesize(); in main()
|
/Linux-v4.19/tools/bpf/bpftool/ |
D | common.c | 442 result = getpagesize(); in get_page_size()
|
/Linux-v4.19/tools/perf/util/ |
D | jitdump.c | 251 size_t sz = getpagesize(); in jit_get_next_entry()
|
/Linux-v4.19/samples/bpf/ |
D | xdpsock_user.c | 418 lassert(posix_memalign(&bufs, getpagesize(), /* PAGE_SIZE aligned */ in xdp_umem_configure()
|
/Linux-v4.19/tools/vm/ |
D | page-types.c | 1270 page_size = getpagesize(); in main()
|