madvise 183 arch/um/os-Linux/process.c err = madvise(addr, length, MADV_REMOVE); madvise 210 arch/um/os-Linux/process.c if (madvise(addr, UM_KERN_PAGE_SIZE, MADV_REMOVE) != 0) { madvise 546 drivers/gpu/drm/panfrost/panfrost_drv.c PANFROST_IOCTL(MADVISE, madvise, DRM_RENDER_ALLOW), madvise 282 kernel/sys_ni.c COND_SYSCALL(madvise); madvise 1053 mm/madvise.c SYSCALL_DEFINE3(madvise, unsigned long, start, size_t, len_in, int, behavior) madvise 393 tools/perf/bench/numa.c ret = madvise(buf, bytes, MADV_HUGEPAGE); madvise 400 tools/perf/bench/numa.c ret = madvise(buf, bytes, MADV_NOHUGEPAGE); madvise 661 tools/testing/selftests/kvm/lib/kvm_util.c ret = madvise(region->host_mem, npages * vm->page_size, madvise 113 tools/testing/selftests/powerpc/signal/sigfuz.c madvise(ucp->uc_link, sizeof(ucontext_t), MADV_DONTNEED); madvise 68 tools/testing/selftests/powerpc/tm/tm-signal-context-force-tm.c ret = madvise(ucp->uc_link, sizeof(ucontext_t), MADV_DONTNEED); madvise 141 tools/testing/selftests/powerpc/tm/tm-signal-context-force-tm.c if (madvise(ss.ss_sp, SIGSTKSZ, MADV_DONTNEED)) { madvise 100 tools/testing/selftests/vm/gup_benchmark.c madvise(p, size, MADV_HUGEPAGE); madvise 102 tools/testing/selftests/vm/gup_benchmark.c madvise(p, size, MADV_NOHUGEPAGE); madvise 40 tools/testing/selftests/vm/transhuge-stress.c if (madvise(ptr, HPAGE_SIZE, MADV_HUGEPAGE)) madvise 95 tools/testing/selftests/vm/transhuge-stress.c if (madvise(ptr, len, MADV_HUGEPAGE)) madvise 133 tools/testing/selftests/vm/transhuge-stress.c if (madvise(p, HPAGE_SIZE - PAGE_SIZE, MADV_DONTNEED)) madvise 132 tools/testing/selftests/vm/userfaultfd.c if (madvise(rel_area, nr_pages * page_size, MADV_DONTNEED)) { madvise 223 tools/testing/selftests/vm/userfaultfd.c if (madvise(rel_area, nr_pages * page_size, MADV_REMOVE)) { madvise 790 tools/testing/selftests/x86/protection_keys.c ret = madvise(ptr, HPAGE_SIZE, MADV_HUGEPAGE); madvise 792 tools/testing/selftests/x86/protection_keys.c ret = madvise(ptr, HPAGE_SIZE, MADV_WILLNEED); madvise 1329 tools/testing/selftests/x86/protection_keys.c madvise(p1, PAGE_SIZE, MADV_DONTNEED); madvise 1355 tools/testing/selftests/x86/protection_keys.c madvise(p1, PAGE_SIZE, MADV_DONTNEED); madvise 1384 tools/testing/selftests/x86/protection_keys.c madvise(p1, PAGE_SIZE, MADV_DONTNEED); madvise 998 tools/vm/page-types.c if (madvise(ptr, len, MADV_RANDOM)) madvise 1016 tools/vm/page-types.c if (madvise(ptr, len, MADV_SEQUENTIAL))