Home
last modified time | relevance | path

Searched refs:prt_printf (Results 1 – 25 of 61) sorted by relevance

123

/linux/fs/bcachefs/
A Dsb-members.c191 prt_printf(out, "Label:\t"); in member_to_text()
196 prt_printf(out, "%s (%u)", in member_to_text()
201 prt_printf(out, "(none)"); in member_to_text()
205 prt_printf(out, "UUID:\t"); in member_to_text()
209 prt_printf(out, "Size:\t"); in member_to_text()
226 prt_printf(out, "Last mount:\t"); in member_to_text()
230 prt_printf(out, "(never)"); in member_to_text()
235 prt_printf(out, "State:\t%s\n", in member_to_text()
244 prt_printf(out, "(none)"); in member_to_text()
247 prt_printf(out, "Has data:\t"); in member_to_text()
[all …]
A Dsuper-io.c1041 prt_printf(&buf, in bch2_write_super()
1054 prt_printf(&buf, in bch2_write_super()
1323 prt_printf(out, "Label:\t"); in bch2_sb_to_text()
1325 prt_printf(out, "(none)"); in bch2_sb_to_text()
1330 prt_printf(out, "Version:\t"); in bch2_sb_to_text()
1342 prt_printf(out, "Created:\t"); in bch2_sb_to_text()
1346 prt_printf(out, "(not set)"); in bch2_sb_to_text()
1366 prt_printf(out, "Sections:\t"); in bch2_sb_to_text()
1373 prt_printf(out, "Features:\t"); in bch2_sb_to_text()
1382 prt_printf(out, "Options:"); in bch2_sb_to_text()
[all …]
A Ddisk_groups.c100 prt_printf(out, " "); in bch2_disk_groups_to_text()
103 prt_printf(out, "[deleted]"); in bch2_disk_groups_to_text()
109 prt_printf(out, " %s", ca->name); in bch2_disk_groups_to_text()
110 prt_printf(out, "]"); in bch2_disk_groups_to_text()
131 prt_printf(out, " "); in bch2_sb_disk_groups_to_text()
134 prt_printf(out, "[deleted]"); in bch2_sb_disk_groups_to_text()
419 prt_printf(out, "."); in bch2_disk_path_to_text()
464 prt_printf(out, "."); in bch2_disk_path_to_text_sb()
547 prt_printf(out, "none"); in bch2_target_to_text()
585 prt_printf(out, "none"); in bch2_target_to_text_sb()
[all …]
A Djournal_sb.c43 prt_printf(err, "journal bucket at sector 0"); in bch2_sb_journal_validate()
48 prt_printf(err, "journal bucket %llu before first bucket %u", in bch2_sb_journal_validate()
54 prt_printf(err, "journal bucket %llu past end of device (nbuckets %llu)", in bch2_sb_journal_validate()
61 prt_printf(err, "duplicate journal buckets %llu", b[i]); in bch2_sb_journal_validate()
77 prt_printf(out, "Buckets: "); in bch2_sb_journal_to_text()
79 prt_printf(out, " %llu", le64_to_cpu(journal->buckets[i])); in bch2_sb_journal_to_text()
125 prt_printf(err, "journal buckets entry with bad nr: %llu+%llu", in bch2_sb_journal_v2_validate()
137 prt_printf(err, "journal bucket at sector 0"); in bch2_sb_journal_v2_validate()
142 prt_printf(err, "journal bucket %llu before first bucket %u", in bch2_sb_journal_v2_validate()
178 prt_printf(out, "Buckets: "); in bch2_sb_journal_v2_to_text()
[all …]
A Dbkey_methods.c97 prt_printf(out, "datalen %u: %*phN", in key_type_inline_data_to_text()
257 prt_printf(out, "POS_MIN"); in bch2_bpos_to_text()
259 prt_printf(out, "POS_MAX"); in bch2_bpos_to_text()
261 prt_printf(out, "SPOS_MAX"); in bch2_bpos_to_text()
264 prt_printf(out, "U64_MAX"); in bch2_bpos_to_text()
267 prt_printf(out, ":"); in bch2_bpos_to_text()
269 prt_printf(out, "U64_MAX"); in bch2_bpos_to_text()
272 prt_printf(out, ":"); in bch2_bpos_to_text()
274 prt_printf(out, "U32_MAX"); in bch2_bpos_to_text()
294 prt_printf(out, "(null)"); in bch2_bkey_to_text()
[all …]
A Djournal.c56 prt_printf(out, "seq:\t%llu\n", seq); in bch2_journal_buf_to_text()
61 prt_printf(out, "size:\t"); in bch2_journal_buf_to_text()
65 prt_printf(out, "expires:\t"); in bch2_journal_buf_to_text()
68 prt_printf(out, "flags:\t"); in bch2_journal_buf_to_text()
1444 prt_printf(out, "flags:\t"); in __bch2_journal_debug_to_text()
1472 prt_printf(out, "error\n"); in __bch2_journal_debug_to_text()
1475 prt_printf(out, "closed\n"); in __bch2_journal_debug_to_text()
1485 prt_printf(out, "space:\n"); in __bch2_journal_debug_to_text()
1493 prt_printf(out, "clean\t%u:%u\n", in __bch2_journal_debug_to_text()
1496 prt_printf(out, "total\t%u:%u\n", in __bch2_journal_debug_to_text()
[all …]
A Dalloc_foreground.c325 prt_printf(&buf, "\n "); in try_alloc_bucket()
338 prt_printf(&buf, "\n "); in try_alloc_bucket()
570 prt_printf(&buf, "copygc_wait\t%lu/%lli\n", in trace_bucket_alloc2()
1602 prt_printf(out, "%zu ref %u ", in bch2_open_bucket_to_text()
1663 prt_printf(out, "%lu: ", wp->write_point); in bch2_write_point_to_text()
1666 prt_printf(out, " last wrote: "); in bch2_write_point_to_text()
1749 prt_printf(out, "reserves:\n"); in bch2_dev_alloc_debug_to_text()
1770 prt_printf(&buf, "Allocator debug:\n"); in bch2_print_allocator_stuck()
1777 prt_printf(&buf, "Dev %u:\n", ca->dev_idx); in bch2_print_allocator_stuck()
1784 prt_printf(&buf, "Copygc debug:\n"); in bch2_print_allocator_stuck()
[all …]
A Dutil.c375 prt_printf(out, "%s\t", name); in pr_name_and_units()
433 prt_printf(out, "mean:\t"); in bch2_time_stats_to_text()
439 prt_printf(out, "stddev:\t"); in bch2_time_stats_to_text()
453 prt_printf(out, "mean:\t"); in bch2_time_stats_to_text()
459 prt_printf(out, "stddev:\t"); in bch2_time_stats_to_text()
592 prt_printf(out, "rate:\t"); in bch2_pd_controller_debug_to_text()
596 prt_printf(out, "target:\t"); in bch2_pd_controller_debug_to_text()
600 prt_printf(out, "actual:\t"); in bch2_pd_controller_debug_to_text()
604 prt_printf(out, "proportional:\t"); in bch2_pd_controller_debug_to_text()
608 prt_printf(out, "derivative:\t"); in bch2_pd_controller_debug_to_text()
[all …]
A Dopts.c104 prt_printf(out, "(unknown %s %u)", type, idx); in prt_str_opt_boundscheck()
294 prt_printf(err, "%s: too small (min %llu)", in bch2_opt_validate()
301 prt_printf(err, "%s: too big (max %llu)", in bch2_opt_validate()
350 prt_printf(err, "%s: required value", in bch2_opt_parse()
360 prt_printf(err, "%s: must be a number", in bch2_opt_parse()
367 prt_printf(err, "%s: required value", in bch2_opt_parse()
375 prt_printf(err, "%s: invalid selection", in bch2_opt_parse()
397 prt_printf(err, "%s: parse error", in bch2_opt_parse()
413 prt_printf(out, "%s%s", in bch2_opt_to_text()
419 prt_printf(out, "%s=", opt->attr.name); in bch2_opt_to_text()
[all …]
A Dquota.c28 prt_printf(err, "wrong size (got %zu should be %zu)", in bch2_sb_quota_validate()
43 prt_printf(out, "%s: flags %llx", in bch2_sb_quota_to_text()
48 prt_printf(out, " %s timelimit %u warnlimit %u", in bch2_sb_quota_to_text()
82 prt_printf(out, "%s hardlimit %llu softlimit %llu", in bch2_quota_to_text()
99 prt_printf(out, "i_fieldmask\t%x\n", i->i_fieldmask); in qc_info_to_text()
100 prt_printf(out, "i_flags\t%u\n", i->i_flags); in qc_info_to_text()
114 prt_printf(out, "d_fieldmask\t%x\n", q->d_fieldmask); in qc_dqblk_to_text()
119 prt_printf(out, "d_space\t%llu\n", q->d_space); in qc_dqblk_to_text()
120 prt_printf(out, "d_ino_count\t%llu\n", q->d_ino_count); in qc_dqblk_to_text()
123 prt_printf(out, "d_ino_warns\t%i\n", q->d_ino_warns); in qc_dqblk_to_text()
[all …]
A Ddebug.c205 prt_printf(out, "memory allocation failure\n"); in bch2_btree_node_ondisk_to_text()
243 prt_printf(out, "invalid checksum\n"); in bch2_btree_node_ondisk_to_text()
268 prt_printf(out, "invalid checksum"); in bch2_btree_node_ondisk_to_text()
482 prt_printf(out, "flags:\t"); in bch2_cached_btree_node_to_text()
487 prt_printf(out, "written:\t%u\n", b->written); in bch2_cached_btree_node_to_text()
491 prt_printf(out, "journal pin %px:\t%llu\n", in bch2_cached_btree_node_to_text()
493 prt_printf(out, "journal pin %px:\t%llu\n", in bch2_cached_btree_node_to_text()
605 prt_printf(&i->buf, "backtrace:\n"); in bch2_btree_transactions_read()
768 prt_printf(&i->buf, "Max mem used: %u\n", s->max_mem); in btree_transaction_stats_read()
769 prt_printf(&i->buf, "Transaction duration:\n"); in btree_transaction_stats_read()
[all …]
A Dbackpointers.c134 prt_printf(&buf, "found "); in backpointer_mod_err()
138 prt_printf(&buf, "for "); in backpointer_mod_err()
146 prt_printf(&buf, "searching for "); in backpointer_mod_err()
150 prt_printf(&buf, "got "); in backpointer_mod_err()
154 prt_printf(&buf, "for "); in backpointer_mod_err()
290 prt_printf(&buf, "bucket: "); in backpointer_not_found()
292 prt_printf(&buf, "\n "); in backpointer_not_found()
296 prt_printf(&buf, "\n "); in backpointer_not_found()
299 prt_printf(&buf, "\n "); in backpointer_not_found()
644 prt_printf(&buf, "\n got: "); in check_bp_exists()
[all …]
A Dsysfs.c104 prt_printf(out, fmt "\n", __VA_ARGS__); \
307 prt_printf(out, "\n"); in bch2_gc_gens_pos_to_text()
316 prt_printf(out, "hidden:\t\t%llu\n", b.hidden); in bch2_fs_usage_base_to_text()
317 prt_printf(out, "btree:\t\t%llu\n", b.btree); in bch2_fs_usage_base_to_text()
318 prt_printf(out, "data:\t\t%llu\n", b.data); in bch2_fs_usage_base_to_text()
319 prt_printf(out, "cached:\t%llu\n", b.cached); in bch2_fs_usage_base_to_text()
320 prt_printf(out, "reserved:\t\t%llu\n", b.reserved); in bch2_fs_usage_base_to_text()
321 prt_printf(out, "nr_inodes:\t%llu\n", b.nr_inodes); in bch2_fs_usage_base_to_text()
541 prt_printf(out, "since mount:\t"); \ in SHOW()
760 prt_printf(out, "%s:\n", bch2_rw[rw]); in dev_io_done_to_text()
[all …]
A Dreplicas.c52 prt_printf(out, ": %u [", e->nr_devs); in bch2_replicas_entry_v0_to_text()
54 prt_printf(out, i ? " %u" : "%u", e->devs[i]); in bch2_replicas_entry_v0_to_text()
55 prt_printf(out, "]"); in bch2_replicas_entry_v0_to_text()
65 prt_printf(out, i ? " %u" : "%u", e->devs[i]); in bch2_replicas_entry_to_text()
66 prt_printf(out, "]"); in bch2_replicas_entry_to_text()
74 prt_printf(err, "no devices in entry "); in bch2_replicas_entry_sb_validate()
80 prt_printf(err, "bad nr_required in entry "); in bch2_replicas_entry_sb_validate()
102 prt_printf(err, "no devices in entry "); in bch2_replicas_entry_validate()
133 prt_printf(out, " "); in bch2_cpu_replicas_to_text()
754 prt_printf(out, " "); in bch2_sb_replicas_to_text()
[all …]
A Dsb-errors.c18 prt_printf(out, "(unknown error %u)", id); in bch2_sb_error_id_to_text()
40 prt_printf(err, "entry with count 0 (id "); in bch2_sb_errors_validate()
42 prt_printf(err, ")"); in bch2_sb_errors_validate()
49 prt_printf(err, "entries out of order"); in bch2_sb_errors_validate()
A Djournal_seq_blacklist.c177 prt_printf(err, "entry %u start >= end (%llu >= %llu)", in bch2_sb_journal_seq_blacklist_validate()
185 prt_printf(err, "entry %u out of order with next entry (%llu > %llu)", in bch2_sb_journal_seq_blacklist_validate()
205 prt_printf(out, " "); in bch2_sb_journal_seq_blacklist_to_text()
207 prt_printf(out, "%llu-%llu", in bch2_sb_journal_seq_blacklist_to_text()
A Dmovinggc.c300 prt_printf(out, "running:\t%u\n", c->copygc_running); in bch2_copygc_wait_to_text()
301 prt_printf(out, "copygc_wait:\t%llu\n", c->copygc_wait); in bch2_copygc_wait_to_text()
302 prt_printf(out, "copygc_wait_at:\t%llu\n", c->copygc_wait_at); in bch2_copygc_wait_to_text()
304 prt_printf(out, "Currently waiting for:\t"); in bch2_copygc_wait_to_text()
309 prt_printf(out, "Currently waiting since:\t"); in bch2_copygc_wait_to_text()
315 prt_printf(out, "Currently calculated wait:\t"); in bch2_copygc_wait_to_text()
A Dsb-clean.c118 prt_printf(&buf1, "(none)"); in bch2_verify_superblock_clean()
123 prt_printf(&buf2, "(none)"); in bch2_verify_superblock_clean()
214 prt_printf(err, "wrong size (got %zu should be %zu)", in bch2_sb_clean_validate()
239 prt_printf(out, "flags: %x\n", le32_to_cpu(clean->flags)); in bch2_sb_clean_to_text()
240 prt_printf(out, "journal_seq: %llu\n", le64_to_cpu(clean->journal_seq)); in bch2_sb_clean_to_text()
A Dbtree_key_cache.c787 prt_printf(out, "keys:\t%lu\r\n", atomic_long_read(&bc->nr_keys)); in bch2_btree_key_cache_to_text()
788 prt_printf(out, "dirty:\t%lu\r\n", atomic_long_read(&bc->nr_dirty)); in bch2_btree_key_cache_to_text()
789 prt_printf(out, "table size:\t%u\r\n", bc->table.tbl->size); in bch2_btree_key_cache_to_text()
791 prt_printf(out, "shrinker:\n"); in bch2_btree_key_cache_to_text()
792 prt_printf(out, "requested_to_free:\t%lu\r\n", bc->requested_to_free); in bch2_btree_key_cache_to_text()
793 prt_printf(out, "freed:\t%lu\r\n", bc->freed); in bch2_btree_key_cache_to_text()
794 prt_printf(out, "skipped_dirty:\t%lu\r\n", bc->skipped_dirty); in bch2_btree_key_cache_to_text()
795 prt_printf(out, "skipped_accessed:\t%lu\r\n", bc->skipped_accessed); in bch2_btree_key_cache_to_text()
796 prt_printf(out, "skipped_lock_fail:\t%lu\r\n", bc->skipped_lock_fail); in bch2_btree_key_cache_to_text()
798 prt_printf(out, "pending:\t%zu\r\n", per_cpu_sum(bc->nr_pending)); in bch2_btree_key_cache_to_text()
A Dnocow_locking.c110 prt_printf(out, "(%u empty entries)\n", nr_zero); in bch2_nocow_locks_to_text()
117 prt_printf(out, ": %s %u ", v < 0 ? "copy" : "update", abs(v)); in bch2_nocow_locks_to_text()
124 prt_printf(out, "(%u empty entries)\n", nr_zero); in bch2_nocow_locks_to_text()
A Dchecksum.c450 prt_printf(&buf, "checksum error in %s() (memory corruption or bug?)\n" in bch2_rechecksum_bio()
494 prt_printf(err, "wrong size (got %zu should be %zu)", in bch2_sb_crypt_validate()
500 prt_printf(err, "bad kdf type %llu", BCH_CRYPT_KDF_TYPE(crypt)); in bch2_sb_crypt_validate()
512 prt_printf(out, "KFD: %llu\n", BCH_CRYPT_KDF_TYPE(crypt)); in bch2_sb_crypt_to_text()
513 prt_printf(out, "scrypt n: %llu\n", BCH_KDF_SCRYPT_N(crypt)); in bch2_sb_crypt_to_text()
514 prt_printf(out, "scrypt r: %llu\n", BCH_KDF_SCRYPT_R(crypt)); in bch2_sb_crypt_to_text()
515 prt_printf(out, "scrypt p: %llu\n", BCH_KDF_SCRYPT_P(crypt)); in bch2_sb_crypt_to_text()
586 prt_printf(&key_description, "bcachefs:"); in bch2_request_key()
614 prt_printf(&key_description, "bcachefs:"); in bch2_revoke_key()
A Dio_misc.c220 prt_printf(out, "subvol=%u", le32_to_cpu(op.v->subvol)); in bch2_logged_op_truncate_to_text()
221 prt_printf(out, " inum=%llu", le64_to_cpu(op.v->inum)); in bch2_logged_op_truncate_to_text()
222 prt_printf(out, " new_i_size=%llu", le64_to_cpu(op.v->new_i_size)); in bch2_logged_op_truncate_to_text()
312 prt_printf(out, "subvol=%u", le32_to_cpu(op.v->subvol)); in bch2_logged_op_finsert_to_text()
313 prt_printf(out, " inum=%llu", le64_to_cpu(op.v->inum)); in bch2_logged_op_finsert_to_text()
314 prt_printf(out, " dst_offset=%lli", le64_to_cpu(op.v->dst_offset)); in bch2_logged_op_finsert_to_text()
315 prt_printf(out, " src_offset=%llu", le64_to_cpu(op.v->src_offset)); in bch2_logged_op_finsert_to_text()
A Ddisk_accounting.c193 prt_printf(out, "unknown type %u", k->type); in bch2_accounting_key_to_text()
204 prt_printf(out, "replicas=%u", k->persistent_reserved.nr_replicas); in bch2_accounting_key_to_text()
210 prt_printf(out, "dev=%u data_type=", k->dev_data_type.dev); in bch2_accounting_key_to_text()
217 prt_printf(out, "id=%u", k->snapshot.id); in bch2_accounting_key_to_text()
220 prt_printf(out, "btree=%s", bch2_btree_id_str(k->btree.id)); in bch2_accounting_key_to_text()
234 prt_printf(out, " %lli", acc.v->d[i]); in bch2_accounting_to_text()
482 prt_printf(out, " %llu", v[j]); in bch2_fs_accounting_to_text()
559 prt_printf(&buf, " %llu", dst_v[j]); in bch2_gc_accounting_done()
563 prt_printf(&buf, " %llu", src_v[j]); in bch2_gc_accounting_done()
897 prt_printf(&buf, " %llu", v[j]); in bch2_verify_accounting_clean()
[all …]
A Dbtree_locking.c76 prt_printf(out, "Found lock cycle (%u entries):\n", g->nr); in print_cycle()
96 prt_printf(out, "%u ", task ?task->pid : 0); in print_chain()
210 prt_printf(&buf, bch2_fmt(g->g->trans->c, "cycle of nofail locks")); in break_cycle()
217 prt_printf(&buf, "backtrace:\n"); in break_cycle()
740 prt_printf(&buf, " l=%u seq=%u node seq=", f->l, path->l[f->l].lock_seq); in bch2_trans_relock_fail()
744 prt_printf(&buf, "%u", f->b->c.lock.seq); in bch2_trans_relock_fail()
748 prt_printf(&buf, " self locked %u.%u.%u", c.n[0], c.n[1], c.n[2]); in bch2_trans_relock_fail()
751 prt_printf(&buf, " total locked %u.%u.%u", c.n[0], c.n[1], c.n[2]); in bch2_trans_relock_fail()
A Dbtree_cache.c1006 prt_printf(&buf, in btree_bad_header()
1019 prt_printf(&buf, "\nmax "); in btree_bad_header()
1403 prt_printf(out, "%s level %u/%u\n ", in bch2_btree_pos_to_text()
1420 prt_printf(out, " - "); in bch2_btree_node_to_text()
1422 prt_printf(out, ":\n" in bch2_btree_node_to_text()
1427 prt_printf(out, in bch2_btree_node_to_text()
1431 prt_printf(out, in bch2_btree_node_to_text()
1455 prt_printf(out, "%s\t", label); in prt_btree_cache_line()
1457 prt_printf(out, " (%zu)\n", nr); in prt_btree_cache_line()
1486 prt_printf(out, "not freed:\n"); in bch2_btree_cache_to_text()
[all …]

Completed in 55 milliseconds

123