Searched refs:MADV_POPULATE_READ (Results 1 - 9 of 9) sorted by relevance

/linux-master/tools/testing/selftests/mm/
H A Dmadv_populate.c3 * MADV_POPULATE_READ and MADV_POPULATE_WRITE tests
40 ret = madvise(addr, pagesize, MADV_POPULATE_READ);
42 ksft_exit_skip("MADV_POPULATE_READ is not available\n");
62 ret = madvise(addr, SIZE, MADV_POPULATE_READ);
63 ksft_test_result(!ret, "MADV_POPULATE_READ with PROT_READ\n");
83 ret = madvise(addr, SIZE, MADV_POPULATE_READ);
85 "MADV_POPULATE_READ with PROT_WRITE\n");
109 ret = madvise(addr, SIZE, MADV_POPULATE_READ);
111 "MADV_POPULATE_READ with holes in the middle\n");
117 ret = madvise(addr, 2 * pagesize, MADV_POPULATE_READ);
[all...]
H A Dkhugepaged.c419 if (madvise(((char *)p) + start, end - start, MADV_POPULATE_READ)) {
420 perror("madvise(MADV_POPULATE_READ");
/linux-master/include/uapi/asm-generic/
H A Dmman-common.h75 #define MADV_POPULATE_READ 22 /* populate (prefault) page tables readable */ macro
/linux-master/tools/include/uapi/asm-generic/
H A Dmman-common.h75 #define MADV_POPULATE_READ 22 /* populate (prefault) page tables readable */ macro
/linux-master/arch/alpha/include/uapi/asm/
H A Dmman.h74 #define MADV_POPULATE_READ 22 /* populate (prefault) page tables readable */ macro
/linux-master/arch/xtensa/include/uapi/asm/
H A Dmman.h109 #define MADV_POPULATE_READ 22 /* populate (prefault) page tables readable */ macro
/linux-master/arch/parisc/include/uapi/asm/
H A Dmman.h68 #define MADV_POPULATE_READ 22 /* populate (prefault) page tables readable */ macro
/linux-master/arch/mips/include/uapi/asm/
H A Dmman.h101 #define MADV_POPULATE_READ 22 /* populate (prefault) page tables readable */ macro
/linux-master/mm/
H A Dmadvise.c60 case MADV_POPULATE_READ:
1024 case MADV_POPULATE_READ:
1159 case MADV_POPULATE_READ:
1367 * MADV_POPULATE_READ - populate (prefault) page tables readable by

Completed in 280 milliseconds