Lines Matching refs:vdev_ops

587 	ASSERT3P(vd->vdev_ops, ==, &vdev_draid_ops);  in vdev_draid_asize()
619 ASSERT3P(vd->vdev_ops, ==, &vdev_draid_ops); in vdev_draid_offset_to_group()
632 ASSERT3P(vd->vdev_ops, ==, &vdev_draid_ops); in vdev_draid_group_to_offset()
1154 ASSERT3P(vd->vdev_ops, ==, &vdev_draid_ops); in vdev_draid_get_astart()
1169 ASSERT3P(vd->vdev_ops, ==, &vdev_draid_ops); in vdev_draid_min_asize()
1184 ASSERT3P(vd->vdev_ops, ==, &vdev_draid_ops); in vdev_draid_min_alloc()
1203 if (vd->vdev_ops == &vdev_spare_ops || in vdev_draid_missing()
1204 vd->vdev_ops == &vdev_replacing_ops) { in vdev_draid_missing()
1223 if (vd->vdev_ops == &vdev_draid_spare_ops) { in vdev_draid_missing()
1262 if (vd->vdev_ops == &vdev_spare_ops || in vdev_draid_partial()
1263 vd->vdev_ops == &vdev_replacing_ops) { in vdev_draid_partial()
1281 if (vd->vdev_ops == &vdev_draid_spare_ops) { in vdev_draid_partial()
1318 if (vd->vdev_ops == &vdev_draid_spare_ops) { in vdev_draid_readable()
1324 if (vd->vdev_ops == &vdev_spare_ops || in vdev_draid_readable()
1325 vd->vdev_ops == &vdev_replacing_ops) { in vdev_draid_readable()
1349 if (vd->vdev_ops == &vdev_draid_spare_ops) in vdev_draid_find_spare()
1369 if (vd->vdev_ops == &vdev_draid_spare_ops) { in vdev_draid_faulted()
1381 return (vd->vdev_ops == &vdev_replacing_ops || in vdev_draid_faulted()
1382 vd->vdev_ops == &vdev_spare_ops); in vdev_draid_faulted()
1394 ASSERT3P(vd->vdev_ops, ==, &vdev_draid_ops); in vdev_draid_group_degraded()
1434 ASSERT3P(vd->vdev_ops, ==, &vdev_draid_ops); in vdev_draid_group_missing()
1477 ASSERT3P(vd->vdev_ops, ==, &vdev_draid_ops); in vdev_draid_calculate_asize()
1482 if (cvd->vdev_ops == &vdev_draid_spare_ops) in vdev_draid_calculate_asize()
1492 if (cvd->vdev_ops == &vdev_draid_spare_ops) in vdev_draid_calculate_asize()
1510 return (vd->vdev_ops == &vdev_draid_spare_ops || in vdev_draid_open_spares()
1511 vd->vdev_ops == &vdev_replacing_ops || in vdev_draid_open_spares()
1512 vd->vdev_ops == &vdev_spare_ops); in vdev_draid_open_spares()
1617 ASSERT3P(vd->vdev_ops, ==, &vdev_draid_ops); in vdev_draid_rebuild_asize()
1655 ASSERT3P(vd->vdev_ops, ==, &vdev_draid_ops); in vdev_draid_metaslab_init()
1684 if (cvd->vdev_ops == &vdev_draid_ops) { in vdev_draid_spare_create()
1715 if (cvd->vdev_ops != &vdev_draid_ops) in vdev_draid_spare_create()
1811 if (vd->vdev_ops->vdev_op_leaf && vd->vdev_rebuild_txg) in vdev_draid_rebuilding()
1978 if (svd && (svd->vdev_ops == &vdev_spare_ops || in vdev_draid_io_start_read()
1979 svd->vdev_ops == &vdev_replacing_ops)) { in vdev_draid_io_start_read()
1991 if ((cvd->vdev_ops == &vdev_spare_ops || in vdev_draid_io_start_read()
1992 cvd->vdev_ops == &vdev_replacing_ops) && in vdev_draid_io_start_read()
2036 ASSERT3P(vd->vdev_ops, ==, &vdev_draid_ops); in vdev_draid_io_start()
2072 ASSERT(vd->vdev_ops == &vdev_draid_ops); in vdev_draid_state_change()
2088 ASSERT(raidvd->vdev_ops == &vdev_draid_ops); in vdev_draid_xlate()
2184 ASSERT3P(vd->vdev_ops, ==, &vdev_draid_ops); in vdev_draid_config_generate()
2362 ASSERT3P(vd->vdev_ops, ==, &vdev_draid_spare_ops); in vdev_draid_spare_get_parent()
2380 if (pvd != NULL && (pvd->vdev_ops == &vdev_spare_ops || in vdev_draid_spare_is_active()
2381 pvd->vdev_ops == &vdev_replacing_ops || in vdev_draid_spare_is_active()
2382 pvd->vdev_ops == &vdev_draid_ops)) { in vdev_draid_spare_is_active()
2400 ASSERT3P(vd->vdev_ops, ==, &vdev_draid_spare_ops); in vdev_draid_spare_get_child()
2409 ASSERT3P(tvd->vdev_ops, ==, &vdev_draid_ops); in vdev_draid_spare_get_child()
2422 if (cvd->vdev_ops == &vdev_draid_spare_ops) in vdev_draid_spare_get_child()
2466 if (tvd->vdev_ops != &vdev_draid_ops || vdc == NULL) in vdev_draid_spare_open()
2539 if (sav->sav_vdevs[i]->vdev_ops == &vdev_draid_spare_ops && in vdev_draid_read_config_spare()
2793 ASSERT3P(vd->vdev_ops, ==, &vdev_draid_spare_ops); in vdev_draid_spare_config_generate()