Home
last modified time | relevance | path

Searched refs:MADV_HUGEPAGE (Results 1 - 25 of 36) sorted by relevance

12

/third_party/ltp/include/lapi/
H A Dmmap.h49 #ifndef MADV_HUGEPAGE
50 # define MADV_HUGEPAGE 14 macro
/third_party/ltp/testcases/kernel/mce-test/tsrc/
H A Dttranshuge.c75 #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 Dttranshuge.c75 #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 Dmman.h84 #define MADV_HUGEPAGE 14 macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dmman.h89 #define MADV_HUGEPAGE 14 macro
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dmman.h89 #define MADV_HUGEPAGE 14 macro
/third_party/musl/porting/liteos_a/kernel/include/sys/
H A Dmman.h93 #define MADV_HUGEPAGE 14 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dmman.h89 #define MADV_HUGEPAGE 14 macro
/third_party/ltp/testcases/kernel/syscalls/madvise/
H A Dmadvise01.c50 {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 Dthp04.c50 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 Dmman.h90 #define MADV_HUGEPAGE 14 macro
/third_party/rust/crates/rustix/src/backend/linux_raw/mm/
H A Dtypes.rs178 /// `MADV_HUGEPAGE` (since Linux 2.6.38)
179 LinuxHugepage = linux_raw_sys::general::MADV_HUGEPAGE,
/third_party/musl/Benchmark/musl/
H A Dlibc_mman.cpp74 MADV_HUGEPAGE,
/third_party/rust/crates/rustix/src/backend/libc/mm/
H A Dtypes.rs372 /// `MADV_HUGEPAGE` (since Linux 2.6.38)
374 LinuxHugepage = c::MADV_HUGEPAGE,
/third_party/rust/crates/nix/src/sys/
H A Dmman.rs271 MADV_HUGEPAGE,
272 /// Undo the effect of `MADV_HUGEPAGE`.
/third_party/mesa3d/src/gallium/winsys/svga/drm/
H A Dvmw_screen_ioctl.c698 // 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 Dmmapmodule.c1724 #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 Dplatform-posix.cc193 MADV_HUGEPAGE); in Allocate() local
/third_party/rust/crates/libc/src/unix/linux_like/
H A Dmod.rs653 pub const MADV_HUGEPAGE: ::c_int = 14; consts
/third_party/musl/porting/linux/user/ldso/
H A Ddynlink.c1636 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 Ddynlink.c1817 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 Dgeneral.rs994 pub const MADV_HUGEPAGE: u32 = 14; consts
/third_party/rust/crates/libc/src/fuchsia/
H A Dmod.rs1626 pub const MADV_HUGEPAGE: ::c_int = 14; consts
/third_party/rust/crates/linux-raw-sys/src/riscv64/
H A Dgeneral.rs999 pub const MADV_HUGEPAGE: u32 = 14; consts
/third_party/rust/crates/linux-raw-sys/src/riscv32/
H A Dgeneral.rs999 pub const MADV_HUGEPAGE: u32 = 14; consts

Completed in 80 milliseconds

12