Lines Matching refs:prt_printf

52 	prt_printf(out, "%u.%u: %s", BCH_VERSION_MAJOR(v), BCH_VERSION_MINOR(v), str);  in bch2_version_to_text()
92 prt_printf(&buf, "\n set version_upgrade=incompat to enable"); in bch2_set_version_incompat()
209 prt_printf(&buf, ": superblock too big: want %zu but have %llu", new_bytes, max_bytes); in bch2_sb_realloc()
303 prt_printf(out, "Not a bcachefs superblock layout"); in validate_sb_layout()
308 prt_printf(out, "Invalid superblock layout type %u", in validate_sb_layout()
314 prt_printf(out, "Invalid superblock layout: no superblocks"); in validate_sb_layout()
319 prt_printf(out, "Invalid superblock layout: too many superblocks"); in validate_sb_layout()
324 prt_printf(out, "Invalid superblock layout: max_size_bits too high"); in validate_sb_layout()
336 prt_printf(out, "Invalid superblock layout: superblocks overlap\n" in validate_sb_layout()
403 prt_printf(out, "Filesystem has incompatible feature bit %u, highest supported %s (%u)", in bch2_sb_validate()
420 prt_printf(out, "Bad user UUID (got zeroes)"); in bch2_sb_validate()
425 prt_printf(out, "Bad internal UUID (got zeroes)"); in bch2_sb_validate()
431 prt_printf(out, "Bad sb offset (got %llu, read from %llu)", in bch2_sb_validate()
438 prt_printf(out, "Bad number of member devices %u (max %u)", in bch2_sb_validate()
444 prt_printf(out, "Bad dev_idx (got %u, nr_devices %u)", in bch2_sb_validate()
451 prt_printf(out, "Invalid time precision: %u (min 1, max %lu)", in bch2_sb_validate()
461 prt_printf(out, "Invalid version_incompat "); in bch2_sb_validate()
514 prt_printf(out, "Invalid option "); in bch2_sb_validate()
530 prt_printf(out, "Invalid superblock: optional field with size 0 (type %u)", in bch2_sb_validate()
536 prt_printf(out, "Invalid superblock: optional field extends past end of superblock (type %u)", in bch2_sb_validate()
548 prt_printf(out, "Invalid superblock: member info area missing"); in bch2_sb_validate()
567 prt_printf(out, "Invalid superblock: member seq %llu != sb seq %llu", in bch2_sb_validate()
733 prt_printf(err, "IO error: %i", ret); in read_one_super()
753 prt_printf(err, "Invalid superblock: too big (got %zu bytes, layout max %llu)", in read_one_super()
768 prt_printf(err, "unknown checksum type %llu", BCH_SB_CSUM_TYPE(sb->sb)); in read_one_super()
806 prt_printf(&err, "error allocating memory for sb_name"); in __bch2_read_super()
834 prt_printf(&err, "error opening %s: %s", path, bch2_err_str(ret)); in __bch2_read_super()
841 prt_printf(&err, "error allocating memory for superblock"); in __bch2_read_super()
846 prt_printf(&err, "dynamic fault"); in __bch2_read_super()
858 prt_printf(&err2, "bcachefs (%s): error reading default superblock: %s\n", in __bch2_read_super()
882 prt_printf(&err, "IO error: %i", ret); in __bch2_read_super()
916 prt_printf(&err, "block size (%u) smaller than device block size (%u)", in __bch2_read_super()
1108 prt_printf(&buf, "attempting to write superblock that wasn't version downgraded ("); in bch2_write_super()
1138 prt_printf(&buf, in bch2_write_super()
1158 prt_printf(&buf, in bch2_write_super()
1312 prt_printf(err, "field too small (%zu < %u)", vstruct_bytes(f), 88); in bch2_sb_ext_validate()
1324 prt_printf(out, "Recovery passes required:\t"); in bch2_sb_ext_to_text()
1333 prt_printf(out, "Errors to silently fix:\t"); in bch2_sb_ext_to_text()
1341 prt_printf(out, "Btrees with missing data:\t"); in bch2_sb_ext_to_text()
1377 prt_printf(err, "Invalid superblock section %s: %s", in bch2_sb_field_validate()
1406 prt_printf(out, "%s", bch2_sb_fields[type]); in bch2_sb_field_to_text()
1408 prt_printf(out, "(unknown field %u)", type); in bch2_sb_field_to_text()
1410 prt_printf(out, " (size %zu):", vstruct_bytes(f)); in bch2_sb_field_to_text()
1420 prt_printf(out, "Type: %u", l->layout_type); in bch2_sb_layout_to_text()
1427 prt_printf(out, "Nr superblocks: %u", l->nr_superblocks); in bch2_sb_layout_to_text()
1434 prt_printf(out, "%llu", le64_to_cpu(l->sb_offset[i])); in bch2_sb_layout_to_text()
1445 prt_printf(out, "External UUID:\t"); in bch2_sb_to_text()
1449 prt_printf(out, "Internal UUID:\t"); in bch2_sb_to_text()
1453 prt_printf(out, "Magic number:\t"); in bch2_sb_to_text()
1457 prt_printf(out, "Device index:\t%u\n", sb->dev_idx); in bch2_sb_to_text()
1459 prt_printf(out, "Label:\t"); in bch2_sb_to_text()
1461 prt_printf(out, "(none)"); in bch2_sb_to_text()
1463 prt_printf(out, "%.*s", (int) sizeof(sb->label), sb->label); in bch2_sb_to_text()
1466 prt_printf(out, "Version:\t"); in bch2_sb_to_text()
1470 prt_printf(out, "Incompatible features allowed:\t"); in bch2_sb_to_text()
1474 prt_printf(out, "Incompatible features in use:\t"); in bch2_sb_to_text()
1478 prt_printf(out, "Version upgrade complete:\t"); in bch2_sb_to_text()
1482 prt_printf(out, "Oldest version on disk:\t"); in bch2_sb_to_text()
1486 prt_printf(out, "Created:\t"); in bch2_sb_to_text()
1490 prt_printf(out, "(not set)"); in bch2_sb_to_text()
1493 prt_printf(out, "Sequence number:\t"); in bch2_sb_to_text()
1494 prt_printf(out, "%llu", le64_to_cpu(sb->seq)); in bch2_sb_to_text()
1497 prt_printf(out, "Time of last write:\t"); in bch2_sb_to_text()
1501 prt_printf(out, "Superblock size:\t"); in bch2_sb_to_text()
1507 prt_printf(out, "Clean:\t%llu\n", BCH_SB_CLEAN(sb)); in bch2_sb_to_text()
1508 prt_printf(out, "Devices:\t%u\n", bch2_sb_nr_devices(sb)); in bch2_sb_to_text()
1510 prt_printf(out, "Sections:\t"); in bch2_sb_to_text()
1517 prt_printf(out, "Features:\t"); in bch2_sb_to_text()
1521 prt_printf(out, "Compat features:\t"); in bch2_sb_to_text()
1526 prt_printf(out, "Options:"); in bch2_sb_to_text()
1538 prt_printf(out, "%s:\t", opt->attr.name); in bch2_sb_to_text()
1550 prt_printf(out, "layout:"); in bch2_sb_to_text()