Home
last modified time | relevance | path

Searched refs:MADV_NORMAL (Results 1 – 17 of 17) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/madvise/
Dmadvise10.c66 {MAP_SIZE, MADV_NORMAL, MADV_WIPEONFORK, zero, 0,
68 {0, MADV_NORMAL, MADV_WIPEONFORK, pattern, 0,
70 {MAP_SIZE, MADV_NORMAL, MADV_WIPEONFORK, zero, 1,
Dmadvise02.c69 {MADV_NORMAL, "MADV_NORMAL", &nonalign, EINVAL, 0},
75 {MADV_NORMAL, "MADV_NORMAL", &file2, ENOMEM, 0},
Dmadvise01.c40 {MADV_NORMAL, "MADV_NORMAL", &sfile},
/third_party/musl/libc-test/src/functionalext/supplement/mman/
Dmadvise.c56 int ret = madvise(ptr, length, MADV_NORMAL); in madvise_0100()
81 int ret = madvise(ptr, errorlen, MADV_NORMAL); in madvise_0200()
Dposix_madvise.c56 EXPECT_EQ("posix_madvise_0100", posix_madvise(ptr, length, MADV_NORMAL), CMPFLAG); in posix_madvise_0100()
78 int ret = posix_madvise(ptr, errorlen, MADV_NORMAL); in posix_madvise_0200()
/third_party/python/Lib/test/
Dtest_mmap.py786 m.madvise(mmap.MADV_NORMAL, size)
788 m.madvise(mmap.MADV_NORMAL, -1)
790 m.madvise(mmap.MADV_NORMAL, 0, -1)
792 m.madvise(mmap.MADV_NORMAL, PAGESIZE, sys.maxsize)
793 self.assertEqual(m.madvise(mmap.MADV_NORMAL), None)
794 self.assertEqual(m.madvise(mmap.MADV_NORMAL, PAGESIZE), None)
795 self.assertEqual(m.madvise(mmap.MADV_NORMAL, PAGESIZE, size), None)
796 self.assertEqual(m.madvise(mmap.MADV_NORMAL, 0, 2), None)
797 self.assertEqual(m.madvise(mmap.MADV_NORMAL, 0, size), None)
/third_party/boost/boost/interprocess/
Dmapped_region.hpp78 #if (defined(sun) || defined(__sun)) && defined(MADV_NORMAL)
767 #elif defined(MADV_NORMAL) in advise()
768 unix_advice = MADV_NORMAL; in advise()
816 #if defined(MADV_NORMAL) in advise()
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dmman.h78 #define MADV_NORMAL 0 macro
/third_party/musl/porting/uniproton/kernel/include/sys/
Dmman.h78 #define MADV_NORMAL 0 macro
/third_party/musl/porting/liteos_a/kernel/include/sys/
Dmman.h81 #define MADV_NORMAL 0 macro
/third_party/musl/ndk_musl_include/sys/
Dmman.h78 #define MADV_NORMAL 0 macro
/third_party/musl/include/sys/
Dmman.h78 #define MADV_NORMAL 0 macro
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/
Dmman.h72 #define MADV_NORMAL 0 macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dmman.h78 #define MADV_NORMAL 0 macro
/third_party/boost/libs/interprocess/test/
Dshared_memory_mapping_test.cpp142 #if defined(POSIX_MADV_NORMAL) || defined(MADV_NORMAL) in main()
/third_party/python/Modules/
Dmmapmodule.c1605 #ifdef MADV_NORMAL in mmap_exec()
1606 ADD_INT_MACRO(module, MADV_NORMAL); in mmap_exec()
/third_party/python/Doc/library/
Dmmap.rst318 .. data:: MADV_NORMAL