Lines Matching refs:madvise
751 ret = madvise(mem, pagesize, MADV_NOHUGEPAGE); in do_run_with_base_page()
762 madvise(mem, pagesize, MADV_PAGEOUT); in do_run_with_base_page()
815 ret = madvise(mem, thpsize, MADV_HUGEPAGE); in do_run_with_thp()
860 ret = madvise(mem + pagesize, thpsize - pagesize, MADV_DONTNEED); in do_run_with_thp()
893 ret = madvise(mem + pagesize, thpsize - pagesize, MADV_DONTFORK); in do_run_with_thp()
907 ret = madvise(mem + pagesize, thpsize - pagesize, MADV_DOFORK); in do_run_with_thp()
921 madvise(mem, size, MADV_PAGEOUT); in do_run_with_thp()
1226 ret = madvise(mem, size, MADV_COLLAPSE); in do_test_anon_thp_collapse()
1238 ret = madvise(mem + size / 2, size / 2, MADV_DONTFORK); in do_test_anon_thp_collapse()
1246 ret = madvise(mem, size / 2, MADV_DONTFORK); in do_test_anon_thp_collapse()
1290 ret = madvise(mem, size, MADV_DOFORK); in do_test_anon_thp_collapse()
1300 ret = madvise(mem, size, MADV_COLLAPSE); in do_test_anon_thp_collapse()
1500 ret = madvise(mem, thpsize, MADV_HUGEPAGE); in run_with_huge_zeropage()
1501 ret |= madvise(smem, thpsize, MADV_HUGEPAGE); in run_with_huge_zeropage()