• Home
  • Raw
  • Download

Lines Matching refs:m

1365 static void *frag_start(struct seq_file *m, loff_t *pos)  in frag_start()  argument
1378 static void *frag_next(struct seq_file *m, void *arg, loff_t *pos) in frag_next() argument
1386 static void frag_stop(struct seq_file *m, void *arg) in frag_stop() argument
1394 static void walk_zones_in_node(struct seq_file *m, pg_data_t *pgdat, in walk_zones_in_node() argument
1396 void (*print)(struct seq_file *m, pg_data_t *, struct zone *)) in walk_zones_in_node() argument
1408 print(m, pgdat, zone); in walk_zones_in_node()
1416 static void frag_show_print(struct seq_file *m, pg_data_t *pgdat, in frag_show_print() argument
1421 seq_printf(m, "Node %d, zone %8s ", pgdat->node_id, zone->name); in frag_show_print()
1423 seq_printf(m, "%6lu ", zone->free_area[order].nr_free); in frag_show_print()
1424 seq_putc(m, '\n'); in frag_show_print()
1430 static int frag_show(struct seq_file *m, void *arg) in frag_show() argument
1433 walk_zones_in_node(m, pgdat, true, false, frag_show_print); in frag_show()
1437 static void pagetypeinfo_showfree_print(struct seq_file *m, in pagetypeinfo_showfree_print() argument
1443 seq_printf(m, "Node %4d, zone %8s, type %12s ", in pagetypeinfo_showfree_print()
1470 seq_printf(m, "%s%6lu ", overflow ? ">" : "", freecount); in pagetypeinfo_showfree_print()
1475 seq_putc(m, '\n'); in pagetypeinfo_showfree_print()
1480 static int pagetypeinfo_showfree(struct seq_file *m, void *arg) in pagetypeinfo_showfree() argument
1486 seq_printf(m, "%-43s ", "Free pages count per migrate type at order"); in pagetypeinfo_showfree()
1488 seq_printf(m, "%6d ", order); in pagetypeinfo_showfree()
1489 seq_putc(m, '\n'); in pagetypeinfo_showfree()
1491 walk_zones_in_node(m, pgdat, true, false, pagetypeinfo_showfree_print); in pagetypeinfo_showfree()
1496 static void pagetypeinfo_showblockcount_print(struct seq_file *m, in pagetypeinfo_showblockcount_print() argument
1522 seq_printf(m, "Node %d, zone %8s ", pgdat->node_id, zone->name); in pagetypeinfo_showblockcount_print()
1524 seq_printf(m, "%12lu ", count[mtype]); in pagetypeinfo_showblockcount_print()
1525 seq_putc(m, '\n'); in pagetypeinfo_showblockcount_print()
1529 static int pagetypeinfo_showblockcount(struct seq_file *m, void *arg) in pagetypeinfo_showblockcount() argument
1534 seq_printf(m, "\n%-23s", "Number of blocks type "); in pagetypeinfo_showblockcount()
1536 seq_printf(m, "%12s ", migratetype_names[mtype]); in pagetypeinfo_showblockcount()
1537 seq_putc(m, '\n'); in pagetypeinfo_showblockcount()
1538 walk_zones_in_node(m, pgdat, true, false, in pagetypeinfo_showblockcount()
1550 static void pagetypeinfo_showmixedcount(struct seq_file *m, pg_data_t *pgdat) in pagetypeinfo_showmixedcount() argument
1560 seq_printf(m, "\n%-23s", "Number of mixed blocks "); in pagetypeinfo_showmixedcount()
1562 seq_printf(m, "%12s ", migratetype_names[mtype]); in pagetypeinfo_showmixedcount()
1563 seq_putc(m, '\n'); in pagetypeinfo_showmixedcount()
1565 walk_zones_in_node(m, pgdat, true, true, in pagetypeinfo_showmixedcount()
1574 static int pagetypeinfo_show(struct seq_file *m, void *arg) in pagetypeinfo_show() argument
1582 seq_printf(m, "Page block order: %d\n", pageblock_order); in pagetypeinfo_show()
1583 seq_printf(m, "Pages per block: %lu\n", pageblock_nr_pages); in pagetypeinfo_show()
1584 seq_putc(m, '\n'); in pagetypeinfo_show()
1585 pagetypeinfo_showfree(m, pgdat); in pagetypeinfo_show()
1586 pagetypeinfo_showblockcount(m, pgdat); in pagetypeinfo_show()
1587 pagetypeinfo_showmixedcount(m, pgdat); in pagetypeinfo_show()
1620 static void zoneinfo_show_print(struct seq_file *m, pg_data_t *pgdat, in zoneinfo_show_print() argument
1624 seq_printf(m, "Node %d, zone %8s", pgdat->node_id, zone->name); in zoneinfo_show_print()
1626 seq_printf(m, "\n per-node stats"); in zoneinfo_show_print()
1628 seq_printf(m, "\n %-12s %lu", node_stat_name(i), in zoneinfo_show_print()
1632 seq_printf(m, in zoneinfo_show_print()
1650 seq_printf(m, in zoneinfo_show_print()
1654 seq_printf(m, ", %ld", zone->lowmem_reserve[i]); in zoneinfo_show_print()
1655 seq_putc(m, ')'); in zoneinfo_show_print()
1659 seq_putc(m, '\n'); in zoneinfo_show_print()
1664 seq_printf(m, "\n %-12s %lu", zone_stat_name(i), in zoneinfo_show_print()
1669 seq_printf(m, "\n %-12s %lu", numa_stat_name(i), in zoneinfo_show_print()
1673 seq_printf(m, "\n pagesets"); in zoneinfo_show_print()
1678 seq_printf(m, in zoneinfo_show_print()
1688 seq_printf(m, "\n vm stats threshold: %d", in zoneinfo_show_print()
1692 seq_printf(m, in zoneinfo_show_print()
1697 seq_putc(m, '\n'); in zoneinfo_show_print()
1706 static int zoneinfo_show(struct seq_file *m, void *arg) in zoneinfo_show() argument
1709 walk_zones_in_node(m, pgdat, false, false, zoneinfo_show_print); in zoneinfo_show()
1728 static void *vmstat_start(struct seq_file *m, loff_t *pos) in vmstat_start() argument
1738 m->private = v; in vmstat_start()
1764 return (unsigned long *)m->private + *pos; in vmstat_start()
1767 static void *vmstat_next(struct seq_file *m, void *arg, loff_t *pos) in vmstat_next() argument
1772 return (unsigned long *)m->private + *pos; in vmstat_next()
1775 static int vmstat_show(struct seq_file *m, void *arg) in vmstat_show() argument
1778 unsigned long off = l - (unsigned long *)m->private; in vmstat_show()
1780 seq_puts(m, vmstat_text[off]); in vmstat_show()
1781 seq_put_decimal_ull(m, " ", *l); in vmstat_show()
1782 seq_putc(m, '\n'); in vmstat_show()
1789 seq_puts(m, "nr_unstable 0\n"); in vmstat_show()
1794 static void vmstat_stop(struct seq_file *m, void *arg) in vmstat_stop() argument
1796 kfree(m->private); in vmstat_stop()
1797 m->private = NULL; in vmstat_stop()
2082 static void unusable_show_print(struct seq_file *m, in unusable_show_print() argument
2089 seq_printf(m, "Node %d, zone %8s ", in unusable_show_print()
2095 seq_printf(m, "%d.%03d ", index / 1000, index % 1000); in unusable_show_print()
2098 seq_putc(m, '\n'); in unusable_show_print()
2110 static int unusable_show(struct seq_file *m, void *arg) in unusable_show() argument
2118 walk_zones_in_node(m, pgdat, true, false, unusable_show_print); in unusable_show()
2132 static void extfrag_show_print(struct seq_file *m, in extfrag_show_print() argument
2141 seq_printf(m, "Node %d, zone %8s ", in extfrag_show_print()
2147 seq_printf(m, "%d.%03d ", index / 1000, index % 1000); in extfrag_show_print()
2150 seq_putc(m, '\n'); in extfrag_show_print()
2156 static int extfrag_show(struct seq_file *m, void *arg) in extfrag_show() argument
2160 walk_zones_in_node(m, pgdat, true, false, extfrag_show_print); in extfrag_show()