Home
last modified time | relevance | path

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

12

/external/strace/xlat/
Dmadvise_cmds.h80 #if defined(MADV_MERGEABLE) || (defined(HAVE_DECL_MADV_MERGEABLE) && HAVE_DECL_MADV_MERGEABLE)
82 static_assert((MADV_MERGEABLE) == (65), "MADV_MERGEABLE != 65");
85 # define MADV_MERGEABLE 65
88 #if defined(MADV_MERGEABLE) || (defined(HAVE_DECL_MADV_MERGEABLE) && HAVE_DECL_MADV_MERGEABLE)
90 static_assert((MADV_MERGEABLE) == (12), "MADV_MERGEABLE != 12");
93 # define MADV_MERGEABLE 12
265 XLAT(MADV_MERGEABLE),
267 XLAT(MADV_MERGEABLE),
Dmadvise_cmds.in26 MADV_MERGEABLE 65
28 MADV_MERGEABLE 12
/external/ltp/include/lapi/
Dmmap.h46 #ifndef MADV_MERGEABLE
47 # define MADV_MERGEABLE 12 macro
/external/ltp/m4/
Dltp-madvise.m427 AC_CHECK_DECLS([MADV_MERGEABLE],[have_madv_mergeable="yes"],,[#include <sys/mman.h>])
29 AC_DEFINE(HAVE_MADV_MERGEABLE,1,[Define to 1 if you have MADV_MERGEABLE])
/external/ltp/testcases/kernel/syscalls/madvise/
Dmadvise02.c82 {MADV_MERGEABLE, "MADV_MERGEABLE", &file1, EINVAL, 0},
112 case MADV_MERGEABLE: in tcases_filter()
Dmadvise01.c58 {MADV_MERGEABLE, "MADV_MERGEABLE", &sfile}, /* since Linux 2.6.32 */
/external/kernel-headers/original/uapi/asm-generic/
Dmman-common.h56 #define MADV_MERGEABLE 12 /* KSM may merge identical pages */ macro
/external/kernel-headers/original/uapi/asm-mips/asm/
Dmman.h86 #define MADV_MERGEABLE 12 /* KSM may merge identical pages */ macro
/external/ltp/testcases/kernel/mem/thp/
Dthp03.c60 if (madvise(p + hugepage_size, page_size, MADV_MERGEABLE) == -1) { in thp_test()
/external/ltp/testcases/kernel/mem/ksm/
Dksm05.c79 if (madvise(ptr, ps, MADV_MERGEABLE) < 0) in test_ksm()
/external/ltp/testcases/kernel/syscalls/migrate_pages/
Dmigrate_pages03.c86 if (madvise(test_pages[n], page_size, MADV_MERGEABLE)) { in setup()
/external/ltp/testcases/kernel/syscalls/mmap/
Dmmap10.c138 if (madvise(x, SIZE + SIZE - ps, MADV_MERGEABLE) == -1) in mmapzero()
/external/ltp/testcases/kernel/mem/lib/
Dmem.c56 if (testcase == KSM && madvise(s, length, MADV_MERGEABLE) == -1) in alloc_mem()
372 if (madvise(memory[j], unit * MB, MADV_MERGEABLE) == -1) in create_ksm_child()
552 if (madvise(memory[i], length, MADV_MERGEABLE) == -1) in test_ksm_merge_across_nodes()
/external/syzkaller/sys/linux/
Dsys_386.const240 MADV_MERGEABLE = 12
Dsys_amd64.const240 MADV_MERGEABLE = 12
Dsys_arm.const240 MADV_MERGEABLE = 12
Dsys_ppc64le.const240 MADV_MERGEABLE = 12
Dsys_arm64.const240 MADV_MERGEABLE = 12
/external/syzkaller/vendor/golang.org/x/sys/unix/
Dzerrors_linux_sparc64.go756 MADV_MERGEABLE = 0xc const
Dzerrors_linux_mipsle.go942 MADV_MERGEABLE = 0xc const
Dzerrors_linux_s390x.go942 MADV_MERGEABLE = 0xc const
Dzerrors_linux_arm.go942 MADV_MERGEABLE = 0xc const
Dzerrors_linux_ppc64le.go942 MADV_MERGEABLE = 0xc const
Dzerrors_linux_mips64.go942 MADV_MERGEABLE = 0xc const
Dzerrors_linux_ppc64.go942 MADV_MERGEABLE = 0xc const

12