/linux-6.12.1/tools/perf/bench/ |
D | bench.h | 14 # ifndef MADV_HUGEPAGE 15 # define MADV_HUGEPAGE 14 macro
|
/linux-6.12.1/tools/testing/selftests/mm/ |
D | split_huge_page_test.c | 98 madvise(result, len, MADV_HUGEPAGE); in allocate_zero_filled_hugepage() 167 madvise(one_page, len, MADV_HUGEPAGE); in split_pmd_thp() 219 madvise(one_page, len, MADV_HUGEPAGE); in split_pte_mapped_thp() 410 madvise(*addr, fd_size, MADV_HUGEPAGE); in create_pagecache_thp_and_fd()
|
D | transhuge-stress.c | 82 if (madvise(ptr, len, MADV_HUGEPAGE)) in main()
|
D | soft-dirty.c | 90 ret = madvise(map, hpage_len, MADV_HUGEPAGE); in test_hugepage()
|
D | gup_test.c | 241 madvise(p, size, MADV_HUGEPAGE); in main()
|
D | khugepaged.c | 326 if (madvise(p, hpage_pmd_size, MADV_HUGEPAGE)) { in alloc_hpage() 513 madvise(p, nr_hpages * hpage_pmd_size, MADV_HUGEPAGE); in __madvise_collapse() 549 madvise(p, nr_hpages * hpage_pmd_size, MADV_HUGEPAGE); in wait_for_scan() 843 madvise(BASE_ADDR, hpage_pmd_size, MADV_HUGEPAGE); in collapse_compound_extreme()
|
D | migration.c | 196 ASSERT_EQ(madvise(ptr, TWOMEG, MADV_HUGEPAGE), 0);
|
D | mkdirty.c | 75 if (madvise(mem, thpsize, MADV_HUGEPAGE)) { in mmap_thp_range()
|
D | cow.c | 817 ret = madvise(mem, thpsize, MADV_HUGEPAGE); in do_run_with_thp() 1533 ret = madvise(mem, pmdsize, MADV_HUGEPAGE); in run_with_huge_zeropage() 1534 ret |= madvise(smem, pmdsize, MADV_HUGEPAGE); in run_with_huge_zeropage()
|
D | vm_util.c | 259 if (madvise(ptr, HPAGE_SIZE, MADV_HUGEPAGE)) in allocate_transhuge()
|
/linux-6.12.1/tools/arch/alpha/include/uapi/asm/ |
D | mman.h | 10 #define MADV_HUGEPAGE 14 macro
|
/linux-6.12.1/tools/arch/mips/include/uapi/asm/ |
D | mman.h | 10 #define MADV_HUGEPAGE 14 macro
|
/linux-6.12.1/tools/arch/xtensa/include/uapi/asm/ |
D | mman.h | 10 #define MADV_HUGEPAGE 14 macro
|
/linux-6.12.1/tools/arch/parisc/include/uapi/asm/ |
D | mman.h | 10 #define MADV_HUGEPAGE 14 macro
|
/linux-6.12.1/tools/include/uapi/asm-generic/ |
D | mman-common.h | 62 #define MADV_HUGEPAGE 14 /* Worth backing with hugepages */ macro
|
/linux-6.12.1/include/uapi/asm-generic/ |
D | mman-common.h | 62 #define MADV_HUGEPAGE 14 /* Worth backing with hugepages */ macro
|
/linux-6.12.1/arch/mips/include/uapi/asm/ |
D | mman.h | 88 #define MADV_HUGEPAGE 14 /* Worth backing with hugepages */ macro
|
/linux-6.12.1/arch/xtensa/include/uapi/asm/ |
D | mman.h | 96 #define MADV_HUGEPAGE 14 /* Worth backing with hugepages */ macro
|
/linux-6.12.1/arch/parisc/include/uapi/asm/ |
D | mman.h | 55 #define MADV_HUGEPAGE 14 /* Worth backing with hugepages */ macro
|
/linux-6.12.1/arch/alpha/include/uapi/asm/ |
D | mman.h | 61 #define MADV_HUGEPAGE 14 /* Worth backing with hugepages */ macro
|
/linux-6.12.1/tools/mm/ |
D | thp_swap_allocator_test.c | 138 if (madvise(mem1, MEMSIZE_MTHP, MADV_HUGEPAGE) != 0) { in main()
|
/linux-6.12.1/Documentation/translations/zh_CN/admin-guide/mm/damon/ |
D | usage.rst | 220 - ``hugepage``: 为带有 ``MADV_HUGEPAGE`` 的区域调用 ``madvise()`` 。 454 - 3: Call ``madvise()`` for the region with ``MADV_HUGEPAGE``
|
/linux-6.12.1/Documentation/translations/zh_TW/admin-guide/mm/damon/ |
D | usage.rst | 220 - ``hugepage``: 爲帶有 ``MADV_HUGEPAGE`` 的區域調用 ``madvise()`` 。 454 - 3: Call ``madvise()`` for the region with ``MADV_HUGEPAGE``
|
/linux-6.12.1/Documentation/admin-guide/mm/ |
D | transhuge.rst | 92 MADV_HUGEPAGE madvise regions. 100 madvise(MADV_HUGEPAGE) on their critical mmapped regions. 111 (mostly for debugging purposes) or only enabled inside MADV_HUGEPAGE 154 MADV_HUGEPAGE region. 179 only for regions that have used madvise(MADV_HUGEPAGE); all 186 that are have used madvise(MADV_HUGEPAGE). This is the default
|
/linux-6.12.1/arch/parisc/kernel/ |
D | sys_parisc.c | 395 case 67: behavior = MADV_HUGEPAGE; break; in parisc_madvise()
|