Home
last modified time | relevance | path

Searched refs:MADV_FREE (Results 1 - 25 of 40) sorted by relevance

12

/third_party/ltp/include/lapi/
H A Dmmap.h65 #ifndef MADV_FREE
66 # define MADV_FREE 8 macro
/third_party/ltp/testcases/kernel/syscalls/madvise/
H A Dmadvise02.c19 * 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 Dmadvise01.c54 {MADV_FREE, "MADV_FREE", &amem}, /* since Linux 4.5 */
H A Dmadvise09.c7 * 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 DsljitUtils.c331 #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 Dplatform-posix.cc83 #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 Dmman.h78 #define MADV_FREE 8 macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dmman.h83 #define MADV_FREE 8 macro
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dmman.h83 #define MADV_FREE 8 macro
/third_party/musl/porting/liteos_a/kernel/include/sys/
H A Dmman.h87 #define MADV_FREE 8 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dmman.h83 #define MADV_FREE 8 macro
/third_party/musl/include/sys/
H A Dmman.h84 #define MADV_FREE 8 macro
/third_party/musl/src/malloc/mallocng/
H A Dfree.c124 madvise(base, len, MADV_FREE); in free()
/third_party/rust/crates/rustix/src/backend/linux_raw/mm/
H A Dtypes.rs161 /// `MADV_FREE` (since Linux 4.5)
162 LinuxFree = linux_raw_sys::general::MADV_FREE,
/third_party/pulseaudio/src/pulsecore/
H A Dshm.c344 #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 Dlibc_mman.cpp71 MADV_FREE,
/third_party/rust/crates/rustix/src/backend/libc/mm/
H A Dtypes.rs345 /// `MADV_FREE`
347 LinuxFree = c::MADV_FREE,
/third_party/rust/crates/nix/src/sys/
H A Dmman.rs285 MADV_FREE,
497 /// [`MmapAdvise::MADV_FREE`].
/third_party/python/Modules/
H A Dmmapmodule.c1736 #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 Dmod.rs420 pub const MADV_FREE: ::c_int = 6; consts
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/
H A Dmod.rs842 pub const MADV_FREE: ::c_int = 5; consts
/third_party/rust/crates/libc/src/unix/linux_like/
H A Dmod.rs647 pub const MADV_FREE: ::c_int = 8; consts
/third_party/rust/crates/libc/src/unix/haiku/
H A Dmod.rs962 pub const MADV_FREE: ::c_int = 6; consts
/third_party/rust/crates/libc/src/unix/solarish/
H A Dmod.rs1693 pub const MADV_FREE: ::c_int = 5; consts
/third_party/rust/crates/linux-raw-sys/src/aarch64/
H A Dgeneral.rs986 pub const MADV_FREE: u32 = 8; consts

Completed in 48 milliseconds

12