Searched refs:vdev_ms_count (Results 1 – 12 of 12) sorted by relevance
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | vdev_initialize.c | 396 for (uint64_t i = 0; i < vd->vdev_top->vdev_ms_count; i++) { in vdev_initialize_calculate_progress() 546 i < vd->vdev_top->vdev_ms_count; i++) { in vdev_initialize_thread() 554 if (vd->vdev_top->vdev_ms_count != ms_count) { in vdev_initialize_thread() 556 ms_count = vd->vdev_top->vdev_ms_count; in vdev_initialize_thread()
|
H A D | vdev_trim.c | 686 for (uint64_t i = 0; i < vd->vdev_top->vdev_ms_count; i++) { in vdev_trim_calculate_progress() 919 i < vd->vdev_top->vdev_ms_count; i++) { in vdev_trim_thread() 926 if (vd->vdev_top->vdev_ms_count != ms_count) { in vdev_trim_thread() 928 ms_count = vd->vdev_top->vdev_ms_count; in vdev_trim_thread() 1261 for (uint64_t i = shift % txgs_per_trim; i < vd->vdev_ms_count; in vdev_autotrim_thread() 1473 for (uint64_t i = 0; i < vd->vdev_ms_count; i++) { in vdev_autotrim_thread()
|
H A D | vdev_removal.c | 465 for (uint64_t i = 0; i < vd->vdev_ms_count; i++) { in vdev_remove_initiate_sync() 1248 ASSERT3U(start + size, <=, vd->vdev_ms_count << vd->vdev_ms_shift); in spa_vdev_copy_segment() 1393 ASSERT0(vd->vdev_ms_count); in vdev_remove_complete() 1627 msi < vd->vdev_ms_count && !svr->svr_thread_exit; msi++) { in spa_vdev_remove_thread() 1629 ASSERT3U(msi, <=, vd->vdev_ms_count); in spa_vdev_remove_thread() 1882 for (uint64_t msi = 0; msi < vd->vdev_ms_count; msi++) { in spa_vdev_remove_cancel_sync()
|
H A D | vdev.c | 1112 ASSERT0(vd->vdev_ms_count); in vdev_free() 1227 tvd->vdev_ms_count = svd->vdev_ms_count; in vdev_top_transfer() 1232 svd->vdev_ms_count = 0; in vdev_top_transfer() 1522 uint64_t oldc = vd->vdev_ms_count; in vdev_metaslab_init() 1548 vd->vdev_ms_count = newc; in vdev_metaslab_init() 1584 vd->vdev_ms_count > zfs_embedded_slog_min_ms && in vdev_metaslab_init() 1670 uint64_t count = vd->vdev_ms_count; in vdev_metaslab_fini() 1678 vd->vdev_ms_count = 0; in vdev_metaslab_fini() 1686 ASSERT0(vd->vdev_ms_count); in vdev_metaslab_fini() 5579 (vd->vdev_asize >> vd->vdev_ms_shift) > vd->vdev_ms_count && in vdev_expand()
|
H A D | vdev_rebuild.c | 694 for (uint64_t i = ms_id; i < vd->vdev_ms_count; i++) { in vdev_rebuild_update_bytes_est() 805 for (uint64_t i = 0; i < vd->vdev_ms_count; i++) { in vdev_rebuild_thread()
|
H A D | metaslab.c | 1191 for (int m = 0; m < vd->vdev_ms_count; m++) { in metaslab_group_fragmentation() 1203 if (valid_ms <= mg->mg_vd->vdev_ms_count / 2) in metaslab_group_fragmentation() 2681 ASSERT(vd->vdev_ms_count != 0); in metaslab_space_update() 3066 weight = 2 * weight - (msp->ms_id * weight) / vd->vdev_ms_count; in metaslab_space_weight() 4827 ASSERT3U(mg->mg_vd->vdev_ms_count, >=, 2); in metaslab_group_alloc_normal() 5380 ASSERT3U(offset >> vd->vdev_ms_shift, <, vd->vdev_ms_count); in metaslab_free_concrete() 5608 (offset >> vd->vdev_ms_shift) >= vd->vdev_ms_count) { in metaslab_unalloc_dva() 5715 if (offset >> vd->vdev_ms_shift >= vd->vdev_ms_count) in metaslab_claim_concrete() 6011 ASSERT3U(offset >> vd->vdev_ms_shift, <, vd->vdev_ms_count); in metaslab_check_free_impl()
|
H A D | spa_log_spacemap.c | 1301 for (uint64_t m = 0; m < vd->vdev_ms_count; m++) { in spa_ld_unflushed_txgs()
|
H A D | vdev_raidz.c | 3778 raidvd->vdev_ms_count << raidvd->vdev_ms_shift); in raidz_reflow_complete_sync() 4467 i < raidvd->vdev_ms_count && in spa_raidz_expand_thread() 4608 vre->vre_offset == raidvd->vdev_ms_count << raidvd->vdev_ms_shift) { in spa_raidz_expand_thread()
|
H A D | spa.c | 10593 m += vd->vdev_ms_count;
|
/freebsd/sys/contrib/openzfs/cmd/zdb/ |
H A D | zdb.c | 606 for (uint64_t mid = 0; mid < vd->vdev_ms_count; mid++) { in livelist_metaslab_validate() 614 (longlong_t)vd->vdev_ms_count); in livelist_metaslab_validate() 1427 for (uint64_t m = 0; m < vd->vdev_ms_count; m++) { in get_metaslab_refcount() 1734 "metaslabs", (u_longlong_t)vd->vdev_ms_count, in print_vdev_metaslab_header() 1765 (u_longlong_t)tvd->vdev_ms_count); in dump_metaslab_groups() 1876 if (zopt_metaslab[m] < vd->vdev_ms_count) in dump_metaslabs() 1895 for (m = 0; m < vd->vdev_ms_count; m++) in dump_metaslabs() 6264 for (uint64_t msi = 0; msi < vd->vdev_ms_count; msi++) { in zdb_claim_removing() 6545 for (uint64_t m = 0; m < vd->vdev_ms_count; m++) { in load_concrete_ms_allocatable_trees() 6553 (longlong_t)vd->vdev_ms_count); in load_concrete_ms_allocatable_trees() [all …]
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | vdev_impl.h | 268 uint64_t vdev_ms_count; /* number of metaslabs */ member
|
/freebsd/sys/contrib/openzfs/cmd/ |
H A D | ztest.c | 4404 old_ms_count = tvd->vdev_ms_count; in ztest_vdev_LUN_growth() 4476 new_ms_count = tvd->vdev_ms_count; in ztest_vdev_LUN_growth()
|