Searched refs:_SC_PAGE_SIZE (Results 1 - 25 of 90) sorted by relevance
1234
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setstack/ |
H A D | 6-1.c | 29 #define STACKSIZE PTHREAD_STACK_MIN - sysconf(_SC_PAGE_SIZE) 56 if (posix_memalign(&stack_addr, sysconf(_SC_PAGE_SIZE), in main()
|
H A D | 7-1.c | 57 if (posix_memalign(&stack_addr, sysconf(_SC_PAGE_SIZE), in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setstacksize/ |
H A D | 4-1.c | 29 #define STACKSIZE PTHREAD_STACK_MIN - sysconf(_SC_PAGE_SIZE) 47 if (posix_memalign(&saddr, sysconf(_SC_PAGE_SIZE), stack_size) != 0) { in main()
|
/third_party/musl/libc-test/src/gwp_asan/ |
H A D | buffer_overflow.c | 45 char *ptr = (char *)malloc(sysconf(_SC_PAGE_SIZE));
in buffer_overflow_test() 54 char c = *(ptr + sysconf(_SC_PAGE_SIZE) + 1);
in buffer_overflow_test()
|
H A D | buffer_underflow.c | 45 char *ptr = (char *)malloc(sysconf(_SC_PAGE_SIZE));
in buffer_underflow_test()
|
/third_party/node/test/cctest/ |
H A D | test_crypto_clienthello.cc | 21 #if defined(_SC_PAGE_SIZE) && defined(PROT_NONE) && defined(PROT_READ) && \ 34 int page_size = sysconf(_SC_PAGE_SIZE); in GetPageSize()
|
/third_party/ltp/testcases/lib/ |
H A D | tst_getconf.c | 43 printf("%ld\n", sysconf(_SC_PAGE_SIZE)); in main()
|
/third_party/mesa3d/src/util/ |
H A D | os_misc.c | 228 const long page_size = sysconf(_SC_PAGE_SIZE); in os_get_total_physical_memory() 334 const long page_size = sysconf(_SC_PAGE_SIZE); in os_get_page_size()
|
/third_party/toybox/toys/other/ |
H A D | mkswap.c | 25 int fd = xopen(*toys.optargs, O_RDWR), pagesize = sysconf(_SC_PAGE_SIZE); in mkswap_main()
|
/third_party/ltp/testcases/kernel/mem/mmapstress/ |
H A D | mmapstress10.c | 174 int pagesize = sysconf(_SC_PAGE_SIZE); 534 int pagesize = sysconf(_SC_PAGE_SIZE); 709 int pagesize = sysconf(_SC_PAGE_SIZE); 794 unsigned pagesize = sysconf(_SC_PAGE_SIZE);
|
H A D | mmapstress06.c | 65 size_t pagesize = sysconf(_SC_PAGE_SIZE); in main()
|
H A D | mmapstress08.c | 65 long pagesize = sysconf(_SC_PAGE_SIZE); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/ |
H A D | 11-2.c | 62 page_size = sysconf(_SC_PAGE_SIZE); in main()
|
H A D | 11-1.c | 11 * sysconf() when passed _SC_PAGESIZE or _SC_PAGE_SIZE. 49 page_size = sysconf(_SC_PAGE_SIZE); in main()
|
H A D | 9-1.c | 47 page_size = sysconf(_SC_PAGE_SIZE); in main()
|
H A D | 31-1.c | 68 long page_size = sysconf(_SC_PAGE_SIZE); in main()
|
H A D | 11-5.c | 55 page_size = sysconf(_SC_PAGE_SIZE); in main()
|
H A D | 11-6.c | 57 page_size = sysconf(_SC_PAGE_SIZE); in main()
|
H A D | 11-3.c | 61 page_size = sysconf(_SC_PAGE_SIZE); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_getstack/ |
H A D | 1-1.c | 56 if (posix_memalign(&stack_addr, sysconf(_SC_PAGE_SIZE), in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_getstacksize/ |
H A D | 1-1.c | 55 if (posix_memalign(&saddr, sysconf(_SC_PAGE_SIZE), stack_size) != 0) { in main()
|
/third_party/musl/libc-test/src/common/ |
H A D | vmfill.c | 8 #define PAGE_SIZE sysconf(_SC_PAGE_SIZE)
|
/third_party/ltp/testcases/kernel/mem/vma/ |
H A D | vma03.c | 83 pgsz = sysconf(_SC_PAGE_SIZE); in main()
|
/third_party/ltp/testcases/kernel/syscalls/userfaultfd/ |
H A D | userfaultfd01.c | 33 page_size = sysconf(_SC_PAGE_SIZE); in set_pages()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/munmap/ |
H A D | 1-2.c | 69 page_size = sysconf(_SC_PAGE_SIZE); in main()
|
Completed in 6 milliseconds
1234