/third_party/ltp/include/lapi/ |
H A D | mmap.h | 49 #ifndef MADV_HUGEPAGE 50 # define MADV_HUGEPAGE 14 macro
|
/third_party/ltp/testcases/kernel/mce-test/tsrc/ |
H A D | ttranshuge.c | 75 #define MADV_HUGEPAGE 14 macro 159 * Use MADV_HUGEPAGE to make sure the page could be mapped as THP 164 * MADV_HUGEPAGE must be set between mmap and read/write operation. 166 * MADV_HUGEPAGE about THP for more details. 177 return madvise((void *)madvise_addr, madvise_size, MADV_HUGEPAGE); in request_thp_with_madvise()
|
/third_party/ltp/testcases/kernel/mce-test/hwpoison/ |
H A D | ttranshuge.c | 75 #define MADV_HUGEPAGE 14 macro 159 * Use MADV_HUGEPAGE to make sure the page could be mapped as THP 164 * MADV_HUGEPAGE must be set between mmap and read/write operation. 166 * MADV_HUGEPAGE about THP for more details. 177 return madvise((void *)madvise_addr, madvise_size, MADV_HUGEPAGE); in request_thp_with_madvise()
|
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/ |
H A D | mman.h | 84 #define MADV_HUGEPAGE 14 macro
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | mman.h | 89 #define MADV_HUGEPAGE 14 macro
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | mman.h | 89 #define MADV_HUGEPAGE 14 macro
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
H A D | mman.h | 93 #define MADV_HUGEPAGE 14 macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
H A D | mman.h | 89 #define MADV_HUGEPAGE 14 macro
|
/third_party/ltp/testcases/kernel/syscalls/madvise/ |
H A D | madvise01.c | 50 {MADV_HUGEPAGE, "MADV_HUGEPAGE", &amem}, /* since Linux 2.6.38 */ 82 /* Map the input file into private memory. MADV_HUGEPAGE only works in setup()
|
/third_party/ltp/testcases/kernel/mem/thp/ |
H A D | thp04.c | 50 TEST(madvise(ret, thp_size, MADV_HUGEPAGE)); in alloc_zero_page() 54 "madvise(MADV_HUGEPAGE) not supported"); in alloc_zero_page() 59 "madvise(MADV_HUGEPAGE) failed"); in alloc_zero_page()
|
/third_party/musl/include/sys/ |
H A D | mman.h | 90 #define MADV_HUGEPAGE 14 macro
|
/third_party/rust/crates/rustix/src/backend/linux_raw/mm/ |
H A D | types.rs | 178 /// `MADV_HUGEPAGE` (since Linux 2.6.38) 179 LinuxHugepage = linux_raw_sys::general::MADV_HUGEPAGE,
|
/third_party/musl/Benchmark/musl/ |
H A D | libc_mman.cpp | 74 MADV_HUGEPAGE,
|
/third_party/rust/crates/rustix/src/backend/libc/mm/ |
H A D | types.rs | 372 /// `MADV_HUGEPAGE` (since Linux 2.6.38) 374 LinuxHugepage = c::MADV_HUGEPAGE,
|
/third_party/rust/crates/nix/src/sys/ |
H A D | mman.rs | 271 MADV_HUGEPAGE, 272 /// Undo the effect of `MADV_HUGEPAGE`.
|
/third_party/mesa3d/src/gallium/winsys/svga/drm/ |
H A D | vmw_screen_ioctl.c | 698 // MADV_HUGEPAGE only exists on Linux in vmw_ioctl_region_map() 699 #ifdef MADV_HUGEPAGE in vmw_ioctl_region_map() 700 (void) madvise(map, region->size, MADV_HUGEPAGE); in vmw_ioctl_region_map()
|
/third_party/python/Modules/ |
H A D | mmapmodule.c | 1724 #ifdef MADV_HUGEPAGE in mmap_exec() 1725 ADD_INT_MACRO(module, MADV_HUGEPAGE); in mmap_exec()
|
/third_party/node/deps/v8/src/base/platform/ |
H A D | platform-posix.cc | 193 MADV_HUGEPAGE); in Allocate() local
|
/third_party/rust/crates/libc/src/unix/linux_like/ |
H A D | mod.rs | 653 pub const MADV_HUGEPAGE: ::c_int = 14; consts
|
/third_party/musl/porting/linux/user/ldso/ |
H A D | dynlink.c | 1636 madvise(base + this_min, this_max - this_min, MADV_HUGEPAGE); in map_library() 5054 madvise(base + this_min, this_max - this_min, MADV_HUGEPAGE); in task_map_library()
|
/third_party/musl/ldso/linux/ |
H A D | dynlink.c | 1817 madvise(base + this_min, this_max - this_min, MADV_HUGEPAGE); in map_library() 5444 madvise(base + this_min, this_max - this_min, MADV_HUGEPAGE); in task_map_library()
|
/third_party/rust/crates/linux-raw-sys/src/aarch64/ |
H A D | general.rs | 994 pub const MADV_HUGEPAGE: u32 = 14; consts
|
/third_party/rust/crates/libc/src/fuchsia/ |
H A D | mod.rs | 1626 pub const MADV_HUGEPAGE: ::c_int = 14; consts
|
/third_party/rust/crates/linux-raw-sys/src/riscv64/ |
H A D | general.rs | 999 pub const MADV_HUGEPAGE: u32 = 14; consts
|
/third_party/rust/crates/linux-raw-sys/src/riscv32/ |
H A D | general.rs | 999 pub const MADV_HUGEPAGE: u32 = 14; consts
|