Home
last modified time | relevance | path

Searched refs:MADV_FREE (Results 1 – 20 of 20) sorted by relevance

/freebsd/contrib/netbsd-tests/lib/libc/sys/
H A Dt_mincore.c259 ATF_REQUIRE(madvise(addr2, npgs * page, MADV_FREE) == 0); in ATF_TC_BODY()
266 ATF_REQUIRE(madvise(addr, npgs * page, MADV_FREE) == 0); in ATF_TC_BODY()
308 ATF_REQUIRE(madvise(addr, npgs * page, MADV_FREE) == 0); in ATF_TC_BODY()
/freebsd/contrib/jemalloc/include/jemalloc/internal/
H A Djemalloc_internal_defs.h.in288 * madvise(..., MADV_FREE) : This marks pages as being unused, such that they
295 * MADV_FREE, though typically with higher
302 /* Defined if madvise(2) is available but MADV_FREE is not (x86 Linux only). */
/freebsd/contrib/jemalloc/src/
H A Dpages.c449 # ifdef MADV_FREE in os_overcommits_sysctl()
450 MADV_FREE in os_overcommits_sysctl()
/freebsd/crypto/openssh/
H A Dsandbox-seccomp-filter.c343 # ifdef MADV_FREE
344 SC_ALLOW_ARG(__NR_madvise, 2, MADV_FREE),
/freebsd/sys/sys/
H A Dmman.h164 #define MADV_FREE 5 /* dont need these pages, and junk contents */ macro
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform.h431 # define SANITIZER_MADVISE_DONTNEED MADV_FREE
/freebsd/sys/compat/linux/
H A Dlinux_mmap.c360 return (kern_madvise(td, addr, len, MADV_FREE)); in linux_madvise_common()
/freebsd/contrib/jemalloc/
H A DINSTALL.md318 not match reality. For example, Linux 4.5 added support for the MADV_FREE flag
319 to madvise(2), which can cause problems if building on a host with MADV_FREE
H A Dconfigure.ac2216 dnl Check for madvise(..., MADV_FREE).
2217 JE_COMPILABLE([madvise(..., MADV_FREE)], [
2220 madvise((void *)0, 0, MADV_FREE);
H A DChangeLog415 madvise(... MADV_FREE) semantics, and the second phase transition discards
630 - Refactor madvise(2) configuration so that MADV_FREE is detected and utilized
1107 - Configure Solaris/Illumos to use MADV_FREE.
/freebsd/sys/vm/
H A Dvm_object.c1272 if (advice != MADV_FREE) in vm_object_advice_applies()
1283 if (advice == MADV_FREE) in vm_object_madvise_freespace()
H A Dvm_map.c3075 case MADV_FREE: in vm_map_madvise()
3173 if (behav == MADV_FREE && in vm_map_madvise()
3205 if (behav == MADV_DONTNEED || behav == MADV_FREE) in vm_map_madvise()
H A Dvm_page.c4643 if (advice == MADV_FREE) in vm_page_advise()
4657 if (advice != MADV_FREE && m->dirty == 0 && pmap_is_modified(m)) in vm_page_advise()
/freebsd/tests/sys/posixshm/
H A Dposixshm_test.c1557 largepage_madvise(addr, ps[0], MADV_FREE, 0); in ATF_TC_BODY()
1558 largepage_madvise(addr, ps[i], MADV_FREE, 0); in ATF_TC_BODY()
/freebsd/sys/kern/
H A Dkern_exec.c1476 MADV_FREE); in exec_release_args_kva()
/freebsd/sys/arm/arm/
H A Dpmap-v6.c5603 if (advice != MADV_DONTNEED && advice != MADV_FREE) in pmap_advise()
/freebsd/sys/i386/i386/
H A Dpmap.c5293 if (advice != MADV_DONTNEED && advice != MADV_FREE) in __CONCAT()
/freebsd/sys/powerpc/aim/
H A Dmmu_radix.c2229 if (advice != MADV_DONTNEED && advice != MADV_FREE) in mmu_radix_advise()
/freebsd/sys/arm64/arm64/
H A Dpmap.c7787 if (advice != MADV_DONTNEED && advice != MADV_FREE) in pmap_advise()
/freebsd/sys/amd64/amd64/
H A Dpmap.c9153 if (advice != MADV_DONTNEED && advice != MADV_FREE) in pmap_advise()