Searched refs:_SC_PAGE_SIZE (Results 1 – 8 of 8) sorted by relevance
82 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()
67 case _SC_PAGE_SIZE: in sysconf()
354 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()
55 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()
2094 const auto kPageSize = sysconf(_SC_PAGE_SIZE); in TEST()
77 #define _SC_PAGE_SIZE 0x0028 macro
60 static size_t kPageSize = sysconf(_SC_PAGE_SIZE);
62 static size_t kPageSize = sysconf(_SC_PAGE_SIZE);