Searched refs:MADV_POPULATE_READ (Results 1 – 10 of 10) sorted by relevance
/Linux-v6.6/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 | 715 if (madvise(((char *)p) + start, end - start, MADV_POPULATE_READ)) { in file_fault()
|
/Linux-v6.6/tools/include/uapi/asm-generic/ |
D | mman-common.h | 75 #define MADV_POPULATE_READ 22 /* populate (prefault) page tables readable */ macro
|
/Linux-v6.6/include/uapi/asm-generic/ |
D | mman-common.h | 75 #define MADV_POPULATE_READ 22 /* populate (prefault) page tables readable */ macro
|
/Linux-v6.6/arch/parisc/include/uapi/asm/ |
D | mman.h | 68 #define MADV_POPULATE_READ 22 /* populate (prefault) page tables readable */ macro
|
/Linux-v6.6/arch/xtensa/include/uapi/asm/ |
D | mman.h | 109 #define MADV_POPULATE_READ 22 /* populate (prefault) page tables readable */ macro
|
/Linux-v6.6/arch/alpha/include/uapi/asm/ |
D | mman.h | 74 #define MADV_POPULATE_READ 22 /* populate (prefault) page tables readable */ macro
|
/Linux-v6.6/arch/mips/include/uapi/asm/ |
D | mman.h | 101 #define MADV_POPULATE_READ 22 /* populate (prefault) page tables readable */ macro
|
/Linux-v6.6/mm/ |
D | madvise.c | 60 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/ |
D | userfaultfd.rst | 234 memory, one can pre-populate the memory with e.g. MADV_POPULATE_READ. On
|