Home
last modified time | relevance | path

Searched refs:MADV_HUGEPAGE (Results 1 – 15 of 15) sorted by relevance

/tools/perf/bench/
Dbench.h14 # ifndef MADV_HUGEPAGE
15 # define MADV_HUGEPAGE 14 macro
Dnuma.c402 ret = madvise(buf, bytes, MADV_HUGEPAGE); in alloc_data()
/tools/arch/mips/include/uapi/asm/
Dmman.h10 #define MADV_HUGEPAGE 14 macro
/tools/arch/xtensa/include/uapi/asm/
Dmman.h10 #define MADV_HUGEPAGE 14 macro
/tools/arch/alpha/include/uapi/asm/
Dmman.h10 #define MADV_HUGEPAGE 14 macro
/tools/arch/parisc/include/uapi/asm/
Dmman.h10 #define MADV_HUGEPAGE 14 macro
/tools/include/uapi/asm-generic/
Dmman-common.h62 #define MADV_HUGEPAGE 14 /* Worth backing with hugepages */ macro
/tools/testing/selftests/vm/
Dtranshuge-stress.c40 if (madvise(ptr, HPAGE_SIZE, MADV_HUGEPAGE)) in allocate_transhuge()
95 if (madvise(ptr, len, MADV_HUGEPAGE)) in main()
Dkhugepaged.c484 madvise(p, hpage_pmd_size, MADV_HUGEPAGE); in wait_for_scan()
698 madvise(p, hpage_pmd_size, MADV_HUGEPAGE); in collapse_single_pte_entry_compound()
730 madvise(p, hpage_pmd_size, MADV_HUGEPAGE); in collapse_full_of_compound()
765 madvise(BASE_ADDR, hpage_pmd_size, MADV_HUGEPAGE); in collapse_compound_extreme()
871 madvise(p, hpage_pmd_size, MADV_HUGEPAGE); in collapse_fork_compound()
934 madvise(p, hpage_pmd_size, MADV_HUGEPAGE); in collapse_max_ptes_shared()
Dsplit_huge_page_test.c182 madvise(one_page, len, MADV_HUGEPAGE); in split_pmd_thp()
247 madvise(one_page, len, MADV_HUGEPAGE); in split_pte_mapped_thp()
Dgup_test.c220 madvise(p, size, MADV_HUGEPAGE); in main()
Duserfaultfd.c1390 if (madvise(area_dst, nr_pages * page_size, MADV_HUGEPAGE)) in userfaultfd_pagemap_test()
Dprotection_keys.c745 ret = madvise(ptr, HPAGE_SIZE, MADV_HUGEPAGE); in malloc_pkey_anon_huge()
Dhmm-tests.c646 ret = madvise(map, size, MADV_HUGEPAGE); in TEST_F()
/tools/testing/selftests/kvm/lib/
Dkvm_util.c920 src_type == VM_MEM_SRC_ANONYMOUS ? MADV_NOHUGEPAGE : MADV_HUGEPAGE); in vm_userspace_mem_region_add()