Home
last modified time | relevance | path

Searched refs:_SC_PAGESIZE (Results 1 – 25 of 160) sorted by relevance

1234567

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
D16-1.c82 ret = ftruncate(fd_s, sysconf(_SC_PAGESIZE)); in main()
88 ret = ftruncate(fd_ns, sysconf(_SC_PAGESIZE)); in main()
96 mmap(NULL, sysconf(_SC_PAGESIZE), PROT_READ | PROT_WRITE, in main()
104 mmap(NULL, sysconf(_SC_PAGESIZE), PROT_READ | PROT_WRITE, in main()
/external/ltp/testcases/kernel/syscalls/swapon/
Dlibswapon.c30 if (!tst_fs_has_free(NULL, ".", sysconf(_SC_PAGESIZE) * 10, in make_swapfile()
38 sysconf(_SC_PAGESIZE), 10) != 0) { in make_swapfile()
/external/ltp/android/include/
Dbionic-compat.h25 #define SHMLBA sysconf(_SC_PAGESIZE)
48 return memalign(sysconf(_SC_PAGESIZE), size); in valloc()
/external/tensorflow/tensorflow/core/common_runtime/
Dmkl_cpu_allocator_test.cc37 #if defined(_SC_PHYS_PAGES) && defined(_SC_PAGESIZE) in TEST()
39 (uint64)sysconf(_SC_PHYS_PAGES) * (uint64)sysconf(_SC_PAGESIZE); in TEST()
Dmkl_cpu_allocator.h154 #if defined(_SC_PHYS_PAGES) && defined(_SC_PAGESIZE) in Initialize()
156 (uint64)sysconf(_SC_PHYS_PAGES) * (uint64)sysconf(_SC_PAGESIZE); in Initialize()
167 #if defined(_SC_PHYS_PAGES) && defined(_SC_PAGESIZE) in Initialize()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_init/
D3-2.c106 ret = ftruncate(fd, sysconf(_SC_PAGESIZE)); in main()
114 mmap(NULL, sysconf(_SC_PAGESIZE), PROT_READ | PROT_WRITE, in main()
D3-3.c106 ret = ftruncate(fd, sysconf(_SC_PAGESIZE)); in main()
114 mmap(NULL, sysconf(_SC_PAGESIZE), PROT_READ | PROT_WRITE, in main()
/external/e2fsprogs/lib/ext2fs/
Dgetsectsize.c94 #ifdef _SC_PAGESIZE in ext2fs_get_dio_alignment()
96 align = sysconf(_SC_PAGESIZE); in ext2fs_get_dio_alignment()
/external/python/cpython2/Modules/_ctypes/
Dmalloc_closure.c47 #ifdef _SC_PAGESIZE in more_core()
48 _pagesize = sysconf(_SC_PAGESIZE); in more_core()
/external/python/cpython3/Modules/_ctypes/
Dmalloc_closure.c47 #ifdef _SC_PAGESIZE in more_core()
48 _pagesize = sysconf(_SC_PAGESIZE); in more_core()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/getpid/
D1-1.c133 ret = ftruncate(fd, sysconf(_SC_PAGESIZE)); in main()
140 mmap(NULL, sysconf(_SC_PAGESIZE), PROT_READ | PROT_WRITE, in main()
/external/webrtc/webrtc/base/
Dsysteminfo.cc184 static_cast<int64_t>(sysconf(_SC_PAGESIZE)); in GetMemorySize()
188 << "sysconf(_SC_PAGESIZE) " << sysconf(_SC_PAGESIZE); in GetMemorySize()
/external/linux-kselftest/tools/testing/selftests/vm/
Dtranshuge-stress.c68 if (ram > SIZE_MAX / sysconf(_SC_PAGESIZE) / 4) in main()
71 ram *= sysconf(_SC_PAGESIZE); in main()
/external/selinux/libselinux/src/
Dsestatus.c266 pagesize = sysconf(_SC_PAGESIZE); in selinux_status_open()
340 pagesize = sysconf(_SC_PAGESIZE); in selinux_status_close()
/external/mksh/src/
Dlalloc.c88 if (sysconf(_SC_PAGESIZE) != 4096) { in ainit()
90 sysconf(_SC_PAGESIZE)); in ainit()
/external/e2fsprogs/resize/
Dmain.c477 #if (!defined(_SC_PAGESIZE) && defined(_SC_PAGE_SIZE)) in main()
478 #define _SC_PAGESIZE _SC_PAGE_SIZE in main() macro
480 #ifdef _SC_PAGESIZE in main()
481 sysval = sysconf(_SC_PAGESIZE); in main()
/external/strace/tests/
Dget_page_size.c10 page_size = sysconf(_SC_PAGESIZE); in get_page_size()
/external/strace/tests-mx32/
Dget_page_size.c10 page_size = sysconf(_SC_PAGESIZE); in get_page_size()
/external/strace/tests-m32/
Dget_page_size.c10 page_size = sysconf(_SC_PAGESIZE); in get_page_size()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/munlock/
D10-1.c32 page_size = sysconf(_SC_PAGESIZE); in main()
D11-1.c28 page_size = sysconf(_SC_PAGESIZE); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlock/
D8-1.c32 page_size = sysconf(_SC_PAGESIZE); in main()
D10-1.c28 page_size = sysconf(_SC_PAGESIZE); in main()
/external/compiler-rt/test/asan/TestCases/Posix/
Dlarge_allocator_unpoisons_on_free.cc27 const long kPageSize = sysconf(_SC_PAGESIZE); in main()
/external/python/cpython2/Lib/plat-unixware7/
DSTROPTS.py116 _SC_PAGESIZE = 11 variable
117 _SC_PAGE_SIZE = _SC_PAGESIZE

1234567