Searched refs:MADV_FREE (Results 1 – 16 of 16) sorted by relevance
/freebsd/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_mincore.c | 259 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/crypto/openssh/ |
H A D | sandbox-seccomp-filter.c | 315 # ifdef MADV_FREE 316 SC_ALLOW_ARG(__NR_madvise, 2, MADV_FREE),
|
/freebsd/contrib/jemalloc/src/ |
H A D | pages.c | 314 # ifdef MADV_FREE in pages_purge_lazy() 315 MADV_FREE in pages_purge_lazy()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_platform.h | 414 # define SANITIZER_MADVISE_DONTNEED MADV_FREE
|
/freebsd/sys/sys/ |
H A D | mman.h | 162 #define MADV_FREE 5 /* dont need these pages, and junk contents */ macro
|
/freebsd/sys/compat/linux/ |
H A D | linux_mmap.c | 356 return (kern_madvise(td, addr, len, MADV_FREE)); in linux_madvise_common()
|
/freebsd/sys/vm/ |
H A D | vm_object.c | 1290 if (advice != MADV_FREE) in vm_object_advice_applies() 1301 if (advice == MADV_FREE) in vm_object_madvise_freespace()
|
H A D | vm_map.c | 3052 case MADV_FREE: in vm_map_madvise() 3144 * MADV_FREE would otherwise rewind time to in vm_map_madvise() 3150 if (behav == MADV_FREE && in vm_map_madvise() 3182 if (behav == MADV_DONTNEED || behav == MADV_FREE) in vm_map_madvise()
|
H A D | vm_page.c | 4704 if (advice == MADV_FREE) in vm_page_advise() 4718 if (advice != MADV_FREE && m->dirty == 0 && pmap_is_modified(m)) in vm_page_advise()
|
/freebsd/tests/sys/posixshm/ |
H A D | posixshm_test.c | 1560 largepage_madvise(addr, ps[0], MADV_FREE, 0); in ATF_TC_BODY() 1561 largepage_madvise(addr, ps[i], MADV_FREE, 0); in ATF_TC_BODY()
|
/freebsd/contrib/jemalloc/ |
H A D | ChangeLog | 315 madvise(... MADV_FREE) semantics, and the second phase transition discards 530 - Refactor madvise(2) configuration so that MADV_FREE is detected and utilized 1007 - Configure Solaris/Illumos to use MADV_FREE.
|
/freebsd/sys/kern/ |
H A D | kern_exec.c | 1458 MADV_FREE); in exec_release_args_kva()
|
/freebsd/sys/i386/i386/ |
H A D | pmap.c | 3510 * after MADV_FREE, conditionally write protect a clean PTE before in pmap_promote_pde() 3512 * Suppose that MADV_FREE is applied to a part of a superpage, the in pmap_promote_pde() 5294 if (advice != MADV_DONTNEED && advice != MADV_FREE) in __CONCAT()
|
/freebsd/sys/powerpc/aim/ |
H A D | mmu_radix.c | 2230 if (advice != MADV_DONTNEED && advice != MADV_FREE) in mmu_radix_advise()
|
/freebsd/sys/arm64/arm64/ |
H A D | pmap.c | 7501 if (advice != MADV_DONTNEED && advice != MADV_FREE) in pmap_advise()
|
/freebsd/sys/amd64/amd64/ |
H A D | pmap.c | 9205 if (advice != MADV_DONTNEED && advice != MADV_FREE) in pmap_advise()
|