Home
last modified time | relevance | path

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

/Linux-v6.6/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.c715 if (madvise(((char *)p) + start, end - start, MADV_POPULATE_READ)) { in file_fault()
/Linux-v6.6/tools/include/uapi/asm-generic/
Dmman-common.h75 #define MADV_POPULATE_READ 22 /* populate (prefault) page tables readable */ macro
/Linux-v6.6/include/uapi/asm-generic/
Dmman-common.h75 #define MADV_POPULATE_READ 22 /* populate (prefault) page tables readable */ macro
/Linux-v6.6/arch/parisc/include/uapi/asm/
Dmman.h68 #define MADV_POPULATE_READ 22 /* populate (prefault) page tables readable */ macro
/Linux-v6.6/arch/xtensa/include/uapi/asm/
Dmman.h109 #define MADV_POPULATE_READ 22 /* populate (prefault) page tables readable */ macro
/Linux-v6.6/arch/alpha/include/uapi/asm/
Dmman.h74 #define MADV_POPULATE_READ 22 /* populate (prefault) page tables readable */ macro
/Linux-v6.6/arch/mips/include/uapi/asm/
Dmman.h101 #define MADV_POPULATE_READ 22 /* populate (prefault) page tables readable */ macro
/Linux-v6.6/mm/
Dmadvise.c60 case MADV_POPULATE_READ: in madvise_need_mmap_write()
1046 case MADV_POPULATE_READ: in madvise_vma_behavior()
1181 case MADV_POPULATE_READ: in madvise_behavior_valid()
/Linux-v6.6/Documentation/admin-guide/mm/
Duserfaultfd.rst234 memory, one can pre-populate the memory with e.g. MADV_POPULATE_READ. On