Searched refs:vdev_ms_count (Results 1 – 11 of 11) sorted by relevance
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | vdev_initialize.c | 318 for (uint64_t i = 0; i < vd->vdev_top->vdev_ms_count; i++) { in vdev_initialize_calculate_progress() 482 i < vd->vdev_top->vdev_ms_count; i++) { in vdev_initialize_thread() 490 if (vd->vdev_top->vdev_ms_count != ms_count) { in vdev_initialize_thread() 492 ms_count = vd->vdev_top->vdev_ms_count; in vdev_initialize_thread()
|
H A D | vdev_trim.c | 606 for (uint64_t i = 0; i < vd->vdev_top->vdev_ms_count; i++) { in vdev_trim_calculate_progress() 850 i < vd->vdev_top->vdev_ms_count; i++) { in vdev_trim_thread() 857 if (vd->vdev_top->vdev_ms_count != ms_count) { in vdev_trim_thread() 859 ms_count = vd->vdev_top->vdev_ms_count; in vdev_trim_thread() 1167 for (uint64_t i = shift % txgs_per_trim; i < vd->vdev_ms_count; in vdev_autotrim_thread() 1369 for (uint64_t i = 0; i < vd->vdev_ms_count; i++) { in vdev_autotrim_thread()
|
H A D | vdev_removal.c | 283 for (uint64_t i = 0; i < vd->vdev_ms_count; i++) { in vdev_remove_initiate_sync() 1027 ASSERT3U(start + size, <=, vd->vdev_ms_count << vd->vdev_ms_shift); in spa_vdev_copy_segment() 1378 msi < vd->vdev_ms_count && !svr->svr_thread_exit; msi++) { in spa_vdev_remove_thread() 1380 ASSERT3U(msi, <=, vd->vdev_ms_count); in spa_vdev_remove_thread() 1584 for (uint64_t msi = 0; msi < vd->vdev_ms_count; msi++) { in spa_vdev_remove_cancel_sync()
|
H A D | metaslab.c | 980 return ((1ULL << mg->mg_vd->vdev_ms_shift) * mg->mg_vd->vdev_ms_count); in metaslab_group_get_space() 1000 for (int m = 0; m < vd->vdev_ms_count; m++) { in metaslab_group_histogram_verify() 1142 for (int m = 0; m < vd->vdev_ms_count; m++) { in metaslab_group_fragmentation() 1154 if (valid_ms <= mg->mg_vd->vdev_ms_count / 2) in metaslab_group_fragmentation() 2547 ASSERT(vd->vdev_ms_count != 0); in metaslab_space_update() 2904 weight = 2 * weight - (msp->ms_id * weight) / vd->vdev_ms_count; in metaslab_space_weight() 4685 ASSERT3U(mg->mg_vd->vdev_ms_count, >=, 2); in metaslab_group_alloc_normal() 5218 ASSERT3U(offset >> vd->vdev_ms_shift, <, vd->vdev_ms_count); in metaslab_free_concrete() 5445 (offset >> vd->vdev_ms_shift) >= vd->vdev_ms_count) { in metaslab_unalloc_dva() 5556 if (offset >> vd->vdev_ms_shift >= vd->vdev_ms_count) in metaslab_claim_concrete() [all …]
|
H A D | vdev.c | 983 tvd->vdev_ms_count = svd->vdev_ms_count; in vdev_top_transfer() 988 svd->vdev_ms_count = 0; in vdev_top_transfer() 1214 uint64_t oldc = vd->vdev_ms_count; in vdev_metaslab_init() 1240 vd->vdev_ms_count = newc; in vdev_metaslab_init() 1327 uint64_t count = vd->vdev_ms_count; in vdev_metaslab_fini() 1336 vd->vdev_ms_count = 0; in vdev_metaslab_fini() 1341 ASSERT0(vd->vdev_ms_count); in vdev_metaslab_fini() 4537 if ((vd->vdev_asize >> vd->vdev_ms_shift) > vd->vdev_ms_count && in vdev_expand()
|
H A D | spa_log_spacemap.c | 1225 for (uint64_t m = 0; m < vd->vdev_ms_count; m++) { in spa_ld_unflushed_txgs()
|
H A D | spa.c | 8917 m += vd->vdev_ms_count;
|
/illumos-gate/usr/src/cmd/zdb/ |
H A D | zdb.c | 695 for (uint64_t m = 0; m < vd->vdev_ms_count; m++) { in get_metaslab_refcount() 989 "metaslabs", (u_longlong_t)vd->vdev_ms_count, in print_vdev_metaslab_header() 1018 (u_longlong_t)tvd->vdev_ms_count); in dump_metaslab_groups() 1128 if (zopt_object[m] < vd->vdev_ms_count) in dump_metaslabs() 1147 for (m = 0; m < vd->vdev_ms_count; m++) in dump_metaslabs() 3904 for (uint64_t msi = 0; msi < vd->vdev_ms_count; msi++) { in zdb_claim_removing() 4181 for (uint64_t m = 0; m < vd->vdev_ms_count; m++) { in load_concrete_ms_allocatable_trees() 4189 (longlong_t)vd->vdev_ms_count); in load_concrete_ms_allocatable_trees() 4289 for (uint64_t m = 0; m < vd->vdev_ms_count; m++) { in zdb_leak_init_prepare_indirect_vdevs() 4296 (longlong_t)vd->vdev_ms_count); in zdb_leak_init_prepare_indirect_vdevs() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/ |
H A D | zfs.c | 1592 uint64_t vdev_ms_count; member 1609 uintptr_t *vdev_ms = mdb_alloc(vd->vdev_ms_count * sizeof (vdev_ms), in metaslab_stats() 1611 if (mdb_vread(vdev_ms, vd->vdev_ms_count * sizeof (uintptr_t), in metaslab_stats() 1617 for (int m = 0; m < vd->vdev_ms_count; m++) { in metaslab_stats() 1694 uintptr_t *vdev_ms = mdb_alloc(vd->vdev_ms_count * sizeof (vdev_ms), in metaslab_group_stats() 1696 if (mdb_vread(vdev_ms, vd->vdev_ms_count * sizeof (uintptr_t), in metaslab_group_stats() 1704 for (int m = 0; m < vd->vdev_ms_count; m++) { in metaslab_group_stats() 2146 GETMEMB(vdevp, "vdev", vdev_ms_count, mw->mw_nummss)) { in metaslab_walk_step()
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | vdev_impl.h | 245 uint64_t vdev_ms_count; /* number of metaslabs */ member
|
/illumos-gate/usr/src/cmd/ztest/ |
H A D | ztest.c | 3617 old_ms_count = tvd->vdev_ms_count; in ztest_vdev_LUN_growth() 3689 new_ms_count = tvd->vdev_ms_count; in ztest_vdev_LUN_growth()
|