Home
last modified time | relevance | path

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

1234567

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
D16-1.c84 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/
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/tensorflow/tensorflow/core/common_runtime/
Dmkl_cpu_allocator.h68 #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()
Dmkl_cpu_allocator_test.cc38 #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/
Dbionic-compat.h24 #define SHMLBA sysconf(_SC_PAGESIZE)
36 return memalign(sysconf(_SC_PAGESIZE), size); in valloc()
/external/e2fsprogs/lib/ext2fs/
Dgetsectsize.c80 #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/
D3-3.c108 ret = ftruncate(fd, sysconf(_SC_PAGESIZE)); in main()
116 mmap(NULL, sysconf(_SC_PAGESIZE), PROT_READ | PROT_WRITE, in main()
D3-2.c108 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/
Dmalloc_closure.c47 #ifdef _SC_PAGESIZE in more_core()
48 _pagesize = sysconf(_SC_PAGESIZE); in more_core()
/external/python/cpython2/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/syslinux/utils/
Dmemdiskfind.c99 #ifdef _SC_PAGESIZE in get_page_size()
100 return sysconf(_SC_PAGESIZE); in get_page_size()
/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.c471 #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/
Dget_page_size.c10 page_size = sysconf(_SC_PAGESIZE); in get_page_size()
/external/strace/tests/
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/fio/os/
Dos-windows.h52 #define _SC_PAGESIZE 0x1 macro
162 pagesize = sysconf(_SC_PAGESIZE); in os_phys_mem()
/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/harfbuzz_ng/src/
Dhb-blob.cc396 #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/
D8-1.c32 page_size = sysconf(_SC_PAGESIZE); in main()

1234567