Home
last modified time | relevance | path

Searched refs:MADV_DONTNEED (Results 1 – 25 of 41) sorted by relevance

12

/openbmc/linux/tools/testing/selftests/mm/
H A Dhugetlb-madvise.c136 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 Dtranshuge-stress.c116 if (madvise(p, HPAGE_SIZE - psize(), MADV_DONTNEED)) in main()
H A Duffd-unit-tests.c374 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 Duffd-common.c44 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 Dksm_functional_tests.c319 if (madvise(map, size / 2, MADV_DONTNEED)) { in test_unmerge_discarded()
/openbmc/qemu/tests/tcg/multiarch/linux/
H A Dlinux-madvise.c21 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 Dtm-signal-context-force-tm.c69 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 Dmman.h8 #define MADV_DONTNEED 4 macro
/openbmc/linux/tools/arch/alpha/include/uapi/asm/
H A Dmman.h8 #define MADV_DONTNEED 6 macro
/openbmc/linux/tools/arch/mips/include/uapi/asm/
H A Dmman.h8 #define MADV_DONTNEED 4 macro
/openbmc/linux/tools/arch/parisc/include/uapi/asm/
H A Dmman.h8 #define MADV_DONTNEED 4 macro
/openbmc/qemu/linux-headers/asm-generic/
H A Dmman-common.h49 #define MADV_DONTNEED 4 /* don't need these pages */ macro
/openbmc/linux/tools/include/uapi/asm-generic/
H A Dmman-common.h49 #define MADV_DONTNEED 4 /* don't need these pages */ macro
/openbmc/linux/include/uapi/asm-generic/
H A Dmman-common.h49 #define MADV_DONTNEED 4 /* don't need these pages */ macro
/openbmc/linux/arch/xtensa/include/uapi/asm/
H A Dmman.h85 #define MADV_DONTNEED 4 /* don't need these pages */ macro
/openbmc/linux/arch/parisc/include/uapi/asm/
H A Dmman.h44 #define MADV_DONTNEED 4 /* don't need these pages */ macro
/openbmc/linux/arch/alpha/include/uapi/asm/
H A Dmman.h50 #define MADV_DONTNEED 6 /* don't need these pages */ macro
/openbmc/linux/arch/mips/include/uapi/asm/
H A Dmman.h76 #define MADV_DONTNEED 4 /* don't need these pages */ macro
/openbmc/qemu/linux-headers/asm-mips/
H A Dmman.h76 #define MADV_DONTNEED 4 /* don't need these pages */ macro
/openbmc/qemu/include/qemu/
H A Dmadvise.h16 #define QEMU_MADV_DONTNEED MADV_DONTNEED
/openbmc/linux/mm/
H A Dmadvise.c55 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 Dsigfuz.c113 madvise(ucp->uc_link, sizeof(ucontext_t), MADV_DONTNEED); in trap_signal_handler()
/openbmc/linux/tools/testing/selftests/mincore/
H A Dmincore_selftest.c119 madvise(addr, page_size, MADV_DONTNEED); in TEST()
/openbmc/qemu/linux-user/
H A Dmmap.c1213 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 Dbsd-mem.h173 case MADV_DONTNEED: in do_bsd_madvise()

12