/third_party/ltp/include/lapi/ |
H A D | mmap.h | 41 #ifndef MADV_MERGEABLE 42 # define MADV_MERGEABLE 12 macro
|
/third_party/ltp/testcases/kernel/syscalls/madvise/ |
H A D | madvise02.c | 17 * 4. MADV_MERGEABLE or MADV_UNMERGEABLE was specified in advice, 72 {MADV_MERGEABLE, "MADV_MERGEABLE", &file1, EINVAL, 0}, 98 case MADV_MERGEABLE: in tcases_filter() 101 * skip EINVAL test for MADV_MERGEABLE. */ in tcases_filter()
|
H A D | madvise01.c | 48 {MADV_MERGEABLE, "MADV_MERGEABLE", &sfile}, /* since Linux 2.6.32 */
|
/third_party/ltp/testcases/kernel/mem/thp/ |
H A D | thp03.c | 59 if (madvise(p + hugepage_size, page_size, MADV_MERGEABLE) == -1) { in thp_test() 62 "MADV_MERGEABLE is not enabled/supported"); in thp_test()
|
/third_party/ltp/testcases/kernel/mem/ksm/ |
H A D | ksm05.c | 70 if (madvise(ptr, ps, MADV_MERGEABLE) < 0) in test_ksm() 105 TST_TEST_TCONF("no MADV_MERGEABLE found.");
|
H A D | ksm06.c | 64 if (madvise(memory[i], length, MADV_MERGEABLE) == -1) in test_ksm()
|
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/ |
H A D | mman.h | 82 #define MADV_MERGEABLE 12 macro
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | mman.h | 87 #define MADV_MERGEABLE 12 macro
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | mman.h | 87 #define MADV_MERGEABLE 12 macro
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
H A D | mman.h | 91 #define MADV_MERGEABLE 12 macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
H A D | mman.h | 87 #define MADV_MERGEABLE 12 macro
|
/third_party/ltp/testcases/kernel/syscalls/migrate_pages/ |
H A D | migrate_pages03.c | 79 if (madvise(test_pages[n], page_size, MADV_MERGEABLE)) { in setup() 82 "support MADV_MERGEABLE"); in setup() 86 "madvise(MADV_MERGEABLE) failed"); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/mmap/ |
H A D | mmap10.c | 101 tst_brkm(TCONF, NULL, "MADV_MERGEABLE missing in sys/mman.h"); in main() 138 if (madvise(x, SIZE + SIZE - ps, MADV_MERGEABLE) == -1) in mmapzero()
|
/third_party/musl/include/sys/ |
H A D | mman.h | 88 #define MADV_MERGEABLE 12 macro
|
/third_party/rust/crates/rustix/src/backend/linux_raw/mm/ |
H A D | types.rs | 174 /// `MADV_MERGEABLE` 175 LinuxMergeable = linux_raw_sys::general::MADV_MERGEABLE,
|
/third_party/ltp/testcases/kernel/mem/lib/ |
H A D | mem.c | 54 if (testcase == KSM && madvise(s, length, MADV_MERGEABLE) == -1) in alloc_mem() 383 if (madvise(memory[j], unit * MB, MADV_MERGEABLE) == -1) in create_ksm_child()
|
/third_party/rust/crates/rustix/src/backend/libc/mm/ |
H A D | types.rs | 366 /// `MADV_MERGEABLE` 368 LinuxMergeable = c::MADV_MERGEABLE,
|
/third_party/rust/crates/nix/src/sys/ |
H A D | mman.rs | 251 MADV_MERGEABLE, 252 /// Undo the effect of `MADV_MERGEABLE`
|
/third_party/python/Modules/ |
H A D | mmapmodule.c | 1715 #ifdef MADV_MERGEABLE in mmap_exec() 1716 ADD_INT_MACRO(module, MADV_MERGEABLE); in mmap_exec()
|
/third_party/rust/crates/libc/src/unix/linux_like/ |
H A D | mod.rs | 651 pub const MADV_MERGEABLE: ::c_int = 12; consts
|
/third_party/rust/crates/linux-raw-sys/src/aarch64/ |
H A D | general.rs | 992 pub const MADV_MERGEABLE: u32 = 12; consts
|
/third_party/rust/crates/libc/src/fuchsia/ |
H A D | mod.rs | 1624 pub const MADV_MERGEABLE: ::c_int = 12; consts
|
/third_party/rust/crates/linux-raw-sys/src/riscv64/ |
H A D | general.rs | 997 pub const MADV_MERGEABLE: u32 = 12; consts
|
/third_party/rust/crates/linux-raw-sys/src/riscv32/ |
H A D | general.rs | 997 pub const MADV_MERGEABLE: u32 = 12; consts
|
/third_party/rust/crates/linux-raw-sys/src/powerpc64/ |
H A D | general.rs | 1004 pub const MADV_MERGEABLE: u32 = 12; consts
|