/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/ |
D | 16-1.c | 84 ret = ftruncate(fd_s, sysconf(_SC_PAGESIZE)); in main() 90 ret = ftruncate(fd_ns, sysconf(_SC_PAGESIZE)); in main() 98 mmap(NULL, sysconf(_SC_PAGESIZE), PROT_READ | PROT_WRITE, in main() 106 mmap(NULL, sysconf(_SC_PAGESIZE), PROT_READ | PROT_WRITE, in main()
|
/external/ltp/testcases/kernel/syscalls/swapon/ |
D | libswapon.c | 30 if (!tst_fs_has_free(NULL, ".", sysconf(_SC_PAGESIZE) * 10, in make_swapfile() 38 sysconf(_SC_PAGESIZE), 10) != 0) { in make_swapfile()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | mkl_cpu_allocator.h | 68 #if defined(_SC_PHYS_PAGES) && defined(_SC_PAGESIZE) in Initialize() 70 (uint64)sysconf(_SC_PHYS_PAGES) * (uint64)sysconf(_SC_PAGESIZE); in Initialize() 81 #if defined(_SC_PHYS_PAGES) && defined(_SC_PAGESIZE) in Initialize()
|
D | mkl_cpu_allocator_test.cc | 38 #if defined(_SC_PHYS_PAGES) && defined(_SC_PAGESIZE) in TEST() 40 (uint64)sysconf(_SC_PHYS_PAGES) * (uint64)sysconf(_SC_PAGESIZE); in TEST()
|
/external/ltp/android/include/ |
D | bionic-compat.h | 24 #define SHMLBA sysconf(_SC_PAGESIZE) 36 return memalign(sysconf(_SC_PAGESIZE), size); in valloc()
|
/external/e2fsprogs/lib/ext2fs/ |
D | getsectsize.c | 80 #ifdef _SC_PAGESIZE in ext2fs_get_dio_alignment() 82 align = sysconf(_SC_PAGESIZE); in ext2fs_get_dio_alignment()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_init/ |
D | 3-3.c | 108 ret = ftruncate(fd, sysconf(_SC_PAGESIZE)); in main() 116 mmap(NULL, sysconf(_SC_PAGESIZE), PROT_READ | PROT_WRITE, in main()
|
D | 3-2.c | 108 ret = ftruncate(fd, sysconf(_SC_PAGESIZE)); in main() 116 mmap(NULL, sysconf(_SC_PAGESIZE), PROT_READ | PROT_WRITE, in main()
|
/external/python/cpython3/Modules/_ctypes/ |
D | malloc_closure.c | 47 #ifdef _SC_PAGESIZE in more_core() 48 _pagesize = sysconf(_SC_PAGESIZE); in more_core()
|
/external/python/cpython2/Modules/_ctypes/ |
D | malloc_closure.c | 47 #ifdef _SC_PAGESIZE in more_core() 48 _pagesize = sysconf(_SC_PAGESIZE); in more_core()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/getpid/ |
D | 1-1.c | 133 ret = ftruncate(fd, sysconf(_SC_PAGESIZE)); in main() 140 mmap(NULL, sysconf(_SC_PAGESIZE), PROT_READ | PROT_WRITE, in main()
|
/external/syslinux/utils/ |
D | memdiskfind.c | 99 #ifdef _SC_PAGESIZE in get_page_size() 100 return sysconf(_SC_PAGESIZE); in get_page_size()
|
/external/webrtc/webrtc/base/ |
D | systeminfo.cc | 184 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/ |
D | transhuge-stress.c | 68 if (ram > SIZE_MAX / sysconf(_SC_PAGESIZE) / 4) in main() 71 ram *= sysconf(_SC_PAGESIZE); in main()
|
/external/selinux/libselinux/src/ |
D | sestatus.c | 266 pagesize = sysconf(_SC_PAGESIZE); in selinux_status_open() 340 pagesize = sysconf(_SC_PAGESIZE); in selinux_status_close()
|
/external/mksh/src/ |
D | lalloc.c | 88 if (sysconf(_SC_PAGESIZE) != 4096) { in ainit() 90 sysconf(_SC_PAGESIZE)); in ainit()
|
/external/e2fsprogs/resize/ |
D | main.c | 471 #if (!defined(_SC_PAGESIZE) && defined(_SC_PAGE_SIZE)) in main() 472 #define _SC_PAGESIZE _SC_PAGE_SIZE in main() macro 474 #ifdef _SC_PAGESIZE in main() 475 sysval = sysconf(_SC_PAGESIZE); in main()
|
/external/strace/tests-mx32/ |
D | get_page_size.c | 10 page_size = sysconf(_SC_PAGESIZE); in get_page_size()
|
/external/strace/tests/ |
D | get_page_size.c | 10 page_size = sysconf(_SC_PAGESIZE); in get_page_size()
|
/external/strace/tests-m32/ |
D | get_page_size.c | 10 page_size = sysconf(_SC_PAGESIZE); in get_page_size()
|
/external/fio/os/ |
D | os-windows.h | 52 #define _SC_PAGESIZE 0x1 macro 162 pagesize = sysconf(_SC_PAGESIZE); in os_phys_mem()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/munlock/ |
D | 10-1.c | 32 page_size = sysconf(_SC_PAGESIZE); in main()
|
D | 11-1.c | 28 page_size = sysconf(_SC_PAGESIZE); in main()
|
/external/harfbuzz_ng/src/ |
D | hb-blob.cc | 396 #elif defined(HAVE_SYSCONF) && defined(_SC_PAGESIZE) in _try_make_writable_inplace_unix() 397 pagesize = (uintptr_t) sysconf (_SC_PAGESIZE); in _try_make_writable_inplace_unix()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlock/ |
D | 8-1.c | 32 page_size = sysconf(_SC_PAGESIZE); in main()
|