Home
last modified time | relevance | path

Searched refs:DMEMIT (Results 1 – 25 of 35) sorted by relevance

12

/linux-6.1.9/drivers/md/
Ddm-verity-target.c801 DMEMIT("%c", v->hash_failed ? 'C' : 'V'); in verity_status()
804 DMEMIT("%u %s %s %u %u %llu %llu %s ", in verity_status()
815 DMEMIT("%02x", v->root_digest[x]); in verity_status()
816 DMEMIT(" "); in verity_status()
818 DMEMIT("-"); in verity_status()
821 DMEMIT("%02x", v->salt[x]); in verity_status()
836 DMEMIT(" %u", args); in verity_status()
838 DMEMIT(" "); in verity_status()
841 DMEMIT(DM_VERITY_OPT_LOGGING); in verity_status()
844 DMEMIT(DM_VERITY_OPT_RESTART); in verity_status()
[all …]
Ddm-stripe.c370 DMEMIT("%d ", sc->stripes); in stripe_status()
372 DMEMIT("%s ", sc->stripe[i].dev->name); in stripe_status()
374 DMEMIT("1 "); in stripe_status()
376 DMEMIT("%c", atomic_read(&(sc->stripe[i].error_count)) ? in stripe_status()
382 DMEMIT("%d %llu", sc->stripes, in stripe_status()
385 DMEMIT(" %s %llu", sc->stripe[i].dev->name, in stripe_status()
391 DMEMIT(",stripes=%d,chunk_size=%llu", sc->stripes, in stripe_status()
395 DMEMIT(",stripe_%d_device_name=%s", i, sc->stripe[i].dev->name); in stripe_status()
396 DMEMIT(",stripe_%d_physical_start=%llu", i, in stripe_status()
398 DMEMIT(",stripe_%d_status=%c", i, in stripe_status()
[all …]
Ddm-dust.c151 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()
Ddm-mpath.c1806 DMEMIT("2 %u %u ", test_bit(MPATHF_QUEUE_IO, &m->flags), in multipath_status()
1809 DMEMIT("%u ", test_bit(MPATHF_QUEUE_IF_NO_PATH, &m->flags) + in multipath_status()
1816 DMEMIT("queue_if_no_path "); in multipath_status()
1818 DMEMIT("pg_init_retries %u ", m->pg_init_retries); in multipath_status()
1820 DMEMIT("pg_init_delay_msecs %u ", m->pg_init_delay_msecs); in multipath_status()
1822 DMEMIT("retain_attached_hw_handler "); in multipath_status()
1826 DMEMIT("queue_mode bio "); in multipath_status()
1836 DMEMIT("0 "); in multipath_status()
1838 DMEMIT("1 %s ", m->hw_handler_name); in multipath_status()
1840 DMEMIT("%u ", m->nr_priority_groups); in multipath_status()
[all …]
Ddm-cache-target.c2988 DMEMIT("%u ", count); in emit_flags()
2991 DMEMIT("metadata2 "); in emit_flags()
2994 DMEMIT("writethrough "); in emit_flags()
2997 DMEMIT("passthrough "); in emit_flags()
3000 DMEMIT("writeback "); in emit_flags()
3003 DMEMIT("unknown "); in emit_flags()
3009 DMEMIT("no_discard_passdown "); in emit_flags()
3041 DMEMIT("Fail"); in cache_status()
3065 DMEMIT("%u %llu/%llu %llu %llu/%llu %u %u %u %u %u %u %lu ", in cache_status()
3082 DMEMIT("2 migration_threshold %llu ", (unsigned long long) cache->migration_threshold); in cache_status()
[all …]
Ddm-raid1.c1402 DMEMIT("%d ", ms->nr_mirrors); in mirror_status()
1404 DMEMIT("%s ", ms->mirror[m].dev->name); in mirror_status()
1409 DMEMIT("%llu/%llu 1 %s ", in mirror_status()
1420 DMEMIT("%d", ms->nr_mirrors); in mirror_status()
1422 DMEMIT(" %s %llu", ms->mirror[m].dev->name, in mirror_status()
1428 DMEMIT(" %d", num_feature_args); in mirror_status()
1430 DMEMIT(" handle_errors"); in mirror_status()
1432 DMEMIT(" keep_log"); in mirror_status()
1439 DMEMIT(",nr_mirrors=%d", ms->nr_mirrors); in mirror_status()
1441 DMEMIT(",mirror_device_%d=%s", m, ms->mirror[m].dev->name); in mirror_status()
[all …]
Ddm-raid.c3530 DMEMIT("%s %d ", rt->name, mddev->raid_disks); in raid_status()
3545 DMEMIT(__raid_dev_status(rs, &rs->dev[i].rdev)); in raid_status()
3559 DMEMIT(" %llu/%llu", (unsigned long long) progress, in raid_status()
3569 DMEMIT(" %s", sync_str(state)); in raid_status()
3578 DMEMIT(" %llu", (unsigned long long) resync_mismatches); in raid_status()
3590 DMEMIT(" %llu", (unsigned long long) rs->dev[0].rdev.data_offset); in raid_status()
3595 DMEMIT(" %s", test_bit(__CTR_FLAG_JOURNAL_DEV, &rs->ctr_flags) ? in raid_status()
3618 DMEMIT("%s %u %u", rs->raid_type->name, raid_param_cnt, mddev->new_chunk_sectors); in raid_status()
3620 DMEMIT(" %s", dm_raid_arg_name_by_flag(CTR_FLAG_SYNC)); in raid_status()
3622 DMEMIT(" %s", dm_raid_arg_name_by_flag(CTR_FLAG_NOSYNC)); in raid_status()
[all …]
Ddm-flakey.c425 DMEMIT("%s %llu %u %u ", fc->dev->name, in flakey_status()
431 DMEMIT("%u ", drop_writes + error_writes + (fc->corrupt_bio_byte > 0) * 5); in flakey_status()
434 DMEMIT("drop_writes "); in flakey_status()
436 DMEMIT("error_writes "); in flakey_status()
439 DMEMIT("corrupt_bio_byte %u %c %u %u ", in flakey_status()
Ddm-ps-io-affinity.c161 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()
Ddm-ps-queue-length.c94 DMEMIT("0 "); in ql_status()
100 DMEMIT("%d ", atomic_read(&pi->qlen)); in ql_status()
103 DMEMIT("%u ", pi->repeat_count); in ql_status()
Ddm-delay.c305 DMEMIT("%s %llu %u", (c)->dev->name, (unsigned long long)(c)->start, (c)->delay)
315 DMEMIT("%u %u %u", dc->read.ops, dc->write.ops, dc->flush.ops); in delay_status()
321 DMEMIT(" "); in delay_status()
325 DMEMIT(" "); in delay_status()
Ddm-clone-target.c1395 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 …]
Ddm-ps-service-time.c89 DMEMIT("0 "); in st_status()
95 DMEMIT("%d %u ", atomic_read(&pi->in_flight_size), in st_status()
99 DMEMIT("%u %u ", pi->repeat_count, in st_status()
Ddm-thin.c3858 DMEMIT("%u ", count); in emit_flags()
3861 DMEMIT("skip_block_zeroing "); in emit_flags()
3864 DMEMIT("ignore_discard "); in emit_flags()
3867 DMEMIT("no_discard_passdown "); in emit_flags()
3870 DMEMIT("read_only "); in emit_flags()
3873 DMEMIT("error_if_no_space "); in emit_flags()
3902 DMEMIT("Fail"); in pool_status()
3952 DMEMIT("%llu %llu/%llu %llu/%llu ", in pool_status()
3960 DMEMIT("%llu ", held_root); in pool_status()
3962 DMEMIT("- "); in pool_status()
[all …]
Ddm-crypt.c3460 DMEMIT("%s ", cc->cipher_string); in crypt_status()
3464 DMEMIT(":%u:%s", cc->key_size, cc->key_string); in crypt_status()
3467 DMEMIT("%c%c", hex2asc(cc->key[i] >> 4), in crypt_status()
3472 DMEMIT("-"); in crypt_status()
3474 DMEMIT(" %llu %s %llu", (unsigned long long)cc->iv_offset, in crypt_status()
3487 DMEMIT(" %d", num_feature_args); in crypt_status()
3489 DMEMIT(" allow_discards"); in crypt_status()
3491 DMEMIT(" same_cpu_crypt"); in crypt_status()
3493 DMEMIT(" submit_from_crypt_cpus"); in crypt_status()
3495 DMEMIT(" no_read_workqueue"); in crypt_status()
[all …]
Ddm-ps-round-robin.c94 DMEMIT("0 "); in rr_status()
101 DMEMIT("%u ", pi->repeat_count); in rr_status()
Ddm-stats.c488 DMEMIT("%d: %llu+%llu %llu %s %s", s->id, in dm_stats_list()
495 DMEMIT(" precise_timestamps"); in dm_stats_list()
498 DMEMIT(" histogram:"); in dm_stats_list()
501 DMEMIT(","); in dm_stats_list()
502 DMEMIT("%llu", s->histogram_boundaries[i]); in dm_stats_list()
505 DMEMIT("\n"); in dm_stats_list()
875 DMEMIT("%llu+%llu %llu %llu %llu %llu %llu %llu %llu %llu %d %llu %llu %llu %llu", in dm_stats_print()
894 DMEMIT("%s%llu", !i ? " " : ":", shared->tmp.histogram[i]); in dm_stats_print()
897 DMEMIT("\n"); in dm_stats_print()
Ddm-snap.c2330 DMEMIT("Invalid"); in snapshot_status()
2332 DMEMIT("Merge failed"); in snapshot_status()
2334 DMEMIT("Overflow"); in snapshot_status()
2343 DMEMIT("%llu/%llu %llu", in snapshot_status()
2349 DMEMIT("Unknown"); in snapshot_status()
2362 DMEMIT("%s %s", snap->origin->name, snap->cow->name); in snapshot_status()
2367 DMEMIT(" %u", num_features); in snapshot_status()
2369 DMEMIT(" discard_zeroes_cow"); in snapshot_status()
2371 DMEMIT(" discard_passdown_origin"); in snapshot_status()
2377 DMEMIT(",snap_origin_name=%s", snap->origin->name); in snapshot_status()
[all …]
Ddm-log.c776 DMEMIT("%ssync ", lc->sync == NOSYNC ? "no" : "")
786 DMEMIT("1 %s", log->type->name); in core_status()
790 DMEMIT("%s %u %u ", log->type->name, in core_status()
811 DMEMIT("3 %s %s %c", log->type->name, lc->log_dev->name, in disk_status()
818 DMEMIT("%s %u %s %u ", log->type->name, in disk_status()
Ddm-linear.c109 DMEMIT("%s %llu", lc->dev->name, (unsigned long long)lc->start); in linear_status()
114 DMEMIT(",device_name=%s,start=%llu;", lc->dev->name, in linear_status()
Ddm-integrity.c3263 DMEMIT("%llu %llu", in dm_integrity_status()
3267 DMEMIT(" %llu", le64_to_cpu(ic->sb->recalc_sector)); in dm_integrity_status()
3269 DMEMIT(" -"); in dm_integrity_status()
3292 DMEMIT("%s %llu %u %c %u", ic->dev->name, ic->start, in dm_integrity_status()
3295 DMEMIT(" meta_device:%s", ic->meta_dev->name); in dm_integrity_status()
3297 DMEMIT(" block_size:%u", ic->sectors_per_block << SECTOR_SHIFT); in dm_integrity_status()
3299 DMEMIT(" recalculate"); in dm_integrity_status()
3301 DMEMIT(" reset_recalculate"); in dm_integrity_status()
3303 DMEMIT(" allow_discards"); in dm_integrity_status()
3304 DMEMIT(" journal_sectors:%u", ic->initial_sectors - SB_SECTORS); in dm_integrity_status()
[all …]
Ddm-ps-historical-service-time.c246 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()
Ddm-log-userspace-base.c809 DMEMIT("%s 1 COM_FAILURE", log->type->name); in userspace_status()
818 DMEMIT("%s %u %s ", log->type->name, lc->usr_argc, lc->uuid); in userspace_status()
820 DMEMIT("integrated_flush "); in userspace_status()
821 DMEMIT("%s ", table_args); in userspace_status()
Ddm-writecache.c2664 DMEMIT("%ld %llu %llu %llu %llu %llu %llu %llu %llu %llu %llu %llu %llu %llu", in writecache_status()
2680 DMEMIT("%c %s %s %u ", WC_MODE_PMEM(wc) ? 'p' : 's', in writecache_status()
2706 DMEMIT("%u", extra_args); in writecache_status()
2708 DMEMIT(" start_sector %llu", (unsigned long long)wc->start_sector); in writecache_status()
2710 DMEMIT(" high_watermark %u", wc->high_wm_percent_value); in writecache_status()
2712 DMEMIT(" low_watermark %u", wc->low_wm_percent_value); in writecache_status()
2714 DMEMIT(" writeback_jobs %u", wc->max_writeback_jobs); in writecache_status()
2716 DMEMIT(" autocommit_blocks %u", wc->autocommit_blocks); in writecache_status()
2718 DMEMIT(" autocommit_time %u", wc->autocommit_time_value); in writecache_status()
2720 DMEMIT(" max_age %u", wc->max_age_value); in writecache_status()
[all …]
Ddm-snap-transient.c97 DMEMIT(" N %llu", (unsigned long long)store->chunk_size); in transient_status()

12