| /linux-6.15/fs/bcachefs/ |
| H A D | sb-members.c | 193 prt_printf(out, "Label:\t"); in member_to_text() 198 prt_printf(out, "%s (%u)", in member_to_text() 203 prt_printf(out, "(none)"); in member_to_text() 207 prt_printf(out, "UUID:\t"); in member_to_text() 211 prt_printf(out, "Size:\t"); in member_to_text() 228 prt_printf(out, "Last mount:\t"); in member_to_text() 232 prt_printf(out, "(never)"); in member_to_text() 237 prt_printf(out, "State:\t%s\n", in member_to_text() 246 prt_printf(out, "(none)"); in member_to_text() 249 prt_printf(out, "Has data:\t"); in member_to_text() [all …]
|
| H A D | super-io.c | 1128 prt_printf(&buf, in bch2_write_super() 1148 prt_printf(&buf, in bch2_write_super() 1424 prt_printf(out, "Label:\t"); in bch2_sb_to_text() 1426 prt_printf(out, "(none)"); in bch2_sb_to_text() 1431 prt_printf(out, "Version:\t"); in bch2_sb_to_text() 1451 prt_printf(out, "Created:\t"); in bch2_sb_to_text() 1455 prt_printf(out, "(not set)"); in bch2_sb_to_text() 1475 prt_printf(out, "Sections:\t"); in bch2_sb_to_text() 1482 prt_printf(out, "Features:\t"); in bch2_sb_to_text() 1491 prt_printf(out, "Options:"); in bch2_sb_to_text() [all …]
|
| H A D | disk_groups.c | 100 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() 546 prt_printf(out, "none"); in bch2_target_to_text() 584 prt_printf(out, "none"); in bch2_target_to_text_sb() [all …]
|
| H A D | journal_sb.c | 43 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 …]
|
| H A D | bkey_methods.c | 97 prt_printf(out, "datalen %u: %*phN", in key_type_inline_data_to_text() 274 prt_printf(out, "POS_MIN"); in bch2_bpos_to_text() 276 prt_printf(out, "POS_MAX"); in bch2_bpos_to_text() 278 prt_printf(out, "SPOS_MAX"); in bch2_bpos_to_text() 281 prt_printf(out, "U64_MAX"); in bch2_bpos_to_text() 284 prt_printf(out, ":"); in bch2_bpos_to_text() 286 prt_printf(out, "U64_MAX"); in bch2_bpos_to_text() 289 prt_printf(out, ":"); in bch2_bpos_to_text() 291 prt_printf(out, "U32_MAX"); in bch2_bpos_to_text() 311 prt_printf(out, "(null)"); in bch2_bkey_to_text() [all …]
|
| H A D | journal.c | 49 prt_printf(out, "seq:\t%llu\n", seq); in bch2_journal_buf_to_text() 60 prt_printf(out, "size:\t"); in bch2_journal_buf_to_text() 67 prt_printf(out, "flags:\t"); in bch2_journal_buf_to_text() 1656 prt_printf(out, "flags:\t"); in __bch2_journal_debug_to_text() 1681 prt_printf(out, "current entry:\t"); in __bch2_journal_debug_to_text() 1685 prt_printf(out, "error\n"); in __bch2_journal_debug_to_text() 1688 prt_printf(out, "closed\n"); in __bch2_journal_debug_to_text() 1691 prt_printf(out, "blocked\n"); in __bch2_journal_debug_to_text() 1701 prt_printf(out, "space:\n"); in __bch2_journal_debug_to_text() 1709 prt_printf(out, "clean\t%u:%u\n", in __bch2_journal_debug_to_text() [all …]
|
| H A D | alloc_foreground.c | 471 prt_printf(&buf, "blocking\t%u\n", cl != NULL); in trace_bucket_alloc2() 474 prt_printf(&buf, "copygc_wait\t%lu/%lli\n", in trace_bucket_alloc2() 1559 prt_printf(out, "%zu ref %u ", in bch2_open_bucket_to_text() 1567 prt_printf(out, " ec idx %llu", ob->ec->idx); in bch2_open_bucket_to_text() 1620 prt_printf(out, "%lu: ", wp->write_point); in bch2_write_point_to_text() 1623 prt_printf(out, " last wrote: "); in bch2_write_point_to_text() 1706 prt_printf(out, "reserves:\n"); in bch2_dev_alloc_debug_to_text() 1728 prt_printf(&buf, "Allocator debug:\n"); in bch2_print_allocator_stuck() 1735 prt_printf(&buf, "Dev %u:\n", ca->dev_idx); in bch2_print_allocator_stuck() 1742 prt_printf(&buf, "Copygc debug:\n"); in bch2_print_allocator_stuck() [all …]
|
| H A D | opts.c | 105 prt_printf(out, "(unknown %s %u)", type, idx); in prt_str_opt_boundscheck() 301 prt_printf(err, "%s: too small (min %llu)", in bch2_opt_validate() 308 prt_printf(err, "%s: too big (max %llu)", in bch2_opt_validate() 358 prt_printf(err, "%s: required value", in bch2_opt_parse() 368 prt_printf(err, "%s: must be a number", in bch2_opt_parse() 375 prt_printf(err, "%s: required value", in bch2_opt_parse() 383 prt_printf(err, "%s: invalid selection", in bch2_opt_parse() 405 prt_printf(err, "%s: parse error", in bch2_opt_parse() 421 prt_printf(out, "%s%s", in bch2_opt_to_text() 427 prt_printf(out, "%s=", opt->attr.name); in bch2_opt_to_text() [all …]
|
| H A D | debug.c | 207 prt_printf(out, "memory allocation failure\n"); in bch2_btree_node_ondisk_to_text() 245 prt_printf(out, "invalid checksum\n"); in bch2_btree_node_ondisk_to_text() 270 prt_printf(out, "invalid checksum"); in bch2_btree_node_ondisk_to_text() 477 prt_printf(out, "%px ", b); in bch2_cached_btree_node_to_text() 479 prt_printf(out, "\n"); in bch2_cached_btree_node_to_text() 486 prt_printf(out, "flags:\t"); in bch2_cached_btree_node_to_text() 491 prt_printf(out, "written:\t%u\n", b->written); in bch2_cached_btree_node_to_text() 495 prt_printf(out, "journal pin %px:\t%llu\n", in bch2_cached_btree_node_to_text() 497 prt_printf(out, "journal pin %px:\t%llu\n", in bch2_cached_btree_node_to_text() 609 prt_printf(&i->buf, "backtrace:\n"); in bch2_btree_transactions_read() [all …]
|
| H A D | quota.c | 28 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 …]
|
| H A D | util.c | 375 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 …]
|
| H A D | error.c | 19 prt_printf(out, bch2_log_msg(c, "")); in bch2_log_msg_start() 100 prt_printf(out, "btree topology error: "); in __bch2_topology_error() 435 prt_printf(out, bch2_log_msg(c, "")); in __bch2_fsck_err() 549 prt_printf(out, "Unable to continue, halting\n"); in __bch2_fsck_err() 617 prt_printf(&buf, "invalid bkey in %s", in __bch2_bkey_fsck_err() 621 prt_printf(&buf, " journal seq=%llu offset=%u", in __bch2_bkey_fsck_err() 626 prt_printf(&buf, " level=%u: ", from.level); in __bch2_bkey_fsck_err() 681 prt_printf(out, "inum %llu:%llu", inum.subvol, inum.inum); in bch2_inum_offset_err_msg_trans() 682 prt_printf(out, " offset %llu: ", offset); in bch2_inum_offset_err_msg_trans() 714 prt_printf(out, "inum %llu:%u", pos.inode, pos.snapshot); in bch2_inum_snap_offset_err_msg_trans() [all …]
|
| H A D | sysfs.c | 104 prt_printf(out, fmt "\n", __VA_ARGS__); \ 292 prt_printf(out, ": "); in bch2_gc_gens_pos_to_text() 294 prt_printf(out, "\n"); in bch2_gc_gens_pos_to_text() 303 prt_printf(out, "hidden:\t\t%llu\n", b.hidden); in bch2_fs_usage_base_to_text() 304 prt_printf(out, "btree:\t\t%llu\n", b.btree); in bch2_fs_usage_base_to_text() 305 prt_printf(out, "data:\t\t%llu\n", b.data); in bch2_fs_usage_base_to_text() 306 prt_printf(out, "cached:\t%llu\n", b.cached); in bch2_fs_usage_base_to_text() 307 prt_printf(out, "reserved:\t\t%llu\n", b.reserved); in bch2_fs_usage_base_to_text() 507 prt_printf(out, "since mount:\t"); \ in SHOW() 765 prt_printf(out, "%s:\n", bch2_rw[rw]); in dev_io_done_to_text() [all …]
|
| H A D | replicas.c | 52 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 …]
|
| H A D | sb-errors.c | 18 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()
|
| H A D | checksum.c | 365 prt_printf(&buf, "checksum error in %s() (memory corruption or bug?)\n" in bch2_rechecksum_bio() 409 prt_printf(err, "wrong size (got %zu should be %zu)", in bch2_sb_crypt_validate() 415 prt_printf(err, "bad kdf type %llu", BCH_CRYPT_KDF_TYPE(crypt)); in bch2_sb_crypt_validate() 427 prt_printf(out, "KFD: %llu\n", BCH_CRYPT_KDF_TYPE(crypt)); in bch2_sb_crypt_to_text() 428 prt_printf(out, "scrypt n: %llu\n", BCH_KDF_SCRYPT_N(crypt)); in bch2_sb_crypt_to_text() 429 prt_printf(out, "scrypt r: %llu\n", BCH_KDF_SCRYPT_R(crypt)); in bch2_sb_crypt_to_text() 430 prt_printf(out, "scrypt p: %llu\n", BCH_KDF_SCRYPT_P(crypt)); in bch2_sb_crypt_to_text() 501 prt_printf(&key_description, "bcachefs:"); in bch2_request_key() 529 prt_printf(&key_description, "bcachefs:"); in bch2_revoke_key()
|
| H A D | btree_cache.c | 1009 prt_printf(&buf, in btree_bad_header() 1020 prt_printf(&buf, "\nmax "); in btree_bad_header() 1418 prt_printf(out, "(unknown)"); in __bch2_btree_pos_to_text() 1439 prt_printf(out, " - "); in bch2_btree_node_to_text() 1441 prt_printf(out, ":\n" in bch2_btree_node_to_text() 1446 prt_printf(out, in bch2_btree_node_to_text() 1450 prt_printf(out, in bch2_btree_node_to_text() 1474 prt_printf(out, "%s\t", label); in prt_btree_cache_line() 1476 prt_printf(out, " (%zu)\n", nr); in prt_btree_cache_line() 1502 prt_printf(out, "\t"); in bch2_btree_cache_to_text() [all …]
|
| H A D | journal_seq_blacklist.c | 177 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()
|
| H A D | io_misc.c | 120 prt_printf(&buf, "fallocate error: %s", bch2_err_str(ret)); in bch2_extent_fallocate() 223 prt_printf(out, "subvol=%u", le32_to_cpu(op.v->subvol)); in bch2_logged_op_truncate_to_text() 224 prt_printf(out, " inum=%llu", le64_to_cpu(op.v->inum)); in bch2_logged_op_truncate_to_text() 225 prt_printf(out, " new_i_size=%llu", le64_to_cpu(op.v->new_i_size)); in bch2_logged_op_truncate_to_text() 315 prt_printf(out, "subvol=%u", le32_to_cpu(op.v->subvol)); in bch2_logged_op_finsert_to_text() 316 prt_printf(out, " inum=%llu", le64_to_cpu(op.v->inum)); in bch2_logged_op_finsert_to_text() 317 prt_printf(out, " dst_offset=%lli", le64_to_cpu(op.v->dst_offset)); in bch2_logged_op_finsert_to_text() 318 prt_printf(out, " src_offset=%llu", le64_to_cpu(op.v->src_offset)); in bch2_logged_op_finsert_to_text()
|
| H A D | sb-clean.c | 122 prt_printf(&buf1, "(none)"); in bch2_verify_superblock_clean() 127 prt_printf(&buf2, "(none)"); in bch2_verify_superblock_clean() 218 prt_printf(err, "wrong size (got %zu should be %zu)", in bch2_sb_clean_validate() 243 prt_printf(out, "flags: %x\n", le32_to_cpu(clean->flags)); in bch2_sb_clean_to_text() 244 prt_printf(out, "journal_seq: %llu\n", le64_to_cpu(clean->journal_seq)); in bch2_sb_clean_to_text()
|
| H A D | nocow_locking.c | 110 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()
|
| H A D | movinggc.c | 306 prt_printf(out, "running:\t%u\n", c->copygc_running); in bch2_copygc_wait_to_text() 307 prt_printf(out, "copygc_wait:\t%llu\n", c->copygc_wait); in bch2_copygc_wait_to_text() 308 prt_printf(out, "copygc_wait_at:\t%llu\n", c->copygc_wait_at); in bch2_copygc_wait_to_text() 310 prt_printf(out, "Currently waiting for:\t"); in bch2_copygc_wait_to_text() 315 prt_printf(out, "Currently waiting since:\t"); in bch2_copygc_wait_to_text() 321 prt_printf(out, "Currently calculated wait:\t"); in bch2_copygc_wait_to_text()
|
| H A D | extents.c | 296 prt_printf(out, " "); in bch2_btree_ptr_v2_to_text() 484 prt_printf(out, "generation %u replicas %u", in bch2_reservation_to_text() 1169 prt_printf(out, "ptr: %u:%llu:%u gen %u", in bch2_extent_ptr_to_text() 1172 prt_printf(out, " d=%u", ca->mi.durability); in bch2_extent_ptr_to_text() 1179 prt_printf(out, " stale"); in bch2_extent_ptr_to_text() 1181 prt_printf(out, " invalid"); in bch2_extent_ptr_to_text() 1226 prt_printf(out, "%u", r->background_target); in bch2_extent_rebalance_to_text() 1237 prt_printf(out, "%u", r->promote_target); in bch2_extent_rebalance_to_text() 1244 prt_printf(out, " ec=%u", r->erasure_code); in bch2_extent_rebalance_to_text() 1262 prt_printf(out, " "); in bch2_bkey_ptrs_to_text() [all …]
|
| H A D | backpointers.c | 55 prt_printf(out, " suboffset=%u len=%u gen=%u pos=", in bch2_backpointer_to_text() 102 prt_printf(&buf, "existing backpointer found when inserting "); in backpointer_mod_err() 107 prt_printf(&buf, "found "); in backpointer_mod_err() 111 prt_printf(&buf, "for "); in backpointer_mod_err() 116 prt_printf(&buf, "backpointer not found when deleting\n"); in backpointer_mod_err() 119 prt_printf(&buf, "searching for "); in backpointer_mod_err() 123 prt_printf(&buf, "got "); in backpointer_mod_err() 127 prt_printf(&buf, "for "); in backpointer_mod_err() 213 prt_printf(&buf, "backpointer doesn't match %s it points to:\n", in backpointer_target_not_found() 645 prt_printf(&buf, "\nwant: "); in check_bp_exists() [all …]
|
| H A D | btree_key_cache.c | 838 prt_printf(out, "keys:\t%lu\r\n", atomic_long_read(&bc->nr_keys)); in bch2_btree_key_cache_to_text() 839 prt_printf(out, "dirty:\t%lu\r\n", atomic_long_read(&bc->nr_dirty)); in bch2_btree_key_cache_to_text() 840 prt_printf(out, "table size:\t%u\r\n", bc->table.tbl->size); in bch2_btree_key_cache_to_text() 842 prt_printf(out, "shrinker:\n"); in bch2_btree_key_cache_to_text() 843 prt_printf(out, "requested_to_free:\t%lu\r\n", bc->requested_to_free); in bch2_btree_key_cache_to_text() 844 prt_printf(out, "freed:\t%lu\r\n", bc->freed); in bch2_btree_key_cache_to_text() 845 prt_printf(out, "skipped_dirty:\t%lu\r\n", bc->skipped_dirty); in bch2_btree_key_cache_to_text() 846 prt_printf(out, "skipped_accessed:\t%lu\r\n", bc->skipped_accessed); in bch2_btree_key_cache_to_text() 847 prt_printf(out, "skipped_lock_fail:\t%lu\r\n", bc->skipped_lock_fail); in bch2_btree_key_cache_to_text() 849 prt_printf(out, "pending:\t%zu\r\n", per_cpu_sum(bc->nr_pending)); in bch2_btree_key_cache_to_text()
|