Home
last modified time | relevance | path

Searched refs:MADV_POPULATE_READ (Results 1 – 3 of 3) sorted by relevance

/tools/testing/selftests/mm/
Dmadv_populate.c40 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()
Dkhugepaged.c419 if (madvise(((char *)p) + start, end - start, MADV_POPULATE_READ)) { in file_fault()
/tools/include/uapi/asm-generic/
Dmman-common.h75 #define MADV_POPULATE_READ 22 /* populate (prefault) page tables readable */ macro