/openbmc/linux/tools/testing/selftests/mm/ |
H A D | hugetlb-madvise.c | 136 MADV_DONTNEED); in main() 145 MADV_DONTNEED); in main() 171 MADV_DONTNEED); in main() 181 MADV_DONTNEED)) { in main() 206 if (madvise(addr, NR_HUGE_PAGES * huge_page_size, MADV_DONTNEED)) { in main() 238 if (madvise(addr, NR_HUGE_PAGES * huge_page_size, MADV_DONTNEED)) { in main() 249 if (madvise(addr, NR_HUGE_PAGES * huge_page_size, MADV_DONTNEED)) { in main() 297 if (madvise(addr, NR_HUGE_PAGES * huge_page_size, MADV_DONTNEED)) { in main() 353 if (madvise(addr, NR_HUGE_PAGES * huge_page_size, MADV_DONTNEED)) { in main() 360 if (madvise(addr2, NR_HUGE_PAGES * huge_page_size, MADV_DONTNEED)) { in main()
|
H A D | transhuge-stress.c | 116 if (madvise(p, HPAGE_SIZE - psize(), MADV_DONTNEED)) in main()
|
H A D | uffd-unit-tests.c | 374 if (madvise(area_dst, page_size, MADV_DONTNEED)) in uffd_wp_unpopulated_test() 384 if (madvise(area_dst, page_size, MADV_DONTNEED)) in uffd_wp_unpopulated_test() 391 if (madvise(area_dst, page_size, MADV_DONTNEED)) in uffd_wp_unpopulated_test() 432 if (madvise(area_dst, page_size, MADV_DONTNEED)) in uffd_wp_fork_test_common()
|
H A D | uffd-common.c | 44 if (madvise(rel_area, nr_pages * page_size, MADV_DONTNEED)) in anon_release_pages() 66 if (madvise(rel_area, nr_pages * page_size, MADV_DONTNEED)) in hugetlb_release_pages()
|
H A D | ksm_functional_tests.c | 319 if (madvise(map, size / 2, MADV_DONTNEED)) { in test_unmerge_discarded()
|
/openbmc/qemu/tests/tcg/multiarch/linux/ |
H A D | linux-madvise.c | 21 ret = madvise(page, pagesize, MADV_DONTNEED); in test_anonymous() 56 ret = madvise(page, pagesize, MADV_DONTNEED); in test_file()
|
/openbmc/linux/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); in usr_signal_handler() 138 if (madvise(ss.ss_sp, SIGSTKSZ, MADV_DONTNEED)) { in tm_trap_test()
|
/openbmc/linux/tools/arch/xtensa/include/uapi/asm/ |
H A D | mman.h | 8 #define MADV_DONTNEED 4 macro
|
/openbmc/linux/tools/arch/alpha/include/uapi/asm/ |
H A D | mman.h | 8 #define MADV_DONTNEED 6 macro
|
/openbmc/linux/tools/arch/mips/include/uapi/asm/ |
H A D | mman.h | 8 #define MADV_DONTNEED 4 macro
|
/openbmc/linux/tools/arch/parisc/include/uapi/asm/ |
H A D | mman.h | 8 #define MADV_DONTNEED 4 macro
|
/openbmc/qemu/linux-headers/asm-generic/ |
H A D | mman-common.h | 49 #define MADV_DONTNEED 4 /* don't need these pages */ macro
|
/openbmc/linux/tools/include/uapi/asm-generic/ |
H A D | mman-common.h | 49 #define MADV_DONTNEED 4 /* don't need these pages */ macro
|
/openbmc/linux/include/uapi/asm-generic/ |
H A D | mman-common.h | 49 #define MADV_DONTNEED 4 /* don't need these pages */ macro
|
/openbmc/linux/arch/xtensa/include/uapi/asm/ |
H A D | mman.h | 85 #define MADV_DONTNEED 4 /* don't need these pages */ macro
|
/openbmc/linux/arch/parisc/include/uapi/asm/ |
H A D | mman.h | 44 #define MADV_DONTNEED 4 /* don't need these pages */ macro
|
/openbmc/linux/arch/alpha/include/uapi/asm/ |
H A D | mman.h | 50 #define MADV_DONTNEED 6 /* don't need these pages */ macro
|
/openbmc/linux/arch/mips/include/uapi/asm/ |
H A D | mman.h | 76 #define MADV_DONTNEED 4 /* don't need these pages */ macro
|
/openbmc/qemu/linux-headers/asm-mips/ |
H A D | mman.h | 76 #define MADV_DONTNEED 4 /* don't need these pages */ macro
|
/openbmc/qemu/include/qemu/ |
H A D | madvise.h | 16 #define QEMU_MADV_DONTNEED MADV_DONTNEED
|
/openbmc/linux/mm/ |
H A D | madvise.c | 55 case MADV_DONTNEED: in madvise_need_mmap_write() 843 if (behavior != MADV_DONTNEED && behavior != MADV_DONTNEED_LOCKED) in madvise_dontneed_free_valid_vma() 905 if (behavior == MADV_DONTNEED || behavior == MADV_DONTNEED_LOCKED) in madvise_dontneed_free() 1030 case MADV_DONTNEED: in madvise_vma_behavior() 1163 case MADV_DONTNEED: in madvise_behavior_valid()
|
/openbmc/linux/tools/testing/selftests/powerpc/signal/ |
H A D | sigfuz.c | 113 madvise(ucp->uc_link, sizeof(ucontext_t), MADV_DONTNEED); in trap_signal_handler()
|
/openbmc/linux/tools/testing/selftests/mincore/ |
H A D | mincore_selftest.c | 119 madvise(addr, page_size, MADV_DONTNEED); in TEST()
|
/openbmc/qemu/linux-user/ |
H A D | mmap.c | 1213 advice = MADV_DONTNEED; in target_madvise() 1250 case MADV_DONTNEED: in target_madvise() 1253 if ((advice == MADV_DONTNEED) && (ret == 0)) { in target_madvise()
|
/openbmc/qemu/bsd-user/ |
H A D | bsd-mem.h | 173 case MADV_DONTNEED: in do_bsd_madvise()
|