/third_party/ltp/testcases/kernel/syscalls/madvise/ |
H A D | madvise03.c | 10 * Check that successful madvise(2) MADV_DONTNEED operation will result in 26 TEST(madvise(addr, MAP_SIZE, MADV_DONTNEED)); in run() 29 addr, MAP_SIZE, MADV_DONTNEED); in run()
|
H A D | madvise02.c | 16 * locked or shared pages (with MADV_DONTNEED) 71 {MADV_DONTNEED, "MADV_DONTNEED", &file1, EINVAL, 1}, 91 case MADV_DONTNEED: in tcases_filter()
|
H A D | madvise01.c | 43 {MADV_DONTNEED, "MADV_DONTNEED", &sfile},
|
/third_party/ltp/testcases/kernel/mem/thp/ |
H A D | thp04.c | 106 madvise(write_thp, thp_size, MADV_DONTNEED); in thread_run() 128 madvise(write_thp, thp_size, MADV_DONTNEED); in run() 133 madvise(read_thp, thp_size, MADV_DONTNEED); in run()
|
/third_party/musl/src/mman/ |
H A D | posix_madvise.c | 9 if (advice == MADV_DONTNEED) return 0; in posix_madvise()
|
/third_party/musl/porting/liteos_a/user/src/mman/ |
H A D | posix_madvise.c | 9 if (advice == MADV_DONTNEED) return 0; in posix_madvise()
|
/third_party/ltp/testcases/kernel/security/dirtyc0w/ |
H A D | dirtyc0w_child.c | 29 * You have to race madvise(MADV_DONTNEED) :: 32 * This is achieved by racing the madvise(MADV_DONTNEED) system call while 42 c += madvise(map, 100, MADV_DONTNEED); in madvise_thread()
|
/third_party/musl/libc-test/src/functionalext/supplement/mman/ |
H A D | posix_madvise.c | 88 * @tc.desc : When the advice parameter is passed to MADV_DONTNEED 96 int ret = posix_madvise(ptr, len, MADV_DONTNEED); in posix_madvise_0300()
|
/third_party/rust/crates/rustix/src/backend/libc/mm/ |
H A D | syscalls.rs | 22 // On Linux platforms, `MADV_DONTNEED` has the same value as 27 return unsafe { ret(c::madvise(addr, len, c::MADV_DONTNEED)) }; 45 // Do nothing. Linux's `MADV_DONTNEED` isn't the same as 46 // `POSIX_MADV_DONTNEED`, so just discard `MADV_DONTNEED`.
|
H A D | types.rs | 335 /// `MADV_DONTNEED` 336 // `MADV_DONTNEED` has the same value as `POSIX_MADV_DONTNEED`. We don't 342 /// `MADV_DONTNEED` 344 LinuxDontNeed = c::MADV_DONTNEED,
|
/third_party/node/deps/v8/src/base/platform/ |
H A D | platform-posix.cc | 84 #define MADV_FREE MADV_DONTNEED 521 // MADV_FREE_REUSABLE sometimes fails, so fall back to MADV_DONTNEED. in DiscardSystemPages() 522 ret = madvise(address, size, MADV_DONTNEED); in DiscardSystemPages() 529 ret = madvise(reinterpret_cast<caddr_t>(address), size, MADV_DONTNEED); in DiscardSystemPages() 531 int ret = madvise(address, size, MADV_DONTNEED); in DiscardSystemPages()
|
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/ |
H A D | mman.h | 77 #define MADV_DONTNEED 4 macro
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | mman.h | 82 #define MADV_DONTNEED 4 macro
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | mman.h | 82 #define MADV_DONTNEED 4 macro
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
H A D | mman.h | 86 #define MADV_DONTNEED 4 macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
H A D | mman.h | 82 #define MADV_DONTNEED 4 macro
|
/third_party/musl/include/sys/ |
H A D | mman.h | 83 #define MADV_DONTNEED 4 macro
|
/third_party/ltp/testcases/kernel/security/dirtyc0w_shmem/ |
H A D | dirtyc0w_shmem_child.c | 58 madvise(map, page_size, MADV_DONTNEED); in discard_thread_fn() 211 * Thread 1: madvise(map, 4096, MADV_DONTNEED); in main()
|
/third_party/rust/crates/rustix/src/backend/linux_raw/mm/ |
H A D | types.rs | 158 /// `MADV_DONTNEED` 159 LinuxDontNeed = linux_raw_sys::general::MADV_DONTNEED, 204 /// Linux's `MADV_DONTNEED` differs from `POSIX_MADV_DONTNEED`. See
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | shm.c | 349 #ifdef MADV_DONTNEED in pa_shm_punch() 350 madvise(ptr, size, MADV_DONTNEED); in pa_shm_punch()
|
/third_party/musl/Benchmark/musl/ |
H A D | libc_mman.cpp | 70 MADV_DONTNEED,
|
/third_party/rust/crates/nix/src/sys/ |
H A D | mman.rs | 229 MADV_DONTNEED,
|
/third_party/python/Modules/ |
H A D | mmapmodule.c | 1698 #ifdef MADV_DONTNEED in mmap_exec() 1699 ADD_INT_MACRO(module, MADV_DONTNEED); in mmap_exec()
|
/third_party/musl/src/malloc/oldmalloc/ |
H A D | malloc.c | 586 __madvise((void *)a, b-a, MADV_DONTNEED); in __bin_chunk()
|
/third_party/musl/porting/liteos_a/user/src/malloc/oldmalloc/ |
H A D | malloc.c | 486 __madvise((void *)a, b-a, MADV_DONTNEED); in __bin_chunk()
|