/third_party/ltp/include/lapi/ |
H A D | mmap.h | 65 #ifndef MADV_FREE 66 # define MADV_FREE 8 macro
|
/third_party/ltp/testcases/kernel/syscalls/madvise/ |
H A D | madvise02.c | 19 * 8|9. The MADV_FREE & MADV_WIPEONFORK operation can be applied 77 {MADV_FREE, "MADV_FREE", &file1, EINVAL, 0}, 112 case MADV_FREE: in tcases_filter()
|
H A D | madvise01.c | 54 {MADV_FREE, "MADV_FREE", &amem}, /* since Linux 4.5 */
|
H A D | madvise09.c | 7 * Check that memory marked with MADV_FREE is freed on memory pressure. 13 * o Madvise pages with MADV_FREE 32 * o Once the child is killed the MADV_FREE pages that were not written to 172 if (madvise(ptr, PAGES * page_size, MADV_FREE)) { in child() 174 tst_brk(TCONF | TERRNO, "MADV_FREE is not supported"); in child() 176 tst_brk(TBROK | TERRNO, "MADV_FREE failed"); in child() 180 tst_res(TFAIL, "MADV_FREE pages were freed immediately"); in child() 182 tst_res(TPASS, "MADV_FREE pages were not freed immediately"); in child() 245 tst_res(TPASS, "Pages MADV_FREE were freed on low memory"); in child() 247 tst_res(TFAIL, "No MADV_FREE pag in child() [all...] |
/third_party/pcre2/pcre2/src/sljit/ |
H A D | sljitUtils.c | 331 #ifdef MADV_FREE in sljit_stack_resize() 332 madvise((void*)aligned_old_start, aligned_new_start - aligned_old_start, MADV_FREE); in sljit_stack_resize() 333 #endif /* MADV_FREE */ in sljit_stack_resize()
|
/third_party/node/deps/v8/src/base/platform/ |
H A D | platform-posix.cc | 83 #ifndef MADV_FREE 84 #define MADV_FREE MADV_DONTNEED macro 516 // On OSX, MADV_FREE_REUSABLE has comparable behavior to MADV_FREE, but also in DiscardSystemPages() 525 int ret = madvise(reinterpret_cast<caddr_t>(address), size, MADV_FREE); in DiscardSystemPages() 1258 #undef MADV_FREE macro
|
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/ |
H A D | mman.h | 78 #define MADV_FREE 8 macro
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | mman.h | 83 #define MADV_FREE 8 macro
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | mman.h | 83 #define MADV_FREE 8 macro
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
H A D | mman.h | 87 #define MADV_FREE 8 macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
H A D | mman.h | 83 #define MADV_FREE 8 macro
|
/third_party/musl/include/sys/ |
H A D | mman.h | 84 #define MADV_FREE 8 macro
|
/third_party/musl/src/malloc/mallocng/ |
H A D | free.c | 124 madvise(base, len, MADV_FREE); in free()
|
/third_party/rust/crates/rustix/src/backend/linux_raw/mm/ |
H A D | types.rs | 161 /// `MADV_FREE` (since Linux 4.5) 162 LinuxFree = linux_raw_sys::general::MADV_FREE,
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | shm.c | 344 #ifdef MADV_FREE in pa_shm_punch() 345 if (madvise(ptr, size, MADV_FREE) >= 0) in pa_shm_punch()
|
/third_party/musl/Benchmark/musl/ |
H A D | libc_mman.cpp | 71 MADV_FREE,
|
/third_party/rust/crates/rustix/src/backend/libc/mm/ |
H A D | types.rs | 345 /// `MADV_FREE` 347 LinuxFree = c::MADV_FREE,
|
/third_party/rust/crates/nix/src/sys/ |
H A D | mman.rs | 285 MADV_FREE, 497 /// [`MmapAdvise::MADV_FREE`].
|
/third_party/python/Modules/ |
H A D | mmapmodule.c | 1736 #ifdef MADV_FREE // (Also present on FreeBSD and macOS.) in mmap_exec() 1737 ADD_INT_MACRO(module, MADV_FREE); in mmap_exec() 1758 #ifdef MADV_FREE_REUSABLE // (As MADV_FREE but reclaims more faithful for task_info/Activity Monitor...) in mmap_exec()
|
/third_party/rust/crates/libc/src/unix/bsd/netbsdlike/ |
H A D | mod.rs | 420 pub const MADV_FREE: ::c_int = 6; consts
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/ |
H A D | mod.rs | 842 pub const MADV_FREE: ::c_int = 5; consts
|
/third_party/rust/crates/libc/src/unix/linux_like/ |
H A D | mod.rs | 647 pub const MADV_FREE: ::c_int = 8; consts
|
/third_party/rust/crates/libc/src/unix/haiku/ |
H A D | mod.rs | 962 pub const MADV_FREE: ::c_int = 6; consts
|
/third_party/rust/crates/libc/src/unix/solarish/ |
H A D | mod.rs | 1693 pub const MADV_FREE: ::c_int = 5; consts
|
/third_party/rust/crates/linux-raw-sys/src/aarch64/ |
H A D | general.rs | 986 pub const MADV_FREE: u32 = 8; consts
|