Home
last modified time | relevance | path

Searched refs:_SC_PAGE_SIZE (Results 1 – 8 of 8) sorted by relevance

/bionic/libc/bionic/
Dsysinfo.cpp82 return (si.totalram * si.mem_unit) / sysconf(_SC_PAGE_SIZE); in get_phys_pages()
88 return ((si.freeram + si.bufferram) * si.mem_unit) / sysconf(_SC_PAGE_SIZE); in get_avphys_pages()
Dsysconf.cpp67 case _SC_PAGE_SIZE: in sysconf()
/bionic/tests/
Dbuffer_tests.cpp354 size_t pagesize = static_cast<size_t>(sysconf(_SC_PAGE_SIZE)); in RunSingleBufferOverreadTest()
375 size_t pagesize = static_cast<size_t>(sysconf(_SC_PAGE_SIZE)); in RunSrcDstBufferOverreadTest()
405 size_t pagesize = static_cast<size_t>(sysconf(_SC_PAGE_SIZE)); in RunCmpBufferOverreadTest()
Dunistd_test.cpp55 uintptr_t mask = sysconf(_SC_PAGE_SIZE) - 1; in page_align()
72 new_break = page_align(reinterpret_cast<uintptr_t>(initial_break) + sysconf(_SC_PAGE_SIZE)); in TEST()
851 VERIFY_SYSCONF_POSITIVE(_SC_PAGE_SIZE); in TEST()
852 VerifySysconf(_SC_PAGE_SIZE, "_SC_PAGE_SIZE", in TEST()
1012 EXPECT_EQ(static_cast<long>(32 * sysconf(_SC_PAGE_SIZE)), sysconf(_SC_ARG_MAX)); in TEST()
1015 rl.rlim_cur = 128 * sysconf(_SC_PAGE_SIZE); in TEST()
1019 EXPECT_EQ(static_cast<long>((128 * sysconf(_SC_PAGE_SIZE)) / 4), sysconf(_SC_ARG_MAX)); in TEST()
Dpthread_test.cpp2094 const auto kPageSize = sysconf(_SC_PAGE_SIZE); in TEST()
/bionic/libc/include/bits/
Dsysconf.h77 #define _SC_PAGE_SIZE 0x0028 macro
/bionic/linker/tests/
Dlinker_block_allocator_test.cpp60 static size_t kPageSize = sysconf(_SC_PAGE_SIZE);
Dlinker_memory_allocator_test.cpp62 static size_t kPageSize = sysconf(_SC_PAGE_SIZE);