| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | vdev.c | 1213 mvd->vdev_ashift = cvd->vdev_ashift; in vdev_add_parent() 1246 cvd->vdev_ashift = mvd->vdev_ashift; in vdev_remove_parent() 1328 spa->spa_max_ashift = vd->vdev_ashift; in vdev_metaslab_group_create() 1751 vd->vdev_ashift = MIN( in vdev_ashift_optimize() 1767 vd->vdev_ashift); in vdev_ashift_optimize() 1953 if (vd->vdev_ashift == 0) { in vdev_open() 1966 if (vd->vdev_ashift != 0 && (vd->vdev_ashift < ASHIFT_MIN || in vdev_open() 1967 vd->vdev_ashift > ASHIFT_MAX)) { in vdev_open() 1976 if (vd->vdev_ashift > vd->vdev_top->vdev_ashift && in vdev_open() 3345 vd->vdev_ashift); in vdev_load() [all …]
|
| H A D | vdev_draid.c | 583 uint64_t ashift = vd->vdev_ashift; in vdev_draid_asize() 889 uint64_t skip_size = 1ULL << zio->io_vd->vdev_top->vdev_ashift; in vdev_draid_map_alloc_write() 936 uint64_t skip_size = 1ULL << zio->io_vd->vdev_top->vdev_ashift; in vdev_draid_map_alloc_scrub() 1088 uint64_t ashift = vd->vdev_top->vdev_ashift; in vdev_draid_logical_to_physical() 1146 uint64_t ashift = vd->vdev_top->vdev_ashift; in vdev_draid_map_alloc_row() 1385 return (vdc->vdc_ndata << vd->vdev_ashift); in vdev_draid_min_alloc() 1686 logical_ashift = MAX(logical_ashift, cvd->vdev_ashift); in vdev_draid_calculate_asize() 1812 uint64_t ashift = vd->vdev_ashift; in vdev_draid_rebuild_asize() 1850 uint64_t sz = vdc->vdc_groupwidth << vd->vdev_ashift; in vdev_draid_metaslab_init() 1935 cvd->vdev_ashift); in vdev_draid_spare_create() [all …]
|
| H A D | metaslab.c | 1015 uint64_t ashift = vd->vdev_ashift; in metaslab_group_histogram_verify() 1049 uint64_t ashift = mg->mg_vd->vdev_ashift; in metaslab_group_histogram_add() 1069 uint64_t ashift = mg->mg_vd->vdev_ashift; in metaslab_group_histogram_remove() 2570 *shift = vdev->vdev_ashift; in metaslab_calculate_range_tree_type() 2648 ms->ms_size, vd->vdev_ashift); in metaslab_init() 3082 uint8_t shift = mg->mg_vd->vdev_ashift; in metaslab_segment_weight() 3512 uint64_t vdev_blocksize = 1 << vd->vdev_ashift; in metaslab_should_condense() 4579 VERIFY0(P2PHASE(size, 1ULL << vd->vdev_ashift)); in metaslab_block_alloc() 5320 VERIFY0(P2PHASE(asize, 1ULL << vd->vdev_ashift)); in metaslab_free_concrete() 5567 VERIFY0(P2PHASE(size, 1ULL << vd->vdev_ashift)); in metaslab_unalloc_dva() [all …]
|
| H A D | vdev_raidz.c | 1630 *logical_ashift = MAX(*logical_ashift, cvd->vdev_ashift); in vdev_raidz_open() 1660 uint64_t ashift = vd->vdev_top->vdev_ashift; in vdev_raidz_asize() 1718 rc->rc_size + (1 << tvd->vdev_ashift)); in vdev_raidz_io_verify() 1835 rm = vdev_raidz_map_alloc(zio, tvd->vdev_ashift, in vdev_raidz_io_start() 1849 vdev_raidz_io_start_write(zio, rr, tvd->vdev_ashift); in vdev_raidz_io_start() 2580 uint64_t ashift = vd->vdev_top->vdev_ashift; in vdev_raidz_need_resilver() 2622 uint64_t ashift = raidvd->vdev_top->vdev_ashift; in vdev_raidz_xlate()
|
| H A D | vdev_removal.c | 2044 vd->vdev_ashift != spa->spa_max_ashift) { in spa_vdev_remove_top_check() 2063 cvd->vdev_ashift != vd->vdev_ashift) { in spa_vdev_remove_top_check() 2066 if (cvd->vdev_ashift != 0 && in spa_vdev_remove_top_check() 2068 ASSERT3U(cvd->vdev_ashift, ==, spa->spa_max_ashift); in spa_vdev_remove_top_check()
|
| H A D | vdev_mirror.c | 412 *logical_ashift = MAX(*logical_ashift, cvd->vdev_ashift); in vdev_mirror_open() 875 uint64_t psize = MIN(P2ROUNDUP(max_segment, 1 << vd->vdev_ashift), in vdev_mirror_rebuild_asize()
|
| H A D | zfs_fm.c | 495 if (vd->vdev_ashift) in zfs_ereport_start() 498 DATA_TYPE_UINT64, vd->vdev_ashift, NULL); in zfs_ereport_start() 1114 report->zcr_sector = 1ULL << vd->vdev_top->vdev_ashift; in zfs_ereport_start_checksum()
|
| H A D | vdev_indirect.c | 957 *logical_ashift = vd->vdev_ashift; in vdev_indirect_open()
|
| H A D | zio.c | 1346 ASSERT0(P2PHASE(offset, 1ULL << vd->vdev_ashift)); in zio_trim() 1347 ASSERT0(P2PHASE(size, 1ULL << vd->vdev_ashift)); in zio_trim() 3724 align = 1ULL << vd->vdev_top->vdev_ashift; in zio_vdev_io_start()
|
| H A D | vdev_label.c | 477 fnvlist_add_uint64(nv, ZPOOL_CONFIG_ASHIFT, vd->vdev_ashift); in vdev_config_generate()
|
| H A D | spa.c | 6498 tvd->vdev_ashift != spa->spa_max_ashift) { 6744 if (newvd->vdev_ashift > oldvd->vdev_top->vdev_ashift) 7501 vml[c]->vdev_top->vdev_ashift) == 0);
|
| H A D | arc.c | 9482 MAX(sizeof (*adddev->l2ad_dev_hdr), 1 << vd->vdev_ashift); in l2arc_add_vdev()
|
| /f-stack/freebsd/contrib/openzfs/include/sys/ |
| H A D | vdev_impl.h | 238 uint64_t vdev_ashift; /* block alignment shift */ member 479 MIN(MAX((vd)->vdev_top->vdev_ashift, UBERBLOCK_SHIFT), \
|
| /f-stack/freebsd/contrib/openzfs/cmd/zdb/ |
| H A D | zdb.c | 4453 vd.vdev_ashift = ashift; in dump_label_uberblocks() 4708 vd.vdev_ashift = ashift; in dump_label() 5635 checkpoint_sm_obj, 0, vd->vdev_asize, vd->vdev_ashift)); in zdb_leak_init_vdev_exclude_checkpoint() 5959 inner_offset += 1 << vd->vdev_ashift) { in zdb_check_for_obsolete_leaks() 5961 offset + inner_offset, 1 << vd->vdev_ashift)) { in zdb_check_for_obsolete_leaks() 5962 obsolete_bytes += 1 << vd->vdev_ashift; in zdb_check_for_obsolete_leaks() 6919 current_vd->vdev_ashift)); in verify_checkpoint_vdev_spacemaps() 7085 checkpoint_sm_obj, 0, vd->vdev_asize, vd->vdev_ashift)); in dump_leftover_checkpoint_blocks()
|
| /f-stack/freebsd/contrib/openzfs/cmd/ztest/ |
| H A D | ztest.c | 3635 else if (ashift > oldvd->vdev_top->vdev_ashift) in ztest_vdev_attach_detach()
|