Home
last modified time | relevance | path

Searched refs:hpage_pmd_size (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/tools/testing/selftests/mm/
Dkhugepaged.c28 static unsigned long hpage_pmd_size; variable
262 p = mmap(BASE_ADDR, nr * hpage_pmd_size, PROT_READ | PROT_WRITE, in alloc_mapping()
308 ops->fault(p, 0, hpage_pmd_size); in alloc_hpage()
318 if (madvise_collapse_retry(p, hpage_pmd_size)) { in alloc_hpage()
326 if (madvise(p, hpage_pmd_size, MADV_HUGEPAGE)) { in alloc_hpage()
364 return check_huge_anon(addr, nr_hpages, hpage_pmd_size); in anon_check_huge()
383 size = nr_hpages * hpage_pmd_size; in file_setup_area()
429 return check_huge_file(addr, nr_hpages, hpage_pmd_size); in file_check_huge()
431 return check_huge_shmem(addr, nr_hpages, hpage_pmd_size); in file_check_huge()
441 unsigned long size = nr_hpages * hpage_pmd_size; in shmem_setup_area()
[all …]
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-kernel-mm-transparent-hugepage10 - hpage_pmd_size
/linux-6.12.1/Documentation/admin-guide/mm/
Dtranshuge.rst203 cat /sys/kernel/mm/transparent_hugepage/hpage_pmd_size
/linux-6.12.1/mm/
Dhuge_memory.c433 __ATTR_RO(hpage_pmd_size);