Lines Matching refs:out

13 void bch2_sb_error_id_to_text(struct printbuf *out, enum bch_sb_error_id id)  in bch2_sb_error_id_to_text()  argument
16 prt_str(out, bch2_sb_error_strs[id]); in bch2_sb_error_id_to_text()
18 prt_printf(out, "(unknown error %u)", id); in bch2_sb_error_id_to_text()
57 static void bch2_sb_errors_to_text(struct printbuf *out, struct bch_sb *sb, in bch2_sb_errors_to_text() argument
63 if (out->nr_tabstops <= 1) in bch2_sb_errors_to_text()
64 printbuf_tabstop_push(out, 16); in bch2_sb_errors_to_text()
67 bch2_sb_error_id_to_text(out, BCH_SB_ERROR_ENTRY_ID(&e->entries[i])); in bch2_sb_errors_to_text()
68 prt_tab(out); in bch2_sb_errors_to_text()
69 prt_u64(out, BCH_SB_ERROR_ENTRY_NR(&e->entries[i])); in bch2_sb_errors_to_text()
70 prt_tab(out); in bch2_sb_errors_to_text()
71 bch2_prt_datetime(out, le64_to_cpu(e->entries[i].last_error_time)); in bch2_sb_errors_to_text()
72 prt_newline(out); in bch2_sb_errors_to_text()
81 void bch2_fs_errors_to_text(struct printbuf *out, struct bch_fs *c) in bch2_fs_errors_to_text() argument
83 if (out->nr_tabstops < 1) in bch2_fs_errors_to_text()
84 printbuf_tabstop_push(out, 48); in bch2_fs_errors_to_text()
85 if (out->nr_tabstops < 2) in bch2_fs_errors_to_text()
86 printbuf_tabstop_push(out, 8); in bch2_fs_errors_to_text()
87 if (out->nr_tabstops < 3) in bch2_fs_errors_to_text()
88 printbuf_tabstop_push(out, 16); in bch2_fs_errors_to_text()
94 bch2_sb_error_id_to_text(out, i->id); in bch2_fs_errors_to_text()
95 prt_tab(out); in bch2_fs_errors_to_text()
96 prt_u64(out, i->nr); in bch2_fs_errors_to_text()
97 prt_tab(out); in bch2_fs_errors_to_text()
98 bch2_prt_datetime(out, i->last_error_time); in bch2_fs_errors_to_text()
99 prt_newline(out); in bch2_fs_errors_to_text()
118 goto out; in bch2_sb_error_count()
125 goto out; in bch2_sb_error_count()
128 out: in bch2_sb_error_count()