Searched refs:vdev_ops (Results 1 – 13 of 13) sorted by relevance
/titanic_41/usr/src/uts/common/fs/zfs/ |
H A D | vdev.c | 135 if (pvd->vdev_ops == &vdev_raidz_ops) in vdev_get_min_asize() 186 if (vd->vdev_ops->vdev_op_leaf) in vdev_count_leaves_impl() 342 vd->vdev_ops = ops; in vdev_alloc_common() 531 if (vd->vdev_ops->vdev_op_leaf && in vdev_alloc() 798 ASSERT(mvd->vdev_ops == &vdev_mirror_ops || in vdev_remove_parent() 799 mvd->vdev_ops == &vdev_replacing_ops || in vdev_remove_parent() 800 mvd->vdev_ops == &vdev_spare_ops); in vdev_remove_parent() 997 ASSERT(vd->vdev_ops->vdev_op_leaf); in vdev_probe() 1171 error = vd->vdev_ops->vdev_op_open(vd, &osize, &max_osize, &ashift); in vdev_open() 1217 if (vd->vdev_ishole || vd->vdev_ops == &vdev_missing_ops) in vdev_open() [all …]
|
H A D | vdev_label.c | 222 fnvlist_add_string(nv, ZPOOL_CONFIG_TYPE, vd->vdev_ops->vdev_op_type); in vdev_config_generate() 241 ASSERT(strcmp(vd->vdev_ops->vdev_op_type, in vdev_config_generate() 316 if (!vd->vdev_ops->vdev_op_leaf) { in vdev_config_generate() 649 if (!vd->vdev_ops->vdev_op_leaf || !spa_writeable(spa)) in vdev_label_init() 922 if (vd->vdev_ops->vdev_op_leaf && vdev_readable(vd)) { in vdev_uberblock_load_impl() 1000 if (!vd->vdev_ops->vdev_op_leaf) in vdev_uberblock_sync() 1100 if (!vd->vdev_ops->vdev_op_leaf) in vdev_label_sync()
|
H A D | spa.c | 1192 if ((*vdp)->vdev_ops->vdev_op_leaf) in spa_config_parse() 1609 if (vd->vdev_ops->vdev_op_leaf && vdev_is_dead(vd) && in spa_check_removed() 1649 if (tvd->vdev_ops == &vdev_missing_ops && in spa_config_valid() 1650 mtvd->vdev_ops != &vdev_missing_ops && in spa_config_valid() 1683 if (tvd->vdev_ops == &vdev_missing_ops && in spa_config_valid() 1684 mtvd->vdev_ops != &vdev_missing_ops) { in spa_config_valid() 3343 if (!vd->vdev_ops->vdev_op_leaf) { in spa_validate_aux_devs() 3355 strcmp(vd->vdev_ops->vdev_op_type, VDEV_TYPE_DISK) != 0) { in spa_validate_aux_devs() 3770 if (vd->vdev_ops->vdev_op_leaf) { in spa_alt_rootvdev() 3893 if (bvd->vdev_parent->vdev_ops == &vdev_spare_ops && in spa_import_rootpool() [all …]
|
H A D | zvol.c | 1133 if (vd->vdev_ops == &vdev_mirror_ops || in zvol_dumpio_vdev() 1134 vd->vdev_ops == &vdev_replacing_ops || in zvol_dumpio_vdev() 1135 vd->vdev_ops == &vdev_spare_ops) { in zvol_dumpio_vdev() 1147 if (!vd->vdev_ops->vdev_op_leaf && vd->vdev_ops != &vdev_raidz_ops) in zvol_dumpio_vdev() 1155 if (vd->vdev_ops == &vdev_raidz_ops) { in zvol_dumpio_vdev() 1912 ASSERT(vd->vdev_ops == &vdev_root_ops); in zvol_dump_init() 1929 if (vd->vdev_children > 1 || vd->vdev_ops == &vdev_raidz_ops) { in zvol_dump_init()
|
H A D | zfs_fm.c | 176 vd->vdev_ops->vdev_op_leaf && in zfs_ereport_start() 263 DATA_TYPE_STRING, vd->vdev_ops->vdev_op_type, NULL); in zfs_ereport_start() 282 DATA_TYPE_STRING, pvd->vdev_ops->vdev_op_type, in zfs_ereport_start()
|
H A D | vdev_mirror.c | 115 mm->mm_replacing = (vd->vdev_ops == &vdev_replacing_ops || in vdev_mirror_map_alloc() 116 vd->vdev_ops == &vdev_spare_ops); in vdev_mirror_map_alloc()
|
H A D | zio.c | 663 if (vd->vdev_ops == &vdev_hole_ops) { in zfs_blkptr_verify() 669 if (vd->vdev_ops == &vdev_missing_ops) { in zfs_blkptr_verify() 994 if (vd->vdev_ops->vdev_op_leaf && zio->io_logical != NULL) in zio_vdev_child_io() 1007 ASSERT(vd->vdev_ops->vdev_op_leaf); in zio_vdev_delegated_io() 2675 if (vd->vdev_ops->vdev_op_leaf && in zio_vdev_io_start() 2691 vd->vdev_ops->vdev_op_io_start(zio); in zio_vdev_io_start() 2699 vdev_ops_t *ops = vd ? vd->vdev_ops : &vdev_mirror_ops; in zio_vdev_io_done() 2708 if (vd != NULL && vd->vdev_ops->vdev_op_leaf) { in zio_vdev_io_done() 2808 if (zio->io_error && vd != NULL && vd->vdev_ops->vdev_op_leaf && in zio_vdev_io_assess() 2817 vd != NULL && !vd->vdev_ops->vdev_op_leaf) { in zio_vdev_io_assess() [all …]
|
H A D | vdev_disk.c | 633 ASSERT(vd->vdev_ops == &vdev_disk_ops); in vdev_disk_physio()
|
H A D | metaslab.c | 234 ASSERT3P(vd->vdev_ops, !=, &vdev_hole_ops); in metaslab_class_validate()
|
/titanic_41/usr/src/uts/common/fs/zfs/sys/ |
H A D | vdev_impl.h | 69 typedef struct vdev_ops { struct 140 vdev_ops_t *vdev_ops; /* vdev operations */ member
|
/titanic_41/usr/src/cmd/ztest/ |
H A D | ztest.c | 2682 if (tvd->vdev_islog || tvd->vdev_ops == &vdev_hole_ops) { in ztest_split_pool() 2786 ASSERT(oldvd->vdev_ops == &vdev_mirror_ops); in ztest_vdev_attach_detach() 2791 ASSERT(oldvd->vdev_ops == &vdev_raidz_ops); in ztest_vdev_attach_detach() 2863 if (pvd->vdev_ops != &vdev_mirror_ops && in ztest_vdev_attach_detach() 2864 pvd->vdev_ops != &vdev_root_ops && (!replacing || in ztest_vdev_attach_detach() 2865 pvd->vdev_ops == &vdev_replacing_ops || in ztest_vdev_attach_detach() 2866 pvd->vdev_ops == &vdev_spare_ops)) in ztest_vdev_attach_detach() 2931 ASSERT(vd->vdev_ops->vdev_op_leaf); in grow_vdev() 2962 ASSERT(vd->vdev_ops->vdev_op_leaf); in online_vdev() 3014 if (vd->vdev_ops->vdev_op_leaf) { in vdev_walk_tree() [all …]
|
/titanic_41/usr/src/cmd/mdb/common/modules/zfs/ |
H A D | zfs.c | 1407 } else if (vdev.vdev_ops != NULL) { in do_print_vdev() 1410 (uintptr_t)vdev.vdev_ops) == -1) { in do_print_vdev() 1412 vdev.vdev_ops); in do_print_vdev()
|
/titanic_41/usr/src/cmd/zdb/ |
H A D | zdb.c | 611 if (vd->vdev_ops->vdev_op_leaf) { in get_dtl_refcount() 1034 vd->vdev_parent ? vd->vdev_ops->vdev_op_type : spa_name(spa), in dump_dtl() 3310 vd->vdev_ops->vdev_op_type); in zdb_read_block()
|