/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/ |
D | 16-1.c | 82 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()
|
/third_party/ltp/libs/libltpswap/ |
D | libswap.c | 20 if (!tst_fs_has_free(".", sysconf(_SC_PAGESIZE) * 10, TST_BYTES)) in make_swapfile() 24 if (tst_fill_file(swapfile, 0, sysconf(_SC_PAGESIZE), 10) != 0) in make_swapfile()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_init/ |
D | 3-2.c | 106 ret = ftruncate(fd, sysconf(_SC_PAGESIZE)); in main() 114 mmap(NULL, sysconf(_SC_PAGESIZE), PROT_READ | PROT_WRITE, in main()
|
D | 3-3.c | 106 ret = ftruncate(fd, sysconf(_SC_PAGESIZE)); in main() 114 mmap(NULL, sysconf(_SC_PAGESIZE), PROT_READ | PROT_WRITE, in main()
|
/third_party/e2fsprogs/lib/ext2fs/ |
D | getsectsize.c | 101 #ifdef _SC_PAGESIZE in ext2fs_get_dio_alignment() 103 align = sysconf(_SC_PAGESIZE); in ext2fs_get_dio_alignment()
|
/third_party/python/Modules/_ctypes/ |
D | malloc_closure.c | 47 #ifdef _SC_PAGESIZE in more_core() 48 _pagesize = sysconf(_SC_PAGESIZE); in more_core()
|
/third_party/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()
|
/third_party/mksh/ |
D | lalloc.c | 88 if (sysconf(_SC_PAGESIZE) != 4096) { in ainit() 90 sysconf(_SC_PAGESIZE)); in ainit()
|
/third_party/selinux/libselinux/src/ |
D | sestatus.c | 294 pagesize = sysconf(_SC_PAGESIZE); in selinux_status_open() 386 pagesize = sysconf(_SC_PAGESIZE); in selinux_status_close()
|
/third_party/ltp/testcases/kernel/syscalls/sendto/ |
D | sendto03.c | 78 tpreq.tp_block_size = SAFE_SYSCONF(_SC_PAGESIZE); in check_tiny_frame() 138 size_t blocksize = 0x800000, pagesize = SAFE_SYSCONF(_SC_PAGESIZE); in check_vnet_hdr()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/munlock/ |
D | 10-1.c | 40 page_size = sysconf(_SC_PAGESIZE); in main()
|
D | 11-1.c | 28 page_size = sysconf(_SC_PAGESIZE); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlock/ |
D | 8-1.c | 40 page_size = sysconf(_SC_PAGESIZE); in main()
|
D | 10-1.c | 28 page_size = sysconf(_SC_PAGESIZE); in main()
|
/third_party/e2fsprogs/resize/ |
D | main.c | 486 #if (!defined(_SC_PAGESIZE) && defined(_SC_PAGE_SIZE)) in main() 487 #define _SC_PAGESIZE _SC_PAGE_SIZE in main() macro 489 #ifdef _SC_PAGESIZE in main() 490 sysval = sysconf(_SC_PAGESIZE); in main()
|
/third_party/ltp/testcases/kernel/syscalls/copy_file_range/ |
D | copy_file_range02.c | 231 if (!tst_fs_has_free(".", sysconf(_SC_PAGESIZE) * 10, TST_BYTES)) { in setup() 237 if (tst_fill_file(FILE_SWAP_PATH, 0, sysconf(_SC_PAGESIZE), 10) != 0) { in setup()
|
/third_party/ltp/testcases/kernel/syscalls/getpagesize/ |
D | getpagesize01.c | 76 ret_sysconf = sysconf(_SC_PAGESIZE); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlockall/ |
D | 3-7.c | 31 page_size = sysconf(_SC_PAGESIZE); in main()
|
D | 3-6.c | 34 page_size = sysconf(_SC_PAGESIZE); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/munmap/ |
D | 2-1.c | 35 map_size = sysconf(_SC_PAGESIZE); in main()
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/ |
D | memory.cpp | 29 const size_t kPageSize = sysconf(_SC_PAGESIZE); 61 const size_t kPageSize = sysconf(_SC_PAGESIZE);
|
/third_party/ltp/testcases/kernel/mem/thp/ |
D | thp03.c | 89 page_size = SAFE_SYSCONF(_SC_PAGESIZE); in setup()
|
/third_party/libdrm/amdgpu/ |
D | handle_table.c | 35 uint32_t alignment = sysconf(_SC_PAGESIZE) / sizeof(void*); in handle_table_insert()
|
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_test/ |
D | cpuset_memory_test.c | 139 memsize = sysconf(_SC_PAGESIZE); in process_options() 148 int pagesize = sysconf(_SC_PAGESIZE); in touch_memory_and_echo_node()
|
/third_party/flutter/skia/tools/ |
D | ProcStats.cpp | 49 const long pageSize = sysconf(_SC_PAGESIZE); in getCurrResidentSetSizeMB()
|