Lines Matching refs:madvise
753 ret = madvise(mem, pagesize, MADV_NOHUGEPAGE); in do_run_with_base_page()
764 madvise(mem, pagesize, MADV_PAGEOUT); in do_run_with_base_page()
817 ret = madvise(mem, thpsize, MADV_HUGEPAGE); in do_run_with_thp()
864 ret = madvise(mem + pagesize, thpsize - pagesize, MADV_DONTNEED); in do_run_with_thp()
897 ret = madvise(mem + pagesize, thpsize - pagesize, MADV_DONTFORK); in do_run_with_thp()
911 ret = madvise(mem + pagesize, thpsize - pagesize, MADV_DOFORK); in do_run_with_thp()
925 madvise(mem, size, MADV_PAGEOUT); in do_run_with_thp()
1251 ret = madvise(mem, size, MADV_COLLAPSE); in do_test_anon_thp_collapse()
1263 ret = madvise(mem + size / 2, size / 2, MADV_DONTFORK); in do_test_anon_thp_collapse()
1271 ret = madvise(mem, size / 2, MADV_DONTFORK); in do_test_anon_thp_collapse()
1315 ret = madvise(mem, size, MADV_DOFORK); in do_test_anon_thp_collapse()
1325 ret = madvise(mem, size, MADV_COLLAPSE); in do_test_anon_thp_collapse()
1533 ret = madvise(mem, pmdsize, MADV_HUGEPAGE); in run_with_huge_zeropage()
1534 ret |= madvise(smem, pmdsize, MADV_HUGEPAGE); in run_with_huge_zeropage()