Home
last modified time | relevance | path

Searched refs:vdev_spa (Results 1 – 13 of 13) sorted by relevance

/titanic_41/usr/src/uts/common/fs/zfs/
H A Dvdev.c207 spa_t *spa = cvd->vdev_spa; in vdev_add_child()
286 ASSERT(spa_config_held(pvd->vdev_spa, SCL_ALL, RW_WRITER) == SCL_ALL); in vdev_compact_children()
338 vd->vdev_spa = spa; in vdev_alloc_common()
595 spa_t *spa = vd->vdev_spa; in vdev_free()
681 spa_t *spa = svd->vdev_spa; in vdev_top_transfer()
759 spa_t *spa = cvd->vdev_spa; in vdev_add_parent()
795 ASSERT(spa_config_held(cvd->vdev_spa, SCL_ALL, RW_WRITER) == SCL_ALL); in vdev_remove_parent()
832 spa_t *spa = vd->vdev_spa; in vdev_metaslab_init()
993 spa_t *spa = vd->vdev_spa; in vdev_probe()
1136 spa_t *spa = vd->vdev_spa; in vdev_open()
[all …]
H A Dvdev_disk.c117 zfs_post_remove(vd->vdev_spa, vd); in vdev_disk_off_notify()
119 spa_async_request(vd->vdev_spa, SPA_ASYNC_REMOVE); in vdev_disk_off_notify()
149 spa_async_request(vd->vdev_spa, SPA_ASYNC_PROBE); in vdev_disk_off_finalize()
176 (void) vdev_degrade(vd->vdev_spa, vd->vdev_guid, 0); in vdev_disk_dgrd_finalize()
191 ASSERT(spa_config_held(vd->vdev_spa, SCL_STATE, RW_WRITER)); in vdev_disk_hold()
230 ASSERT(spa_config_held(vd->vdev_spa, SCL_STATE, RW_WRITER)); in vdev_disk_rele()
234 dsl_pool_vnrele_taskq(vd->vdev_spa->spa_dsl_pool)); in vdev_disk_rele()
239 dsl_pool_vnrele_taskq(vd->vdev_spa->spa_dsl_pool)); in vdev_disk_rele()
286 spa_t *spa = vd->vdev_spa; in vdev_disk_open()
604 (void) ldi_close(dvd->vd_lh, spa_mode(vd->vdev_spa), kcred); in vdev_disk_close()
H A Dvdev_label.c436 spa_t *spa = vd->vdev_spa; in vdev_label_read_config()
510 spa_t *spa = vd->vdev_spa; in vdev_inuse()
627 spa_t *spa = vd->vdev_spa; in vdev_label_init()
945 spa_t *spa = rvd->vdev_spa; in vdev_uberblock_load()
1025 spa_t *spa = svd[0]->vdev_spa; in vdev_uberblock_sync_list()
1109 label = spa_config_generate(vd->vdev_spa, vd, txg, B_FALSE); in vdev_label_sync()
1187 spa_t *spa = svd[0]->vdev_spa; in vdev_config_sync()
H A Dvdev_file.c88 spa_mode(vd->vdev_spa) | FOFFMAX, 0, &vp, 0, 0, rootdir, -1); in vdev_file_open()
134 (void) VOP_CLOSE(vf->vf_vnode, spa_mode(vd->vdev_spa), 1, 0, in vdev_file_close()
H A Dmetaslab.c752 spa_t *spa = vd->vdev_spa; in metaslab_group_allocatable()
1216 objset_t *mos = vd->vdev_spa->spa_meta_objset; in metaslab_init()
1370 spa_t *spa = msp->ms_group->mg_vd->vdev_spa; in metaslab_fragmentation()
1547 spa_t *spa = msp->ms_group->mg_vd->vdev_spa; in metaslab_preload()
1566 spa_t *spa = mg->mg_vd->vdev_spa; in metaslab_group_preload()
1698 spa_t *spa = msp->ms_group->mg_vd->vdev_spa; in metaslab_condense()
1784 spa_t *spa = vd->vdev_spa; in metaslab_sync()
2040 spa_t *spa = mg->mg_vd->vdev_spa; in metaslab_group_alloc()
H A Dvdev_queue.c446 spa_t *spa = vq->vq_vdev->vdev_spa; in vdev_queue_class_to_issue()
H A Dspa_misc.c877 } else if (aux->aux_pool == spa_guid(vd->vdev_spa)) { in spa_aux_remove()
918 found->aux_pool = spa_guid(vd->vdev_spa); in spa_aux_activate()
H A Darc.c7190 spa_t *spa = vd->vdev_spa; in l2arc_rebuild()
7214 load_guid = spa_load_guid(dev->l2ad_vdev->vdev_spa); in l2arc_rebuild()
7359 guid = spa_guid(dev->l2ad_vdev->vdev_spa); in l2arc_dev_hdr_read()
7366 spa_config_exit(dev->l2ad_vdev->vdev_spa, SCL_L2ARC, in l2arc_dev_hdr_read()
7629 pio = zio_root(vd->vdev_spa, NULL, NULL, ZIO_FLAG_DONT_CACHE | in l2arc_log_blk_prefetch()
7662 hdr->dh_spa_guid = spa_guid(dev->l2ad_vdev->vdev_spa); in l2arc_dev_hdr_update()
H A Dzio.c910 zio = zio_create(pio, vd->vdev_spa, 0, NULL, data, size, done, private, in zio_read_phys()
931 zio = zio_create(pio, vd->vdev_spa, 0, NULL, data, size, done, private, in zio_write_phys()
1009 zio = zio_create(NULL, vd->vdev_spa, 0, NULL, in zio_vdev_delegated_io()
H A Dspa.c1611 zfs_post_autoreplace(vd->vdev_spa, vd); in spa_check_removed()
1612 spa_event_notify(vd->vdev_spa, vd, ESC_ZFS_VDEV_CHECK); in spa_check_removed()
/titanic_41/usr/src/uts/common/fs/zfs/sys/
H A Dvdev_impl.h141 spa_t *vdev_spa; /* spa for this vdev */ member
/titanic_41/usr/src/cmd/zdb/
H A Dzdb.c739 spa_t *spa = vd->vdev_spa; in dump_metaslab()
1020 spa_t *spa = vd->vdev_spa; in dump_dtl()
/titanic_41/usr/src/cmd/ztest/
H A Dztest.c2925 spa_t *spa = vd->vdev_spa; in grow_vdev()
2954 spa_t *spa = vd->vdev_spa; in online_vdev()