| /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/contrib/jemalloc/include/jemalloc/internal/ |
| H A D | jemalloc_internal_defs.h.in | 288 * 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 D | pages.c | 449 # ifdef MADV_FREE in os_overcommits_sysctl() 450 MADV_FREE in os_overcommits_sysctl()
|
| /freebsd/crypto/openssh/ |
| H A D | sandbox-seccomp-filter.c | 343 # ifdef MADV_FREE 344 SC_ALLOW_ARG(__NR_madvise, 2, MADV_FREE),
|
| /freebsd/sys/sys/ |
| H A D | mman.h | 164 #define MADV_FREE 5 /* dont need these pages, and junk contents */ macro
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_platform.h | 431 # define SANITIZER_MADVISE_DONTNEED MADV_FREE
|
| /freebsd/sys/compat/linux/ |
| H A D | linux_mmap.c | 360 return (kern_madvise(td, addr, len, MADV_FREE)); in linux_madvise_common()
|
| /freebsd/contrib/jemalloc/ |
| H A D | INSTALL.md | 318 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 D | configure.ac | 2216 dnl Check for madvise(..., MADV_FREE). 2217 JE_COMPILABLE([madvise(..., MADV_FREE)], [ 2220 madvise((void *)0, 0, MADV_FREE);
|
| H A D | ChangeLog | 415 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 D | vm_object.c | 1272 if (advice != MADV_FREE) in vm_object_advice_applies() 1283 if (advice == MADV_FREE) in vm_object_madvise_freespace()
|
| H A D | vm_map.c | 3075 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 D | vm_page.c | 4643 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 D | posixshm_test.c | 1557 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 D | kern_exec.c | 1476 MADV_FREE); in exec_release_args_kva()
|
| /freebsd/sys/arm/arm/ |
| H A D | pmap-v6.c | 5603 if (advice != MADV_DONTNEED && advice != MADV_FREE) in pmap_advise()
|
| /freebsd/sys/i386/i386/ |
| H A D | pmap.c | 5293 if (advice != MADV_DONTNEED && advice != MADV_FREE) in __CONCAT()
|
| /freebsd/sys/powerpc/aim/ |
| H A D | mmu_radix.c | 2229 if (advice != MADV_DONTNEED && advice != MADV_FREE) in mmu_radix_advise()
|
| /freebsd/sys/arm64/arm64/ |
| H A D | pmap.c | 7787 if (advice != MADV_DONTNEED && advice != MADV_FREE) in pmap_advise()
|
| /freebsd/sys/amd64/amd64/ |
| H A D | pmap.c | 9153 if (advice != MADV_DONTNEED && advice != MADV_FREE) in pmap_advise()
|