Home
last modified time | relevance | path

Searched refs:MADV_MERGEABLE (Results 1 – 18 of 18) sorted by relevance

/third_party/ltp/include/lapi/
Dmmap.h36 #ifndef MADV_MERGEABLE
37 # define MADV_MERGEABLE 12 macro
/third_party/ltp/testcases/kernel/syscalls/madvise/
Dmadvise02.c73 {MADV_MERGEABLE, "MADV_MERGEABLE", &file1, EINVAL, 0},
103 case MADV_MERGEABLE: in tcases_filter()
Dmadvise01.c49 {MADV_MERGEABLE, "MADV_MERGEABLE", &sfile}, /* since Linux 2.6.32 */
/third_party/ltp/testcases/kernel/mem/thp/
Dthp03.c60 if (madvise(p + hugepage_size, page_size, MADV_MERGEABLE) == -1) { in thp_test()
/third_party/ltp/testcases/kernel/mem/ksm/
Dksm05.c70 if (madvise(ptr, ps, MADV_MERGEABLE) < 0) in test_ksm()
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dmman.h87 #define MADV_MERGEABLE 12 macro
/third_party/musl/porting/uniproton/kernel/include/sys/
Dmman.h87 #define MADV_MERGEABLE 12 macro
/third_party/musl/porting/liteos_a/kernel/include/sys/
Dmman.h90 #define MADV_MERGEABLE 12 macro
/third_party/musl/ndk_musl_include/sys/
Dmman.h87 #define MADV_MERGEABLE 12 macro
/third_party/musl/include/sys/
Dmman.h87 #define MADV_MERGEABLE 12 macro
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/
Dmman.h81 #define MADV_MERGEABLE 12 macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dmman.h87 #define MADV_MERGEABLE 12 macro
/third_party/ltp/testcases/kernel/syscalls/migrate_pages/
Dmigrate_pages03.c79 if (madvise(test_pages[n], page_size, MADV_MERGEABLE)) { in setup()
/third_party/ltp/testcases/kernel/mem/lib/
Dmem.c56 if (testcase == KSM && madvise(s, length, MADV_MERGEABLE) == -1) in alloc_mem()
368 if (madvise(memory[j], unit * MB, MADV_MERGEABLE) == -1) in create_ksm_child()
551 if (madvise(memory[i], length, MADV_MERGEABLE) == -1) in test_ksm_merge_across_nodes()
/third_party/ltp/testcases/kernel/syscalls/mmap/
Dmmap10.c138 if (madvise(x, SIZE + SIZE - ps, MADV_MERGEABLE) == -1) in mmapzero()
/third_party/ltp/
Dconfigure.ac39 AC_CHECK_DECLS([MADV_MERGEABLE],,,[#include <sys/mman.h>])
/third_party/python/Modules/
Dmmapmodule.c1634 #ifdef MADV_MERGEABLE in mmap_exec()
1635 ADD_INT_MACRO(module, MADV_MERGEABLE); in mmap_exec()
/third_party/python/Doc/library/
Dmmap.rst327 MADV_MERGEABLE