Home
last modified time | relevance | path

Searched refs:MADV_NORMAL (Results 1 - 25 of 40) sorted by relevance

12

/third_party/ltp/testcases/kernel/syscalls/madvise/
H A Dmadvise10.c65 {MAP_SIZE, MADV_NORMAL, MADV_WIPEONFORK, zero, 0,
67 {0, MADV_NORMAL, MADV_WIPEONFORK, pattern, 0,
69 {MAP_SIZE, MADV_NORMAL, MADV_WIPEONFORK, zero, 1,
H A Dmadvise02.c68 {MADV_NORMAL, "MADV_NORMAL", &nonalign, EINVAL, 0},
69 {1212, "MADV_NORMAL", &file1, EINVAL, 0},
74 {MADV_NORMAL, "MADV_NORMAL", &file2, ENOMEM, 0},
H A Dmadvise01.c39 {MADV_NORMAL, "MADV_NORMAL", &sfile},
/third_party/musl/libc-test/src/functionalext/supplement/mman/
H A Dmadvise.c56 int ret = madvise(ptr, length, MADV_NORMAL); in madvise_0100()
81 int ret = madvise(ptr, errorlen, MADV_NORMAL); in madvise_0200()
H A 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/
H A Dtest_mmap.py801 m.madvise(mmap.MADV_NORMAL, size)
803 m.madvise(mmap.MADV_NORMAL, -1)
805 m.madvise(mmap.MADV_NORMAL, 0, -1)
807 m.madvise(mmap.MADV_NORMAL, PAGESIZE, sys.maxsize)
808 self.assertEqual(m.madvise(mmap.MADV_NORMAL), None)
809 self.assertEqual(m.madvise(mmap.MADV_NORMAL, PAGESIZE), None)
810 self.assertEqual(m.madvise(mmap.MADV_NORMAL, PAGESIZE, size), None)
811 self.assertEqual(m.madvise(mmap.MADV_NORMAL, 0, 2), None)
812 self.assertEqual(m.madvise(mmap.MADV_NORMAL, 0, size), None)
/third_party/musl/libc-test/src/functionalext/supplement/mman/mman_gtest/
H A Dmman_madvise_test.cpp27 int result = madvise(addr, LEN, MADV_NORMAL); in HWTEST_F()
/third_party/musl/Benchmark/musl/
H A Dlibc_mman.cpp66 MADV_NORMAL,
208 madvise(addr, length, MADV_NORMAL); in Bm_function_Madvise()
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/
H A Dmman.h73 #define MADV_NORMAL 0 macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dmman.h78 #define MADV_NORMAL 0 macro
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dmman.h78 #define MADV_NORMAL 0 macro
/third_party/musl/porting/liteos_a/kernel/include/sys/
H A Dmman.h82 #define MADV_NORMAL 0 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dmman.h78 #define MADV_NORMAL 0 macro
/third_party/musl/include/sys/
H A Dmman.h79 #define MADV_NORMAL 0 macro
/third_party/rust/crates/rustix/src/backend/linux_raw/mm/
H A Dtypes.rs147 Normal = linux_raw_sys::general::MADV_NORMAL,
/third_party/rust/crates/rustix/src/backend/libc/mm/
H A Dtypes.rs301 Normal = c::MADV_NORMAL,
/third_party/rust/crates/nix/src/sys/
H A Dmman.rs221 MADV_NORMAL,
/third_party/python/Modules/
H A Dmmapmodule.c1686 #ifdef MADV_NORMAL in mmap_exec()
1687 ADD_INT_MACRO(module, MADV_NORMAL); in mmap_exec()
/third_party/rust/crates/libc/src/unix/bsd/netbsdlike/
H A Dmod.rs415 pub const MADV_NORMAL: ::c_int = 0; consts
/third_party/rust/crates/libc/src/unix/redox/
H A Dmod.rs649 pub const MADV_NORMAL: ::c_int = 0; consts
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/
H A Dmod.rs837 pub const MADV_NORMAL: ::c_int = 0; consts
/third_party/rust/crates/libc/src/unix/linux_like/
H A Dmod.rs642 pub const MADV_NORMAL: ::c_int = 0; consts
/third_party/rust/crates/libc/src/unix/haiku/
H A Dmod.rs957 pub const MADV_NORMAL: ::c_int = 1; consts
/third_party/rust/crates/libc/src/unix/solarish/
H A Dmod.rs1688 pub const MADV_NORMAL: ::c_int = 0; consts
/third_party/rust/crates/linux-raw-sys/src/aarch64/
H A Dgeneral.rs981 pub const MADV_NORMAL: u32 = 0; consts

Completed in 50 milliseconds

12