Lines Matching refs:seq
1589 static int __maybe_unused segment_info_seq_show(struct seq_file *seq, in segment_info_seq_show() argument
1592 struct super_block *sb = seq->private; in segment_info_seq_show()
1598 seq_puts(seq, "format: segment_type|valid_blocks\n" in segment_info_seq_show()
1605 seq_printf(seq, "%-10d", i); in segment_info_seq_show()
1606 seq_printf(seq, "%d|%-3u", se->type, se->valid_blocks); in segment_info_seq_show()
1608 seq_putc(seq, '\n'); in segment_info_seq_show()
1610 seq_putc(seq, ' '); in segment_info_seq_show()
1616 static int __maybe_unused segment_bits_seq_show(struct seq_file *seq, in segment_bits_seq_show() argument
1619 struct super_block *sb = seq->private; in segment_bits_seq_show()
1625 seq_puts(seq, "format: segment_type|valid_blocks|bitmaps|mtime\n" in segment_bits_seq_show()
1631 seq_printf(seq, "%-10d", i); in segment_bits_seq_show()
1632 seq_printf(seq, "%d|%-3u|", se->type, se->valid_blocks); in segment_bits_seq_show()
1634 seq_printf(seq, " %.2x", se->cur_valid_map[j]); in segment_bits_seq_show()
1635 seq_printf(seq, "| %llx", se->mtime); in segment_bits_seq_show()
1636 seq_putc(seq, '\n'); in segment_bits_seq_show()
1641 static int __maybe_unused victim_bits_seq_show(struct seq_file *seq, in victim_bits_seq_show() argument
1644 struct super_block *sb = seq->private; in victim_bits_seq_show()
1649 seq_puts(seq, "format: victim_secmap bitmaps\n"); in victim_bits_seq_show()
1653 seq_printf(seq, "%-10d", i); in victim_bits_seq_show()
1654 seq_printf(seq, "%d", test_bit(i, dirty_i->victim_secmap) ? 1 : 0); in victim_bits_seq_show()
1656 seq_putc(seq, '\n'); in victim_bits_seq_show()
1658 seq_putc(seq, ' '); in victim_bits_seq_show()
1663 static int __maybe_unused discard_plist_seq_show(struct seq_file *seq, in discard_plist_seq_show() argument
1666 struct super_block *sb = seq->private; in discard_plist_seq_show()
1671 seq_puts(seq, "Discard pend list(Show diacrd_cmd count on each entry, .:not exist):\n"); in discard_plist_seq_show()
1682 seq_printf(seq, " %-3d", i); in discard_plist_seq_show()
1688 seq_printf(seq, " %7d", count); in discard_plist_seq_show()
1690 seq_puts(seq, " ."); in discard_plist_seq_show()
1692 seq_putc(seq, '\n'); in discard_plist_seq_show()
1694 seq_putc(seq, '\n'); in discard_plist_seq_show()
1701 static int __maybe_unused disk_map_seq_show(struct seq_file *seq, in disk_map_seq_show() argument
1704 struct super_block *sb = seq->private; in disk_map_seq_show()
1708 seq_printf(seq, "Address Layout : %5luB Block address (# of Segments)\n", in disk_map_seq_show()
1710 seq_printf(seq, " SB : %12s\n", "0/1024B"); in disk_map_seq_show()
1711 seq_printf(seq, " seg0_blkaddr : 0x%010x\n", SEG0_BLKADDR(sbi)); in disk_map_seq_show()
1712 seq_printf(seq, " Checkpoint : 0x%010x (%10d)\n", in disk_map_seq_show()
1714 seq_printf(seq, " SIT : 0x%010x (%10d)\n", in disk_map_seq_show()
1717 seq_printf(seq, " NAT : 0x%010x (%10d)\n", in disk_map_seq_show()
1720 seq_printf(seq, " SSA : 0x%010x (%10d)\n", in disk_map_seq_show()
1723 seq_printf(seq, " Main : 0x%010x (%10d)\n", in disk_map_seq_show()
1726 seq_printf(seq, " # of Sections : %12d\n", in disk_map_seq_show()
1728 seq_printf(seq, " Segs/Sections : %12d\n", in disk_map_seq_show()
1730 seq_printf(seq, " Section size : %12d MB\n", in disk_map_seq_show()
1736 seq_puts(seq, "\nDisk Map for multi devices:\n"); in disk_map_seq_show()
1738 seq_printf(seq, "Disk:%2d (zoned=%d): 0x%010x - 0x%010x on %s\n", in disk_map_seq_show()
1746 static int __maybe_unused inject_stats_seq_show(struct seq_file *seq, in inject_stats_seq_show() argument
1749 struct super_block *sb = seq->private; in inject_stats_seq_show()
1754 seq_puts(seq, "fault_type injected_count\n"); in inject_stats_seq_show()
1757 seq_printf(seq, "%-24s%-10u\n", f2fs_fault_name[i], in inject_stats_seq_show()