Searched refs:hugepagesize (Results 1 – 1 of 1) sorted by relevance
62 static long hugepagesize, nr_overcommit_hugepages; variable79 shmid = SAFE_SHMGET(key, (length / 2 * hugepagesize), in test_overcommit()83 addr = SAFE_MMAP(ADDR, (length / 2 * hugepagesize), in test_overcommit()153 SAFE_MUNMAP(addr, (length / 2 * hugepagesize)); in test_overcommit()188 hugepagesize = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()206 if (shmmax < (unsigned long long)(length / 2 * hugepagesize)) { in setup()209 (length / 2 * hugepagesize)); in setup()248 memset((char *)addr, '\a', (length / 2 * hugepagesize)); in check_wr_bytes()251 for (i = 0; i < (length / 2 * hugepagesize); i++) { in check_wr_bytes()287 hugepagesize / 1024); in init_sys_sz_paths()