/linux-master/tools/testing/selftests/mm/ |
H A D | hugetlb-madvise.c | 5 * Basic functional testing of madvise MADV_DONTNEED and MADV_REMOVE 92 * Test validity of MADV_DONTNEED addr and length arguments. mmap 118 MADV_DONTNEED); 127 MADV_DONTNEED); 137 * Test alignment of MADV_DONTNEED addr and length arguments 153 MADV_DONTNEED); 163 MADV_DONTNEED)) { 175 * Test MADV_DONTNEED on anonymous private mapping 188 if (madvise(addr, NR_HUGE_PAGES * huge_page_size, MADV_DONTNEED)) { 199 * Test MADV_DONTNEED o [all...] |
H A D | hugetlb_fault_after_madv.c | 33 madvise(huge_ptr, MMAP_SIZE, MADV_DONTNEED);
|
H A D | hugetlb_madv_vs_map.c | 8 * * madvise(MADV_DONTNEED) on the allocated huge page 47 madvise(huge_ptr, MMAP_SIZE, MADV_DONTNEED);
|
H A D | transhuge-stress.c | 122 if (madvise(p, HPAGE_SIZE - psize(), MADV_DONTNEED)) 123 ksft_exit_fail_msg("MADV_DONTNEED");
|
H A D | uffd-unit-tests.c | 379 if (madvise(area_dst, page_size, MADV_DONTNEED)) 380 err("madvise(MADV_DONTNEED) failed"); 389 if (madvise(area_dst, page_size, MADV_DONTNEED)) 390 err("madvise(MADV_DONTNEED) failed"); 396 if (madvise(area_dst, page_size, MADV_DONTNEED)) 397 err("madvise(MADV_DONTNEED) failed"); 437 if (madvise(area_dst, page_size, MADV_DONTNEED)) 438 err("MADV_DONTNEED");
|
H A D | uffd-common.c | 45 if (madvise(rel_area, nr_pages * page_size, MADV_DONTNEED)) 46 err("madvise(MADV_DONTNEED) failed"); 67 if (madvise(rel_area, nr_pages * page_size, MADV_DONTNEED)) 68 err("madvise(MADV_DONTNEED) failed");
|
H A D | protection_keys.c | 1466 madvise(p1, PAGE_SIZE, MADV_DONTNEED); 1492 madvise(p1, PAGE_SIZE, MADV_DONTNEED); 1526 madvise(p1, PAGE_SIZE, MADV_DONTNEED);
|
H A D | ksm_functional_tests.c | 320 if (madvise(map, size / 2, MADV_DONTNEED)) { 321 ksft_test_result_fail("MADV_DONTNEED failed\n");
|
H A D | khugepaged.c | 634 madvise(p, page_size, MADV_DONTNEED); 635 printf("Split huge PMD on MADV_DONTNEED..."); 793 /* MADV_DONTNEED won't evict tmpfs pages */ 801 madvise(p + page_size, hpage_pmd_size - page_size, MADV_DONTNEED);
|
/linux-master/tools/arch/alpha/include/uapi/asm/ |
H A D | mman.h | 8 #define MADV_DONTNEED 6 macro
|
/linux-master/tools/arch/mips/include/uapi/asm/ |
H A D | mman.h | 8 #define MADV_DONTNEED 4 macro
|
/linux-master/tools/arch/xtensa/include/uapi/asm/ |
H A D | mman.h | 8 #define MADV_DONTNEED 4 macro
|
/linux-master/include/uapi/asm-generic/ |
H A D | mman-common.h | 49 #define MADV_DONTNEED 4 /* don't need these pages */ macro
|
/linux-master/tools/include/uapi/asm-generic/ |
H A D | mman-common.h | 49 #define MADV_DONTNEED 4 /* don't need these pages */ macro
|
/linux-master/tools/arch/parisc/include/uapi/asm/ |
H A D | mman.h | 8 #define MADV_DONTNEED 4 macro
|
/linux-master/tools/testing/selftests/powerpc/tm/ |
H A D | tm-signal-context-force-tm.c | 69 ret = madvise(ucp->uc_link, sizeof(ucontext_t), MADV_DONTNEED); 138 if (madvise(ss.ss_sp, SIGSTKSZ, MADV_DONTNEED)) {
|
/linux-master/arch/alpha/include/uapi/asm/ |
H A D | mman.h | 50 #define MADV_DONTNEED 6 /* don't need these pages */ macro
|
/linux-master/arch/xtensa/include/uapi/asm/ |
H A D | mman.h | 85 #define MADV_DONTNEED 4 /* don't need these pages */ macro
|
/linux-master/arch/parisc/include/uapi/asm/ |
H A D | mman.h | 44 #define MADV_DONTNEED 4 /* don't need these pages */ macro
|
/linux-master/arch/mips/include/uapi/asm/ |
H A D | mman.h | 76 #define MADV_DONTNEED 4 /* don't need these pages */ macro
|
/linux-master/mm/ |
H A D | madvise.c | 55 case MADV_DONTNEED: 834 if (behavior != MADV_DONTNEED && behavior != MADV_DONTNEED_LOCKED) 896 if (behavior == MADV_DONTNEED || behavior == MADV_DONTNEED_LOCKED) 1021 case MADV_DONTNEED: 1154 case MADV_DONTNEED: 1334 * MADV_DONTNEED - the application is finished with the given range,
|
/linux-master/tools/testing/selftests/powerpc/signal/ |
H A D | sigfuz.c | 113 madvise(ucp->uc_link, sizeof(ucontext_t), MADV_DONTNEED);
|
/linux-master/tools/testing/selftests/mincore/ |
H A D | mincore_selftest.c | 119 madvise(addr, page_size, MADV_DONTNEED);
|
/linux-master/tools/testing/selftests/net/ |
H A D | tcp_mmap.c | 241 madvise(addr, zc.length, MADV_DONTNEED);
|
/linux-master/tools/testing/selftests/x86/ |
H A D | test_shadow_stack.c | 129 return madvise(shstk, SS_SIZE, MADV_DONTNEED);
|