Home
last modified time | relevance | path

Searched refs:direct_pages_count (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/arch/powerpc/mm/book3s64/
Dpgtable.c403 atomic_long_t direct_pages_count[MMU_PAGE_COUNT]; variable
414 atomic_long_read(&direct_pages_count[MMU_PAGE_4K]) << 2); in arch_report_meminfo()
416 atomic_long_read(&direct_pages_count[MMU_PAGE_64K]) << 6); in arch_report_meminfo()
418 atomic_long_read(&direct_pages_count[MMU_PAGE_2M]) << 11); in arch_report_meminfo()
420 atomic_long_read(&direct_pages_count[MMU_PAGE_1G]) << 20); in arch_report_meminfo()
/Linux-v5.10/arch/s390/mm/
Dpageattr.c43 atomic_long_t direct_pages_count[PG_DIRECT_MAP_MAX]; variable
48 atomic_long_read(&direct_pages_count[PG_DIRECT_MAP_4K]) << 2); in arch_report_meminfo()
50 atomic_long_read(&direct_pages_count[PG_DIRECT_MAP_1M]) << 10); in arch_report_meminfo()
52 atomic_long_read(&direct_pages_count[PG_DIRECT_MAP_2G]) << 21); in arch_report_meminfo()
/Linux-v5.10/arch/powerpc/include/asm/book3s/64/
Dpgalloc.h174 extern atomic_long_t direct_pages_count[MMU_PAGE_COUNT];
178 atomic_long_add(count, &direct_pages_count[psize]); in update_page_count()
/Linux-v5.10/arch/x86/mm/pat/
Dset_memory.c78 static unsigned long direct_pages_count[PG_LEVEL_NUM]; variable
84 direct_pages_count[level] += pages; in update_page_count()
90 if (direct_pages_count[level] == 0) in split_page_count()
93 direct_pages_count[level]--; in split_page_count()
94 direct_pages_count[level - 1] += PTRS_PER_PTE; in split_page_count()
100 direct_pages_count[PG_LEVEL_4K] << 2); in arch_report_meminfo()
103 direct_pages_count[PG_LEVEL_2M] << 11); in arch_report_meminfo()
106 direct_pages_count[PG_LEVEL_2M] << 12); in arch_report_meminfo()
110 direct_pages_count[PG_LEVEL_1G] << 20); in arch_report_meminfo()
/Linux-v5.10/arch/s390/include/asm/
Dpgtable.h34 extern atomic_long_t direct_pages_count[PG_DIRECT_MAP_MAX];
39 atomic_long_add(count, &direct_pages_count[level]); in update_page_count()