/linux-6.6.21/drivers/md/ |
D | dm-verity-target.c | 852 DMEMIT("%c", v->hash_failed ? 'C' : 'V'); in verity_status() 855 DMEMIT("%u %s %s %u %u %llu %llu %s ", in verity_status() 866 DMEMIT("%02x", v->root_digest[x]); in verity_status() 867 DMEMIT(" "); in verity_status() 869 DMEMIT("-"); in verity_status() 872 DMEMIT("%02x", v->salt[x]); in verity_status() 887 DMEMIT(" %u", args); in verity_status() 889 DMEMIT(" "); in verity_status() 892 DMEMIT(DM_VERITY_OPT_LOGGING); in verity_status() 895 DMEMIT(DM_VERITY_OPT_RESTART); in verity_status() [all …]
|
D | dm-stripe.c | 369 DMEMIT("%d ", sc->stripes); in stripe_status() 371 DMEMIT("%s ", sc->stripe[i].dev->name); in stripe_status() 373 DMEMIT("1 "); in stripe_status() 375 DMEMIT("%c", atomic_read(&(sc->stripe[i].error_count)) ? 'D' : 'A'); in stripe_status() 379 DMEMIT("%d %llu", sc->stripes, in stripe_status() 382 DMEMIT(" %s %llu", sc->stripe[i].dev->name, in stripe_status() 388 DMEMIT(",stripes=%d,chunk_size=%llu", sc->stripes, in stripe_status() 392 DMEMIT(",stripe_%d_device_name=%s", i, sc->stripe[i].dev->name); in stripe_status() 393 DMEMIT(",stripe_%d_physical_start=%llu", i, in stripe_status() 395 DMEMIT(",stripe_%d_status=%c", i, in stripe_status() [all …]
|
D | dm-dust.c | 151 DMEMIT("%s: block %llu found in badblocklist", __func__, block); in dust_query_block() 153 DMEMIT("%s: block %llu not found in badblocklist", __func__, block); in dust_query_block() 280 DMEMIT("%s: no badblocks found", __func__); in dust_clear_badblocks() 282 DMEMIT("%s: badblocks cleared", __func__); in dust_clear_badblocks() 301 DMEMIT("%llu\n", bblk->bb); in dust_list_badblocks() 307 DMEMIT("No blocks in badblocklist"); in dust_list_badblocks() 443 DMEMIT("countbadblocks: %llu badblock(s) found", in dust_message() 521 DMEMIT("%s %s %s", dd->dev->name, in dust_status() 527 DMEMIT("%s %llu %u", dd->dev->name, in dust_status()
|
D | dm-mpath.c | 1814 DMEMIT("2 %u %u ", test_bit(MPATHF_QUEUE_IO, &m->flags), in multipath_status() 1817 DMEMIT("%u ", test_bit(MPATHF_QUEUE_IF_NO_PATH, &m->flags) + in multipath_status() 1824 DMEMIT("queue_if_no_path "); in multipath_status() 1826 DMEMIT("pg_init_retries %u ", m->pg_init_retries); in multipath_status() 1828 DMEMIT("pg_init_delay_msecs %u ", m->pg_init_delay_msecs); in multipath_status() 1830 DMEMIT("retain_attached_hw_handler "); in multipath_status() 1834 DMEMIT("queue_mode bio "); in multipath_status() 1844 DMEMIT("0 "); in multipath_status() 1846 DMEMIT("1 %s ", m->hw_handler_name); in multipath_status() 1848 DMEMIT("%u ", m->nr_priority_groups); in multipath_status() [all …]
|
D | dm-cache-target.c | 3019 DMEMIT("%u ", count); in emit_flags() 3022 DMEMIT("metadata2 "); in emit_flags() 3025 DMEMIT("writethrough "); in emit_flags() 3028 DMEMIT("passthrough "); in emit_flags() 3031 DMEMIT("writeback "); in emit_flags() 3034 DMEMIT("unknown "); in emit_flags() 3040 DMEMIT("no_discard_passdown "); in emit_flags() 3072 DMEMIT("Fail"); in cache_status() 3096 DMEMIT("%u %llu/%llu %llu %llu/%llu %u %u %u %u %u %u %lu ", in cache_status() 3113 DMEMIT("2 migration_threshold %llu ", (unsigned long long) cache->migration_threshold); in cache_status() [all …]
|
D | dm-flakey.c | 603 DMEMIT("%s %llu %u %u", fc->dev->name, in flakey_status() 610 DMEMIT(" %u", error_reads + drop_writes + error_writes + in flakey_status() 616 DMEMIT(" error_reads"); in flakey_status() 618 DMEMIT(" drop_writes"); in flakey_status() 620 DMEMIT(" error_writes"); in flakey_status() 623 DMEMIT(" corrupt_bio_byte %u %c %u %u", in flakey_status() 629 DMEMIT(" random_read_corrupt %u", fc->random_read_corrupt); in flakey_status() 631 DMEMIT(" random_write_corrupt %u", fc->random_write_corrupt); in flakey_status()
|
D | dm-raid1.c | 1416 DMEMIT("%d ", ms->nr_mirrors); in mirror_status() 1418 DMEMIT("%s ", ms->mirror[m].dev->name); in mirror_status() 1423 DMEMIT("%llu/%llu 1 %s ", in mirror_status() 1434 DMEMIT("%d", ms->nr_mirrors); in mirror_status() 1436 DMEMIT(" %s %llu", ms->mirror[m].dev->name, in mirror_status() 1442 DMEMIT(" %d", num_feature_args); in mirror_status() 1444 DMEMIT(" handle_errors"); in mirror_status() 1446 DMEMIT(" keep_log"); in mirror_status() 1453 DMEMIT(",nr_mirrors=%d", ms->nr_mirrors); in mirror_status() 1455 DMEMIT(",mirror_device_%d=%s", m, ms->mirror[m].dev->name); in mirror_status() [all …]
|
D | dm-raid.c | 3525 DMEMIT("%s %d ", rt->name, mddev->raid_disks); in raid_status() 3540 DMEMIT(__raid_dev_status(rs, &rs->dev[i].rdev)); in raid_status() 3554 DMEMIT(" %llu/%llu", (unsigned long long) progress, in raid_status() 3564 DMEMIT(" %s", sync_str(state)); in raid_status() 3573 DMEMIT(" %llu", (unsigned long long) resync_mismatches); in raid_status() 3585 DMEMIT(" %llu", (unsigned long long) rs->dev[0].rdev.data_offset); in raid_status() 3590 DMEMIT(" %s", test_bit(__CTR_FLAG_JOURNAL_DEV, &rs->ctr_flags) ? in raid_status() 3613 DMEMIT("%s %u %u", rs->raid_type->name, raid_param_cnt, mddev->new_chunk_sectors); in raid_status() 3615 DMEMIT(" %s", dm_raid_arg_name_by_flag(CTR_FLAG_SYNC)); in raid_status() 3617 DMEMIT(" %s", dm_raid_arg_name_by_flag(CTR_FLAG_NOSYNC)); in raid_status() [all …]
|
D | dm-ps-io-affinity.c | 161 DMEMIT("0 "); in ioa_status() 167 DMEMIT("%d ", atomic_read(&s->map_misses)); in ioa_status() 171 DMEMIT("%*pb ", cpumask_pr_args(pi->cpumask)); in ioa_status()
|
D | dm-ps-queue-length.c | 95 DMEMIT("0 "); in ql_status() 101 DMEMIT("%d ", atomic_read(&pi->qlen)); in ql_status() 104 DMEMIT("%u ", pi->repeat_count); in ql_status()
|
D | dm-delay.c | 313 DMEMIT("%s %llu %u", (c)->dev->name, (unsigned long long)(c)->start, (c)->delay) 323 DMEMIT("%u %u %u", dc->read.ops, dc->write.ops, dc->flush.ops); in delay_status() 329 DMEMIT(" "); in delay_status() 333 DMEMIT(" "); in delay_status()
|
D | dm-clone-target.c | 1395 DMEMIT("%u ", count); in emit_flags() 1398 DMEMIT("no_hydration "); in emit_flags() 1401 DMEMIT("no_discard_passdown "); in emit_flags() 1412 DMEMIT("%u hydration_threshold %u hydration_batch_size %u ", count, in emit_core_args() 1441 DMEMIT("Fail"); in clone_status() 1465 DMEMIT("%u %llu/%llu %llu %u/%lu %u ", in clone_status() 1479 DMEMIT("rw"); in clone_status() 1482 DMEMIT("ro"); in clone_status() 1485 DMEMIT("Fail"); in clone_status() 1492 DMEMIT("%s ", buf); in clone_status() [all …]
|
D | dm-ps-service-time.c | 90 DMEMIT("0 "); in st_status() 96 DMEMIT("%d %u ", atomic_read(&pi->in_flight_size), in st_status() 100 DMEMIT("%u %u ", pi->repeat_count, in st_status()
|
D | dm-thin.c | 3892 DMEMIT("%u ", count); in emit_flags() 3895 DMEMIT("skip_block_zeroing "); in emit_flags() 3898 DMEMIT("ignore_discard "); in emit_flags() 3901 DMEMIT("no_discard_passdown "); in emit_flags() 3904 DMEMIT("read_only "); in emit_flags() 3907 DMEMIT("error_if_no_space "); in emit_flags() 3936 DMEMIT("Fail"); in pool_status() 3986 DMEMIT("%llu %llu/%llu %llu/%llu ", in pool_status() 3994 DMEMIT("%llu ", held_root); in pool_status() 3996 DMEMIT("- "); in pool_status() [all …]
|
D | dm-crypt.c | 3534 DMEMIT("%s ", cc->cipher_string); in crypt_status() 3538 DMEMIT(":%u:%s", cc->key_size, cc->key_string); in crypt_status() 3541 DMEMIT("%c%c", hex2asc(cc->key[i] >> 4), in crypt_status() 3546 DMEMIT("-"); in crypt_status() 3548 DMEMIT(" %llu %s %llu", (unsigned long long)cc->iv_offset, in crypt_status() 3561 DMEMIT(" %d", num_feature_args); in crypt_status() 3563 DMEMIT(" allow_discards"); in crypt_status() 3565 DMEMIT(" same_cpu_crypt"); in crypt_status() 3567 DMEMIT(" submit_from_crypt_cpus"); in crypt_status() 3569 DMEMIT(" no_read_workqueue"); in crypt_status() [all …]
|
D | dm-ps-round-robin.c | 98 DMEMIT("0 "); in rr_status() 105 DMEMIT("%u ", pi->repeat_count); in rr_status()
|
D | dm-stats.c | 495 DMEMIT("%d: %llu+%llu %llu %s %s", s->id, in dm_stats_list() 502 DMEMIT(" precise_timestamps"); in dm_stats_list() 506 DMEMIT(" histogram:"); in dm_stats_list() 509 DMEMIT(","); in dm_stats_list() 510 DMEMIT("%llu", s->histogram_boundaries[i]); in dm_stats_list() 513 DMEMIT("\n"); in dm_stats_list() 887 DMEMIT("%llu+%llu %llu %llu %llu %llu %llu %llu %llu %llu %d %llu %llu %llu %llu", in dm_stats_print() 907 DMEMIT("%s%llu", !i ? " " : ":", shared->tmp.histogram[i]); in dm_stats_print() 909 DMEMIT("\n"); in dm_stats_print()
|
D | dm-snap.c | 2326 DMEMIT("Invalid"); in snapshot_status() 2328 DMEMIT("Merge failed"); in snapshot_status() 2330 DMEMIT("Overflow"); in snapshot_status() 2339 DMEMIT("%llu/%llu %llu", in snapshot_status() 2344 DMEMIT("Unknown"); in snapshot_status() 2357 DMEMIT("%s %s", snap->origin->name, snap->cow->name); in snapshot_status() 2362 DMEMIT(" %u", num_features); in snapshot_status() 2364 DMEMIT(" discard_zeroes_cow"); in snapshot_status() 2366 DMEMIT(" discard_passdown_origin"); in snapshot_status() 2372 DMEMIT(",snap_origin_name=%s", snap->origin->name); in snapshot_status() [all …]
|
D | dm-log.c | 790 DMEMIT("%ssync ", lc->sync == NOSYNC ? "no" : ""); \ 801 DMEMIT("1 %s", log->type->name); in core_status() 805 DMEMIT("%s %u %u ", log->type->name, in core_status() 826 DMEMIT("3 %s %s %c", log->type->name, lc->log_dev->name, in disk_status() 833 DMEMIT("%s %u %s %u ", log->type->name, in disk_status()
|
D | dm-linear.c | 110 DMEMIT("%s %llu", lc->dev->name, (unsigned long long)lc->start); in linear_status() 115 DMEMIT(",device_name=%s,start=%llu;", lc->dev->name, in linear_status()
|
D | dm-integrity.c | 3377 DMEMIT("%llu %llu", in dm_integrity_status() 3381 DMEMIT(" %llu", le64_to_cpu(ic->sb->recalc_sector)); in dm_integrity_status() 3383 DMEMIT(" -"); in dm_integrity_status() 3407 DMEMIT("%s %llu %u %c %u", ic->dev->name, ic->start, in dm_integrity_status() 3410 DMEMIT(" meta_device:%s", ic->meta_dev->name); in dm_integrity_status() 3412 DMEMIT(" block_size:%u", ic->sectors_per_block << SECTOR_SHIFT); in dm_integrity_status() 3414 DMEMIT(" recalculate"); in dm_integrity_status() 3416 DMEMIT(" reset_recalculate"); in dm_integrity_status() 3418 DMEMIT(" allow_discards"); in dm_integrity_status() 3419 DMEMIT(" journal_sectors:%u", ic->initial_sectors - SB_SECTORS); in dm_integrity_status() [all …]
|
D | dm-ps-historical-service-time.c | 246 DMEMIT("2 %u %u ", s->weights[0], s->threshold_multiplier); in hst_status() 252 DMEMIT("%llu %llu %llu ", pi->historical_service_time, in hst_status() 256 DMEMIT("0 "); in hst_status()
|
D | dm-log-userspace-base.c | 803 DMEMIT("%s 1 COM_FAILURE", log->type->name); in userspace_status() 812 DMEMIT("%s %u %s ", log->type->name, lc->usr_argc, lc->uuid); in userspace_status() 814 DMEMIT("integrated_flush "); in userspace_status() 815 DMEMIT("%s ", table_args); in userspace_status()
|
D | dm-writecache.c | 2689 DMEMIT("%ld %llu %llu %llu %llu %llu %llu %llu %llu %llu %llu %llu %llu %llu", in writecache_status() 2705 DMEMIT("%c %s %s %u ", WC_MODE_PMEM(wc) ? 'p' : 's', in writecache_status() 2731 DMEMIT("%u", extra_args); in writecache_status() 2733 DMEMIT(" start_sector %llu", (unsigned long long)wc->start_sector); in writecache_status() 2735 DMEMIT(" high_watermark %u", wc->high_wm_percent_value); in writecache_status() 2737 DMEMIT(" low_watermark %u", wc->low_wm_percent_value); in writecache_status() 2739 DMEMIT(" writeback_jobs %u", wc->max_writeback_jobs); in writecache_status() 2741 DMEMIT(" autocommit_blocks %u", wc->autocommit_blocks); in writecache_status() 2743 DMEMIT(" autocommit_time %u", wc->autocommit_time_value); in writecache_status() 2745 DMEMIT(" max_age %u", wc->max_age_value); in writecache_status() [all …]
|
D | dm-snap-transient.c | 100 DMEMIT(" N %llu", (unsigned long long)store->chunk_size); in transient_status()
|