Home
last modified time | relevance | path

Searched refs:printbuf (Results 1 – 25 of 117) sorted by relevance

12345

/linux/fs/bcachefs/
A Dprintbuf.h76 struct printbuf { struct
107 const char *bch2_printbuf_str(const struct printbuf *);
108 void bch2_printbuf_exit(struct printbuf *);
110 void bch2_printbuf_tabstops_reset(struct printbuf *);
111 void bch2_printbuf_tabstop_pop(struct printbuf *);
117 void bch2_prt_newline(struct printbuf *);
119 void bch2_prt_tab(struct printbuf *);
120 void bch2_prt_tab_rjust(struct printbuf *);
125 void bch2_prt_units_u64(struct printbuf *, u64);
126 void bch2_prt_units_s64(struct printbuf *, s64);
[all …]
A Dprintbuf.c26 static inline unsigned cur_tabstop(struct printbuf *buf) in cur_tabstop()
216 void bch2_printbuf_exit(struct printbuf *buf) in bch2_printbuf_exit()
229 void bch2_printbuf_tabstop_pop(struct printbuf *buf) in bch2_printbuf_tabstop_pop()
303 void bch2_prt_newline(struct printbuf *buf) in bch2_prt_newline()
333 static void __prt_tab(struct printbuf *out) in __prt_tab()
349 void bch2_prt_tab(struct printbuf *out) in bch2_prt_tab()
357 static void __prt_tab_rjust(struct printbuf *buf) in __prt_tab_rjust()
376 void bch2_prt_tab_rjust(struct printbuf *buf) in bch2_prt_tab_rjust()
464 void bch2_prt_string_option(struct printbuf *out, in bch2_prt_string_option()
472 void bch2_prt_bitflags(struct printbuf *out, in bch2_prt_bitflags()
[all …]
A Dsuper-io.h19 void bch2_version_to_text(struct printbuf *, unsigned);
55 enum bch_validate_flags, struct printbuf *);
56 void (*to_text)(struct printbuf *, struct bch_sb *, struct bch_sb_field *);
97 void __bch2_sb_field_to_text(struct printbuf *, struct bch_sb *,
99 void bch2_sb_field_to_text(struct printbuf *, struct bch_sb *,
101 void bch2_sb_layout_to_text(struct printbuf *, struct bch_sb_layout *);
102 void bch2_sb_to_text(struct printbuf *, struct bch_sb *, bool, unsigned);
A Ddisk_groups.h88 void bch2_disk_path_to_text(struct printbuf *, struct bch_fs *, unsigned);
89 void bch2_disk_path_to_text_sb(struct printbuf *, struct bch_sb *, unsigned);
91 void bch2_target_to_text(struct printbuf *out, struct bch_fs *, unsigned);
93 int bch2_opt_target_parse(struct bch_fs *, const char *, u64 *, struct printbuf *);
94 void bch2_opt_target_to_text(struct printbuf *, struct bch_fs *, struct bch_sb *, u64);
109 void bch2_disk_groups_to_text(struct printbuf *, struct bch_fs *);
A Dopts.h28 void bch2_prt_fs_usage_type(struct printbuf *, enum bch_fs_usage_type);
29 void bch2_prt_data_type(struct printbuf *, enum bch_data_type);
30 void bch2_prt_csum_type(struct printbuf *, enum bch_csum_type);
32 void bch2_prt_str_hash_type(struct printbuf *, enum bch_str_hash_type);
80 int (*parse)(struct bch_fs *, const char *, u64 *, struct printbuf *);
82 int (*validate)(u64, struct printbuf *);
529 struct printbuf parse_later;
567 struct printbuf;
602 const char *, u64 *, struct printbuf *);
609 void bch2_opts_to_text(struct printbuf *,
[all …]
A Dcompress.h61 void bch2_compression_opt_to_text(struct printbuf *, u64);
63 int bch2_opt_compression_parse(struct bch_fs *, const char *, u64 *, struct printbuf *);
64 void bch2_opt_compression_to_text(struct printbuf *, struct bch_fs *, struct bch_sb *, u64);
65 int bch2_opt_compression_validate(u64, struct printbuf *);
A Dbkey_methods.h26 void (*val_to_text)(struct printbuf *, struct bch_fs *,
59 void bch2_bpos_to_text(struct printbuf *, struct bpos);
60 void bch2_bkey_to_text(struct printbuf *, const struct bkey *);
61 void bch2_val_to_text(struct printbuf *, struct bch_fs *,
63 void bch2_bkey_val_to_text(struct printbuf *, struct bch_fs *,
A Dalloc_foreground.h226 void bch2_open_bucket_to_text(struct printbuf *, struct bch_fs *, struct open_bucket *);
227 void bch2_open_buckets_to_text(struct printbuf *, struct bch_fs *, struct bch_dev *);
228 void bch2_open_buckets_partial_to_text(struct printbuf *, struct bch_fs *);
230 void bch2_write_points_to_text(struct printbuf *, struct bch_fs *);
232 void bch2_fs_alloc_debug_to_text(struct printbuf *, struct bch_fs *);
233 void bch2_dev_alloc_debug_to_text(struct printbuf *, struct bch_dev *);
A Dbtree_cache.h142 void bch2_btree_id_to_text(struct printbuf *, enum btree_id);
144 void bch2_btree_pos_to_text(struct printbuf *, struct bch_fs *, const struct btree *);
145 void bch2_btree_node_to_text(struct printbuf *, struct bch_fs *, const struct btree *);
146 void bch2_btree_cache_to_text(struct printbuf *, const struct btree_cache *);
A Dreflink.h8 void bch2_reflink_p_to_text(struct printbuf *, struct bch_fs *, struct bkey_s_c);
23 void bch2_reflink_v_to_text(struct printbuf *, struct bch_fs *, struct bkey_s_c);
38 void bch2_indirect_inline_data_to_text(struct printbuf *,
A Dopts.c98 static void prt_str_opt_boundscheck(struct printbuf *out, const char * const opts[], in prt_str_opt_boundscheck()
108 void bch2_prt_##name(struct printbuf *out, type t) \
121 struct printbuf *err) in bch2_opt_fix_errors_parse()
138 static void bch2_opt_fix_errors_to_text(struct printbuf *out, in bch2_opt_fix_errors_to_text()
290 int bch2_opt_validate(const struct bch_option *opt, u64 v, struct printbuf *err) in bch2_opt_validate()
329 struct printbuf *err) in bch2_opt_parse()
406 void bch2_opt_to_text(struct printbuf *out, in bch2_opt_to_text()
449 void bch2_opts_to_text(struct printbuf *out, in bch2_opts_to_text()
509 struct printbuf *parse_later, in bch2_parse_one_mount_opt()
512 struct printbuf err = PRINTBUF; in bch2_parse_one_mount_opt()
[all …]
A Dreplicas.h10 void bch2_replicas_entry_to_text(struct printbuf *,
13 struct bch_fs *, struct printbuf *);
14 void bch2_cpu_replicas_to_text(struct printbuf *, struct bch_replicas_cpu *);
A Dlru.c26 void bch2_lru_to_text(struct printbuf *out, struct bch_fs *c, in bch2_lru_to_text()
34 void bch2_lru_pos_to_text(struct printbuf *out, struct bpos lru) in bch2_lru_pos_to_text()
86 struct printbuf buf = PRINTBUF; in bch2_lru_check_set()
129 struct printbuf buf1 = PRINTBUF; in bch2_check_lru_key()
130 struct printbuf buf2 = PRINTBUF; in bch2_check_lru_key()
A Dutil.h103 void bch2_pr_time_units(struct printbuf *, u64);
104 void bch2_prt_datetime(struct printbuf *, time64_t);
115 static inline void pr_uuid(struct printbuf *out, u8 *uuid) in pr_uuid()
200 void bch2_prt_u64_base2_nbits(struct printbuf *, u64, unsigned);
201 void bch2_prt_u64_base2(struct printbuf *, u64);
208 void bch2_prt_backtrace(struct printbuf *, bch_stacktrace *);
209 int bch2_prt_task_backtrace(struct printbuf *, struct task_struct *, unsigned, gfp_t);
211 static inline void prt_bdevname(struct printbuf *out, struct block_device *bdev) in prt_bdevname()
220 void bch2_time_stats_to_text(struct printbuf *, struct bch2_time_stats *);
276 void bch2_pd_controller_debug_to_text(struct printbuf *, struct bch_pd_controller *);
A Dsuper-io.c44 void bch2_version_to_text(struct printbuf *out, unsigned v) in bch2_version_to_text()
79 enum bch_validate_flags, struct printbuf *);
173 struct printbuf buf = PRINTBUF; in bch2_sb_realloc()
701 struct printbuf err = PRINTBUF; in __bch2_read_super()
702 struct printbuf err2 = PRINTBUF; in __bch2_read_super()
936 struct printbuf err = PRINTBUF; in bch2_write_super()
1011 struct printbuf buf = PRINTBUF; in bch2_write_super()
1038 struct printbuf buf = PRINTBUF; in bch2_write_super()
1051 struct printbuf buf = PRINTBUF; in bch2_write_super()
1173 enum bch_validate_flags flags, struct printbuf *err) in bch2_sb_ext_validate()
[all …]
A Ddisk_groups.c22 enum bch_validate_flags flags, struct printbuf *err) in bch2_sb_disk_groups_validate()
89 void bch2_disk_groups_to_text(struct printbuf *out, struct bch_fs *c) in bch2_disk_groups_to_text()
118 static void bch2_sb_disk_groups_to_text(struct printbuf *out, in bch2_sb_disk_groups_to_text()
380 void bch2_disk_path_to_text(struct printbuf *out, struct bch_fs *c, unsigned v) in bch2_disk_path_to_text()
430 void bch2_disk_path_to_text_sb(struct printbuf *out, struct bch_sb *sb, unsigned v) in bch2_disk_path_to_text_sb()
505 struct printbuf *err) in bch2_opt_target_parse()
541 void bch2_target_to_text(struct printbuf *out, struct bch_fs *c, unsigned v) in bch2_target_to_text()
579 static void bch2_target_to_text_sb(struct printbuf *out, struct bch_sb *sb, unsigned v) in bch2_target_to_text_sb()
607 void bch2_opt_target_to_text(struct printbuf *out, in bch2_opt_target_to_text()
A Dio_misc.h12 void bch2_logged_op_truncate_to_text(struct printbuf *, struct bch_fs *, struct bkey_s_c);
23 void bch2_logged_op_finsert_to_text(struct printbuf *, struct bch_fs *, struct bkey_s_c);
A Ddata_update.h20 void bch2_data_update_opts_to_text(struct printbuf *, struct bch_fs *,
33 void bch2_data_update_to_text(struct printbuf *, struct data_update *);
A Dutil.c244 void bch2_prt_u64_base2_nbits(struct printbuf *out, u64 v, unsigned nr_bits) in bch2_prt_u64_base2_nbits()
250 void bch2_prt_u64_base2(struct printbuf *out, u64 v) in bch2_prt_u64_base2()
322 void bch2_prt_backtrace(struct printbuf *out, bch_stacktrace *stack) in bch2_prt_backtrace()
330 int bch2_prt_task_backtrace(struct printbuf *out, struct task_struct *task, unsigned skipnr, gfp_t … in bch2_prt_task_backtrace()
342 void bch2_prt_datetime(struct printbuf *out, time64_t sec) in bch2_prt_datetime()
351 void bch2_prt_datetime(struct printbuf *out, time64_t sec) in bch2_prt_datetime()
359 void bch2_pr_time_units(struct printbuf *out, u64 ns) in bch2_pr_time_units()
366 static void bch2_pr_time_units_aligned(struct printbuf *out, u64 ns) in bch2_pr_time_units_aligned()
373 static inline void pr_name_and_units(struct printbuf *out, const char *name, u64 ns) in pr_name_and_units()
382 void bch2_time_stats_to_text(struct printbuf *out, struct bch2_time_stats *stats) in bch2_time_stats_to_text()
[all …]
A Djournal_io.c48 void bch2_journal_ptrs_to_text(struct printbuf *out, struct bch_fs *c, in bch2_journal_ptrs_to_text()
59 static void bch2_journal_replay_to_text(struct printbuf *out, struct bch_fs *c, in bch2_journal_replay_to_text()
145 struct printbuf buf = PRINTBUF; in journal_entry_add()
267 static void journal_entry_err_msg(struct printbuf *out, in journal_entry_err_msg()
297 struct printbuf _buf = PRINTBUF; \
596 struct printbuf err = PRINTBUF; in journal_entry_data_usage_validate()
838 void bch2_journal_entry_to_text(struct printbuf *out, struct bch_fs *c, in bch2_journal_entry_to_text()
1003 struct printbuf err = PRINTBUF; in journal_read_bucket()
1194 struct printbuf buf = PRINTBUF; in bch2_journal_read()
1319 struct printbuf buf1 = PRINTBUF, buf2 = PRINTBUF; in bch2_journal_read()
[all …]
A Dreplicas.c47 static void bch2_replicas_entry_v0_to_text(struct printbuf *out, in bch2_replicas_entry_v0_to_text()
58 void bch2_replicas_entry_to_text(struct printbuf *out, in bch2_replicas_entry_to_text()
71 struct printbuf *err) in bch2_replicas_entry_sb_validate()
99 struct printbuf *err) in bch2_replicas_entry_validate()
125 void bch2_cpu_replicas_to_text(struct printbuf *out, in bch2_cpu_replicas_to_text()
693 struct printbuf *err) in bch2_cpu_replicas_validate()
729 enum bch_validate_flags flags, struct printbuf *err) in bch2_sb_replicas_validate()
744 static void bch2_sb_replicas_to_text(struct printbuf *out, in bch2_sb_replicas_to_text()
768 enum bch_validate_flags flags, struct printbuf *err) in bch2_sb_replicas_v0_validate()
783 static void bch2_sb_replicas_v0_to_text(struct printbuf *out, in bch2_sb_replicas_v0_to_text()
[all …]
A Dlru.h37 void bch2_lru_to_text(struct printbuf *, struct bch_fs *, struct bkey_s_c);
39 void bch2_lru_pos_to_text(struct printbuf *, struct bpos);
A Djournal_sb.c20 enum bch_validate_flags flags, struct printbuf *err) in bch2_sb_journal_validate()
71 static void bch2_sb_journal_to_text(struct printbuf *out, struct bch_sb *sb, in bch2_sb_journal_to_text()
102 enum bch_validate_flags flags, struct printbuf *err) in bch2_sb_journal_v2_validate()
172 static void bch2_sb_journal_v2_to_text(struct printbuf *out, struct bch_sb *sb, in bch2_sb_journal_v2_to_text()
A Dbkey_methods.c67 static void key_type_cookie_to_text(struct printbuf *out, struct bch_fs *c, in key_type_cookie_to_text()
91 static void key_type_inline_data_to_text(struct printbuf *out, struct bch_fs *c, in key_type_inline_data_to_text()
254 void bch2_bpos_to_text(struct printbuf *out, struct bpos pos) in bch2_bpos_to_text()
280 void bch2_bkey_to_text(struct printbuf *out, const struct bkey *k) in bch2_bkey_to_text()
298 void bch2_val_to_text(struct printbuf *out, struct bch_fs *c, in bch2_val_to_text()
307 void bch2_bkey_val_to_text(struct printbuf *out, struct bch_fs *c, in bch2_bkey_val_to_text()
A Dsb-errors.c13 void bch2_sb_error_id_to_text(struct printbuf *out, enum bch_sb_error_id id) in bch2_sb_error_id_to_text()
33 enum bch_validate_flags flags, struct printbuf *err) in bch2_sb_errors_validate()
57 static void bch2_sb_errors_to_text(struct printbuf *out, struct bch_sb *sb, in bch2_sb_errors_to_text()

Completed in 51 milliseconds

12345