Searched refs:vdev_ms_count (Results 1 – 11 of 11) sorted by relevance
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | vdev_initialize.c | 360 for (uint64_t i = 0; i < vd->vdev_top->vdev_ms_count; i++) { in vdev_initialize_calculate_progress() 510 i < vd->vdev_top->vdev_ms_count; i++) { in vdev_initialize_thread() 518 if (vd->vdev_top->vdev_ms_count != ms_count) { in vdev_initialize_thread() 520 ms_count = vd->vdev_top->vdev_ms_count; in vdev_initialize_thread()
|
| H A D | vdev_trim.c | 648 for (uint64_t i = 0; i < vd->vdev_top->vdev_ms_count; i++) { in vdev_trim_calculate_progress() 881 i < vd->vdev_top->vdev_ms_count; i++) { in vdev_trim_thread() 888 if (vd->vdev_top->vdev_ms_count != ms_count) { in vdev_trim_thread() 890 ms_count = vd->vdev_top->vdev_ms_count; in vdev_trim_thread() 1223 for (uint64_t i = shift % txgs_per_trim; i < vd->vdev_ms_count; in vdev_autotrim_thread() 1425 for (uint64_t i = 0; i < vd->vdev_ms_count; i++) { in vdev_autotrim_thread()
|
| H A D | vdev_removal.c | 294 for (uint64_t i = 0; i < vd->vdev_ms_count; i++) { in vdev_remove_initiate_sync() 1075 ASSERT3U(start + size, <=, vd->vdev_ms_count << vd->vdev_ms_shift); in spa_vdev_copy_segment() 1440 msi < vd->vdev_ms_count && !svr->svr_thread_exit; msi++) { in spa_vdev_remove_thread() 1442 ASSERT3U(msi, <=, vd->vdev_ms_count); in spa_vdev_remove_thread() 1676 for (uint64_t msi = 0; msi < vd->vdev_ms_count; msi++) { in spa_vdev_remove_cancel_sync()
|
| H A D | metaslab.c | 1007 return ((1ULL << mg->mg_vd->vdev_ms_shift) * mg->mg_vd->vdev_ms_count); in metaslab_group_get_space() 1027 for (int m = 0; m < vd->vdev_ms_count; m++) { in metaslab_group_histogram_verify() 1169 for (int m = 0; m < vd->vdev_ms_count; m++) { in metaslab_group_fragmentation() 1181 if (valid_ms <= mg->mg_vd->vdev_ms_count / 2) in metaslab_group_fragmentation() 2602 ASSERT(vd->vdev_ms_count != 0); in metaslab_space_update() 2964 weight = 2 * weight - (msp->ms_id * weight) / vd->vdev_ms_count; in metaslab_space_weight() 4742 ASSERT3U(mg->mg_vd->vdev_ms_count, >=, 2); in metaslab_group_alloc_normal() 5312 ASSERT3U(offset >> vd->vdev_ms_shift, <, vd->vdev_ms_count); in metaslab_free_concrete() 5539 (offset >> vd->vdev_ms_shift) >= vd->vdev_ms_count) { in metaslab_unalloc_dva() 5653 if (offset >> vd->vdev_ms_shift >= vd->vdev_ms_count) in metaslab_claim_concrete() [all …]
|
| H A D | vdev.c | 1091 tvd->vdev_ms_count = svd->vdev_ms_count; in vdev_top_transfer() 1096 svd->vdev_ms_count = 0; in vdev_top_transfer() 1345 uint64_t oldc = vd->vdev_ms_count; in vdev_metaslab_init() 1371 vd->vdev_ms_count = newc; in vdev_metaslab_init() 1458 uint64_t count = vd->vdev_ms_count; in vdev_metaslab_fini() 1467 vd->vdev_ms_count = 0; in vdev_metaslab_fini() 1472 ASSERT0(vd->vdev_ms_count); in vdev_metaslab_fini() 4989 if ((vd->vdev_asize >> vd->vdev_ms_shift) > vd->vdev_ms_count && in vdev_expand()
|
| H A D | vdev_rebuild.c | 675 for (uint64_t i = ms_id; i < vd->vdev_ms_count; i++) { in vdev_rebuild_update_bytes_est() 788 for (uint64_t i = 0; i < vd->vdev_ms_count; i++) { in vdev_rebuild_thread()
|
| H A D | spa_log_spacemap.c | 1222 for (uint64_t m = 0; m < vd->vdev_ms_count; m++) { in spa_ld_unflushed_txgs()
|
| H A D | spa.c | 9413 m += vd->vdev_ms_count;
|
| /f-stack/freebsd/contrib/openzfs/cmd/zdb/ |
| H A D | zdb.c | 666 (longlong_t)vd->vdev_ms_count); in livelist_metaslab_validate() 1383 for (uint64_t m = 0; m < vd->vdev_ms_count; m++) { in get_metaslab_refcount() 1690 "metaslabs", (u_longlong_t)vd->vdev_ms_count, in print_vdev_metaslab_header() 1719 (u_longlong_t)tvd->vdev_ms_count); in dump_metaslab_groups() 1830 if (zopt_metaslab[m] < vd->vdev_ms_count) in dump_metaslabs() 1849 for (m = 0; m < vd->vdev_ms_count; m++) in dump_metaslabs() 5745 for (uint64_t m = 0; m < vd->vdev_ms_count; m++) { in load_concrete_ms_allocatable_trees() 5753 (longlong_t)vd->vdev_ms_count); in load_concrete_ms_allocatable_trees() 5858 (longlong_t)vd->vdev_ms_count); in zdb_leak_init_prepare_indirect_vdevs() 6993 (longlong_t)current_vd->vdev_ms_count); in verify_checkpoint_ms_spacemaps() [all …]
|
| /f-stack/freebsd/contrib/openzfs/include/sys/ |
| H A D | vdev_impl.h | 281 uint64_t vdev_ms_count; /* number of metaslabs */ member
|
| /f-stack/freebsd/contrib/openzfs/cmd/ztest/ |
| H A D | ztest.c | 3908 old_ms_count = tvd->vdev_ms_count; in ztest_vdev_LUN_growth() 3980 new_ms_count = tvd->vdev_ms_count; in ztest_vdev_LUN_growth()
|