Lines Matching refs:CHUNK_SZ
42 #define CHUNK_SZ (400*1024*1024L) macro
43 #define CHUNK_PAGES (CHUNK_SZ / pg_sz)
44 #define PASS_THRESHOLD (CHUNK_SZ / 4)
70 if (sys_buf_start.freeram < 2 * CHUNK_SZ) { in setup()
72 2 * CHUNK_SZ); in setup()
74 if (sys_buf_start.freeswap < 2 * CHUNK_SZ) { in setup()
76 2 * CHUNK_SZ); in setup()
133 target = SAFE_MMAP(NULL, CHUNK_SZ, PROT_READ | PROT_WRITE, in test_advice_willneed()
136 dirty_pages(target, CHUNK_SZ); in test_advice_willneed()
142 TEST(madvise(target, CHUNK_SZ, MADV_WILLNEED)); in test_advice_willneed()
157 SAFE_MUNMAP(target, CHUNK_SZ); in test_advice_willneed()
178 SAFE_MUNMAP(target, CHUNK_SZ); in test_advice_willneed()