Searched refs:getpagesize (Results 1 - 25 of 104) sorted by relevance

12345

/external/chromium_org/tools/android/purge_ashmem/
H A Dpurge_ashmem.c18 pages_purged, pages_purged * getpagesize() / 1024);
/external/compiler-rt/test/lsan/TestCases/
H A Dregister_root_region.cc17 size_t size = getpagesize() * 2;
/external/chromium_org/components/nacl/loader/nonsfi/
H A Dnonsfi_sandbox_unittest.cc345 return mmap(NULL, getpagesize(), PROT_READ | PROT_WRITE,
354 BPF_ASSERT_EQ(0, munmap(ptr, getpagesize()));
361 mmap(NULL, getpagesize(), PROT_READ | PROT_WRITE,
369 mmap(NULL, getpagesize(), PROT_READ | PROT_GROWSDOWN,
377 mmap(NULL, getpagesize(), PROT_EXEC, MAP_ANONYMOUS, -1, 0);
384 mmap(NULL, getpagesize(), PROT_READ | PROT_EXEC, MAP_ANONYMOUS, -1, 0);
391 mmap(NULL, getpagesize(), PROT_WRITE | PROT_EXEC, MAP_ANONYMOUS, -1, 0);
398 mmap(NULL, getpagesize(), PROT_READ | PROT_WRITE | PROT_EXEC,
407 BPF_ASSERT_EQ(0, mprotect(ptr, getpagesize(), PROT_READ));
408 BPF_ASSERT_EQ(0, munmap(ptr, getpagesize()));
[all...]
/external/kernel-headers/original/uapi/linux/
H A Dshm.h19 #define SHMALL (SHMMAX/getpagesize()*(SHMMNI/16))
/external/libunwind/tests/
H A DGtest-dyn1.c179 mem = malloc (getpagesize ());
187 mprotect ((void *) ((long) mem & ~(getpagesize () - 1)),
188 2*getpagesize(), PROT_READ | PROT_WRITE | PROT_EXEC);
H A Dia64-test-setjmp.c87 size_t page_size = getpagesize ();
/external/chromium_org/base/process/
H A Dprocess_metrics_freebsd.cc50 return info.ki_rssize * getpagesize();
117 pagesize = getpagesize();
H A Dprocess_metrics_openbsd.cc52 return info.p_vm_rssize * getpagesize();
156 pagesize = getpagesize();
/external/chromium_org/ppapi/proxy/
H A Dfile_mapping_resource_posix.cc85 return getpagesize();
/external/e2fsprogs/lib/ext2fs/
H A Dgetsectsize.c81 align = getpagesize();
/external/valgrind/main/none/tests/
H A Dmap_unmap.c52 pagesize = getpagesize();
H A Dmmap_fcntl_bug.c48 if (mmap(NULL, getpagesize(), PROT_READ|PROT_WRITE, MAP_PRIVATE, fd, 0) == MAP_FAILED)
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dstacktrace_x86-inl.h212 page_size = getpagesize();
264 static int page_size = getpagesize();
H A Dsystem-alloc.cc48 #include <unistd.h> // for sbrk, getpagesize, off_t
284 if (pagesize == 0) pagesize = getpagesize();
368 if (pagesize == 0) pagesize = getpagesize();
503 if (pagesize == 0) pagesize = getpagesize();
/external/chromium_org/third_party/tcmalloc/vendor/src/windows/
H A Dport.cc53 int getpagesize() { function
226 const int pagesize = getpagesize();
/external/chromium_org/base/
H A Dsys_info_posix.cc141 return getpagesize();
/external/chromium_org/third_party/npapi/npspy/extern/nspr/md/
H A Dsunos4.h157 extern int getpagesize(void);
/external/qemu/util/
H A Doslib-posix.c47 # define QEMU_VMALLOC_ALIGN getpagesize()
111 return qemu_memalign(getpagesize(), size);
118 size_t total = size + align - getpagesize();
/external/bison/darwin-lib/
H A 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 macro
1201 _GL_WARN_ON_USE (getpagesize, "getpagesiz
[all...]
/external/bison/lib/
H A 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, "getpagesiz
[all...]
/external/bison/linux-lib/
H A 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 macro
1201 _GL_WARN_ON_USE (getpagesize, "getpagesiz
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dvsnprintf.c69 pgsize = getpagesize();
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dsystem-alloc.cc48 #include <unistd.h> // for sbrk, getpagesize, off_t
425 if (pagesize == 0) pagesize = getpagesize();
505 if (pagesize == 0) pagesize = getpagesize();
643 pagesize = getpagesize();
662 if (pagesize == 0) pagesize = getpagesize();
/external/mesa3d/src/mesa/main/
H A Dvsnprintf.c69 pgsize = getpagesize();
/external/openfst/src/lib/
H A Dmapped-file.cc69 int pagesize = getpagesize();

Completed in 2214 milliseconds

12345