Searched refs:MADV_POPULATE_READ (Results 1 – 3 of 3) sorted by relevance
/tools/testing/selftests/mm/ |
D | madv_populate.c | 40 ret = madvise(addr, pagesize, MADV_POPULATE_READ); in sense_support() 62 ret = madvise(addr, SIZE, MADV_POPULATE_READ); in test_prot_read() 83 ret = madvise(addr, SIZE, MADV_POPULATE_READ); in test_prot_write() 109 ret = madvise(addr, SIZE, MADV_POPULATE_READ); in test_holes() 117 ret = madvise(addr, 2 * pagesize, MADV_POPULATE_READ); in test_holes() 125 ret = madvise(addr + pagesize, pagesize, MADV_POPULATE_READ); in test_holes() 177 ret = madvise(addr, SIZE, MADV_POPULATE_READ); in test_populate_read() 253 ret = madvise(addr, SIZE, MADV_POPULATE_READ); in test_softdirty()
|
D | khugepaged.c | 419 if (madvise(((char *)p) + start, end - start, MADV_POPULATE_READ)) { in file_fault()
|
/tools/include/uapi/asm-generic/ |
D | mman-common.h | 75 #define MADV_POPULATE_READ 22 /* populate (prefault) page tables readable */ macro
|