Home
last modified time | relevance | path

Searched refs:getpagesize (Results 1 – 25 of 120) sorted by relevance

12345

/external/chromium_org/components/nacl/loader/nonsfi/
Dnonsfi_sandbox_unittest.cc309 return mmap(NULL, getpagesize(), PROT_READ | PROT_WRITE, in DoAllowedAnonymousMmap()
318 BPF_ASSERT_EQ(0, munmap(ptr, getpagesize())); in BPF_TEST_C()
325 mmap(NULL, getpagesize(), PROT_READ | PROT_WRITE, in BPF_DEATH_TEST_C()
333 mmap(NULL, getpagesize(), PROT_READ | PROT_GROWSDOWN, in BPF_DEATH_TEST_C()
341 mmap(NULL, getpagesize(), PROT_EXEC, MAP_ANONYMOUS, -1, 0); in BPF_DEATH_TEST_C()
348 mmap(NULL, getpagesize(), PROT_READ | PROT_EXEC, MAP_ANONYMOUS, -1, 0); in BPF_DEATH_TEST_C()
355 mmap(NULL, getpagesize(), PROT_WRITE | PROT_EXEC, MAP_ANONYMOUS, -1, 0); in BPF_DEATH_TEST_C()
362 mmap(NULL, getpagesize(), PROT_READ | PROT_WRITE | PROT_EXEC, in BPF_DEATH_TEST_C()
371 BPF_ASSERT_EQ(0, mprotect(ptr, getpagesize(), PROT_READ)); in BPF_TEST_C()
372 BPF_ASSERT_EQ(0, munmap(ptr, getpagesize())); in BPF_TEST_C()
[all …]
/external/libunwind/tests/
DGtest-dyn1.c179 mem = malloc (getpagesize ()); in main()
187 mprotect ((void *) ((long) mem & ~(getpagesize () - 1)), in main()
188 2*getpagesize(), PROT_READ | PROT_WRITE | PROT_EXEC); in main()
Dia64-test-setjmp.c87 size_t page_size = getpagesize (); in doit()
/external/qemu/util/
Doslib-posix.c47 # define QEMU_VMALLOC_ALIGN getpagesize()
111 return qemu_memalign(getpagesize(), size); in qemu_vmalloc()
118 size_t total = size + align - getpagesize(); in qemu_anon_ram_alloc()
/external/chromium_org/base/process/
Dprocess_metrics_freebsd.cc50 return info.ki_rssize * getpagesize(); in GetWorkingSetSize()
117 pagesize = getpagesize(); in GetSystemCommitCharge()
Dprocess_metrics_openbsd.cc52 return info.p_vm_rssize * getpagesize(); in GetWorkingSetSize()
156 pagesize = getpagesize(); in GetSystemCommitCharge()
/external/bison/lib/
Dunistd.in.h816 # define getpagesize rpl_getpagesize
818 _GL_FUNCDECL_RPL (getpagesize, int, (void));
819 _GL_CXXALIAS_RPL (getpagesize, int, (void));
822 # if !defined getpagesize
867 # define getpagesize() _gl_getpagesize ()
871 getpagesize ()
881 _GL_CXXALIAS_SYS_CAST (getpagesize, int, (void));
884 _GL_CXXALIASWARN (getpagesize);
887 # undef getpagesize
889 _GL_WARN_ON_USE (getpagesize, "getpagesize is unportable - "
/external/bison/darwin-lib/
Dunistd.h1128 # define getpagesize rpl_getpagesize
1130 _GL_FUNCDECL_RPL (getpagesize, int, (void));
1131 _GL_CXXALIAS_RPL (getpagesize, int, (void));
1134 # if !defined getpagesize
1179 # define getpagesize() _gl_getpagesize ()
1183 getpagesize ()
1193 _GL_CXXALIAS_SYS_CAST (getpagesize, int, (void));
1196 _GL_CXXALIASWARN (getpagesize);
1199 # undef getpagesize
1201 _GL_WARN_ON_USE (getpagesize, "getpagesize is unportable - "
/external/bison/linux-lib/
Dunistd.h1128 # define getpagesize rpl_getpagesize
1130 _GL_FUNCDECL_RPL (getpagesize, int, (void));
1131 _GL_CXXALIAS_RPL (getpagesize, int, (void));
1134 # if !defined getpagesize
1179 # define getpagesize() _gl_getpagesize ()
1183 getpagesize ()
1193 _GL_CXXALIAS_SYS_CAST (getpagesize, int, (void));
1196 _GL_CXXALIASWARN (getpagesize);
1199 # undef getpagesize
1201 _GL_WARN_ON_USE (getpagesize, "getpagesize is unportable - "
/external/chromium_org/tools/android/purge_ashmem/
Dpurge_ashmem.c18 pages_purged, pages_purged * getpagesize() / 1024); in main()
/external/chromium_org/third_party/tcmalloc/chromium/src/
Dsystem-alloc.cc425 if (pagesize == 0) pagesize = getpagesize(); in Alloc()
505 if (pagesize == 0) pagesize = getpagesize(); in Alloc()
643 pagesize = getpagesize(); in TCMalloc_SystemAddGuard()
662 if (pagesize == 0) pagesize = getpagesize(); in TCMalloc_SystemRelease()
Dstacktrace_x86-inl.h215 page_size = getpagesize(); in NextStackFrame()
267 static int page_size = getpagesize(); in NextStackFrame()
/external/chromium_org/third_party/tcmalloc/vendor/src/windows/
Dport.cc53 int getpagesize() { in getpagesize() function
226 const int pagesize = getpagesize(); in TCMalloc_SystemAlloc()
/external/chromium_org/third_party/tcmalloc/vendor/src/
Dstacktrace_x86-inl.h212 page_size = getpagesize(); in NextStackFrame()
264 static int page_size = getpagesize(); in NextStackFrame()
Dsystem-alloc.cc284 if (pagesize == 0) pagesize = getpagesize(); in Alloc()
368 if (pagesize == 0) pagesize = getpagesize(); in Alloc()
503 if (pagesize == 0) pagesize = getpagesize(); in TCMalloc_SystemRelease()
/external/compiler-rt/test/lsan/TestCases/
Dregister_root_region.cc17 size_t size = getpagesize() * 2; in main()
/external/kernel-headers/original/uapi/linux/
Dshm.h19 #define SHMALL (SHMMAX/getpagesize()*(SHMMNI/16))
/external/e2fsprogs/lib/ext2fs/
Dgetsectsize.c81 align = getpagesize(); in ext2fs_get_dio_alignment()
/external/valgrind/main/none/tests/
Dmmap_fcntl_bug.c48 if (mmap(NULL, getpagesize(), PROT_READ|PROT_WRITE, MAP_PRIVATE, fd, 0) == MAP_FAILED) in main()
Dmap_unmap.c52 pagesize = getpagesize(); in main()
/external/chromium_org/third_party/tcmalloc/chromium/src/windows/
Dport.cc54 int getpagesize() { in getpagesize() function
228 const int pagesize = getpagesize(); in TCMalloc_SystemAlloc()
/external/chromium_org/ppapi/proxy/
Dfile_mapping_resource_posix.cc85 return getpagesize(); in DoGetMapPageSize()
/external/chromium_org/base/
Dsys_info_posix.cc130 return getpagesize(); in VMAllocationGranularity()
/external/chromium_org/third_party/npapi/npspy/extern/nspr/md/
Dsunos4.h157 extern int getpagesize(void);
/external/mesa3d/src/mesa/main/
Dvsnprintf.c69 pgsize = getpagesize();

12345