Home
last modified time | relevance | path

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

/Linux-v5.4/arch/powerpc/mm/book3s64/
Dpgtable.c406 atomic_long_t direct_pages_count[MMU_PAGE_COUNT]; variable
417 atomic_long_read(&direct_pages_count[MMU_PAGE_4K]) << 2); in arch_report_meminfo()
419 atomic_long_read(&direct_pages_count[MMU_PAGE_64K]) << 6); in arch_report_meminfo()
421 atomic_long_read(&direct_pages_count[MMU_PAGE_2M]) << 11); in arch_report_meminfo()
423 atomic_long_read(&direct_pages_count[MMU_PAGE_1G]) << 20); in arch_report_meminfo()
/Linux-v5.4/arch/s390/mm/
Dpageattr.c44 atomic_long_t direct_pages_count[PG_DIRECT_MAP_MAX]; variable
49 atomic_long_read(&direct_pages_count[PG_DIRECT_MAP_4K]) << 2); in arch_report_meminfo()
51 atomic_long_read(&direct_pages_count[PG_DIRECT_MAP_1M]) << 10); in arch_report_meminfo()
53 atomic_long_read(&direct_pages_count[PG_DIRECT_MAP_2G]) << 21); in arch_report_meminfo()
/Linux-v5.4/arch/powerpc/include/asm/book3s/64/
Dpgalloc.h177 extern atomic_long_t direct_pages_count[MMU_PAGE_COUNT];
181 atomic_long_add(count, &direct_pages_count[psize]); in update_page_count()
/Linux-v5.4/arch/x86/mm/
Dpageattr.c71 static unsigned long direct_pages_count[PG_LEVEL_NUM]; variable
77 direct_pages_count[level] += pages; in update_page_count()
83 if (direct_pages_count[level] == 0) in split_page_count()
86 direct_pages_count[level]--; in split_page_count()
87 direct_pages_count[level - 1] += PTRS_PER_PTE; in split_page_count()
93 direct_pages_count[PG_LEVEL_4K] << 2); in arch_report_meminfo()
96 direct_pages_count[PG_LEVEL_2M] << 11); in arch_report_meminfo()
99 direct_pages_count[PG_LEVEL_2M] << 12); in arch_report_meminfo()
103 direct_pages_count[PG_LEVEL_1G] << 20); in arch_report_meminfo()
/Linux-v5.4/arch/s390/include/asm/
Dpgtable.h33 extern atomic_long_t direct_pages_count[PG_DIRECT_MAP_MAX];
38 atomic_long_add(count, &direct_pages_count[level]); in update_page_count()