Lines Matching refs:md
1724 struct numa_maps *md = private;
1727 md->pages++;
1729 md->dirty++;
1732 md->swapcache++;
1735 md->active++;
1738 md->writeback++;
1741 md->anon++;
1743 if (count > md->mapcount_max)
1744 md->mapcount_max = count;
1746 md->node[page_to_nid(page)]++;
1752 struct numa_maps *md)
1772 gather_stats(page, md, pte_dirty(*ptep));
1778 struct numa_maps *md)
1787 struct numa_maps *md;
1796 md = kzalloc(sizeof(struct numa_maps), GFP_KERNEL);
1797 if (!md)
1816 check_huge_range(vma, vma->vm_start, vma->vm_end, md);
1820 &node_online_map, MPOL_MF_STATS, md);
1823 if (!md->pages)
1826 if (md->anon)
1827 seq_printf(m," anon=%lu",md->anon);
1829 if (md->dirty)
1830 seq_printf(m," dirty=%lu",md->dirty);
1832 if (md->pages != md->anon && md->pages != md->dirty)
1833 seq_printf(m, " mapped=%lu", md->pages);
1835 if (md->mapcount_max > 1)
1836 seq_printf(m, " mapmax=%lu", md->mapcount_max);
1838 if (md->swapcache)
1839 seq_printf(m," swapcache=%lu", md->swapcache);
1841 if (md->active < md->pages && !is_vm_hugetlb_page(vma))
1842 seq_printf(m," active=%lu", md->active);
1844 if (md->writeback)
1845 seq_printf(m," writeback=%lu", md->writeback);
1848 if (md->node[n])
1849 seq_printf(m, " N%d=%lu", n, md->node[n]);
1852 kfree(md);