Searched refs:MADV_POPULATE_READ (Results 1 - 9 of 9) sorted by relevance
/kernel/linux/linux-6.6/tools/testing/selftests/mm/ |
H A D | madv_populate.c | 3 * MADV_POPULATE_READ and MADV_POPULATE_WRITE tests 40 ret = madvise(addr, pagesize, MADV_POPULATE_READ); in sense_support() 42 ksft_exit_skip("MADV_POPULATE_READ is not available\n"); in sense_support() 62 ret = madvise(addr, SIZE, MADV_POPULATE_READ); in test_prot_read() 63 ksft_test_result(!ret, "MADV_POPULATE_READ with PROT_READ\n"); in test_prot_read() 83 ret = madvise(addr, SIZE, MADV_POPULATE_READ); in test_prot_write() 85 "MADV_POPULATE_READ with PROT_WRITE\n"); in test_prot_write() 109 ret = madvise(addr, SIZE, MADV_POPULATE_READ); in test_holes() 111 "MADV_POPULATE_READ with holes in the middle\n"); in test_holes() 117 ret = madvise(addr, 2 * pagesize, MADV_POPULATE_READ); in test_holes() [all...] |
H A D | khugepaged.c | 715 if (madvise(((char *)p) + start, end - start, MADV_POPULATE_READ)) { in file_fault() 716 perror("madvise(MADV_POPULATE_READ"); in file_fault()
|
/kernel/linux/linux-6.6/include/uapi/asm-generic/ |
H A D | mman-common.h | 79 #define MADV_POPULATE_READ 22 /* populate (prefault) page tables readable */ macro
|
/kernel/linux/linux-6.6/tools/include/uapi/asm-generic/ |
H A D | mman-common.h | 75 #define MADV_POPULATE_READ 22 /* populate (prefault) page tables readable */ macro
|
/kernel/linux/linux-6.6/arch/mips/include/uapi/asm/ |
H A D | mman.h | 101 #define MADV_POPULATE_READ 22 /* populate (prefault) page tables readable */ macro
|
/kernel/linux/linux-6.6/arch/alpha/include/uapi/asm/ |
H A D | mman.h | 74 #define MADV_POPULATE_READ 22 /* populate (prefault) page tables readable */ macro
|
/kernel/linux/linux-6.6/arch/parisc/include/uapi/asm/ |
H A D | mman.h | 68 #define MADV_POPULATE_READ 22 /* populate (prefault) page tables readable */ macro
|
/kernel/linux/linux-6.6/arch/xtensa/include/uapi/asm/ |
H A D | mman.h | 109 #define MADV_POPULATE_READ 22 /* populate (prefault) page tables readable */ macro
|
/kernel/linux/linux-6.6/mm/ |
H A 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() 1389 * MADV_POPULATE_READ - populate (prefault) page tables readable by
|
Completed in 7 milliseconds