Searched refs:CHUNK_SZ (Results 1 – 2 of 2) sorted by relevance
42 #define CHUNK_SZ (400*1024*1024L) macro43 #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()[all …]
1491 #define CHUNK_SZ 128 in find_eol_char() macro1498 size_t chunk = (s + CHUNK_SZ < s_end) ? CHUNK_SZ : (s_end - s); in find_eol_char()1508 s += CHUNK_SZ; in find_eol_char()1512 #undef CHUNK_SZ in find_eol_char()