Home
last modified time | relevance | path

Searched refs:MADV_MERGEABLE (Results 1 - 25 of 35) sorted by relevance

12

/third_party/ltp/include/lapi/
H A Dmmap.h41 #ifndef MADV_MERGEABLE
42 # define MADV_MERGEABLE 12 macro
/third_party/ltp/testcases/kernel/syscalls/madvise/
H A Dmadvise02.c17 * 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 Dmadvise01.c48 {MADV_MERGEABLE, "MADV_MERGEABLE", &sfile}, /* since Linux 2.6.32 */
/third_party/ltp/testcases/kernel/mem/thp/
H A Dthp03.c59 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 Dksm05.c70 if (madvise(ptr, ps, MADV_MERGEABLE) < 0) in test_ksm()
105 TST_TEST_TCONF("no MADV_MERGEABLE found.");
H A Dksm06.c64 if (madvise(memory[i], length, MADV_MERGEABLE) == -1) in test_ksm()
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/
H A Dmman.h82 #define MADV_MERGEABLE 12 macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dmman.h87 #define MADV_MERGEABLE 12 macro
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dmman.h87 #define MADV_MERGEABLE 12 macro
/third_party/musl/porting/liteos_a/kernel/include/sys/
H A Dmman.h91 #define MADV_MERGEABLE 12 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dmman.h87 #define MADV_MERGEABLE 12 macro
/third_party/ltp/testcases/kernel/syscalls/migrate_pages/
H A Dmigrate_pages03.c79 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 Dmmap10.c101 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 Dmman.h88 #define MADV_MERGEABLE 12 macro
/third_party/rust/crates/rustix/src/backend/linux_raw/mm/
H A Dtypes.rs174 /// `MADV_MERGEABLE`
175 LinuxMergeable = linux_raw_sys::general::MADV_MERGEABLE,
/third_party/ltp/testcases/kernel/mem/lib/
H A Dmem.c54 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 Dtypes.rs366 /// `MADV_MERGEABLE`
368 LinuxMergeable = c::MADV_MERGEABLE,
/third_party/rust/crates/nix/src/sys/
H A Dmman.rs251 MADV_MERGEABLE,
252 /// Undo the effect of `MADV_MERGEABLE`
/third_party/python/Modules/
H A Dmmapmodule.c1715 #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 Dmod.rs651 pub const MADV_MERGEABLE: ::c_int = 12; consts
/third_party/rust/crates/linux-raw-sys/src/aarch64/
H A Dgeneral.rs992 pub const MADV_MERGEABLE: u32 = 12; consts
/third_party/rust/crates/libc/src/fuchsia/
H A Dmod.rs1624 pub const MADV_MERGEABLE: ::c_int = 12; consts
/third_party/rust/crates/linux-raw-sys/src/riscv64/
H A Dgeneral.rs997 pub const MADV_MERGEABLE: u32 = 12; consts
/third_party/rust/crates/linux-raw-sys/src/riscv32/
H A Dgeneral.rs997 pub const MADV_MERGEABLE: u32 = 12; consts
/third_party/rust/crates/linux-raw-sys/src/powerpc64/
H A Dgeneral.rs1004 pub const MADV_MERGEABLE: u32 = 12; consts

Completed in 81 milliseconds

12