Searched refs:vdev_id (Results 1 - 18 of 18) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspace_map.c125 uint64_t raw_offset, raw_run, vdev_id; local
129 vdev_id = SM_NO_VDEVID;
136 vdev_id = SM2_VDEV_DECODE(e);
161 .sme_vdev = vdev_id,
310 uint64_t raw_offset, raw_run, vdev_id; local
314 vdev_id = SM_NO_VDEVID;
322 vdev_id = SM2_VDEV_DECODE(e);
348 .sme_vdev = vdev_id,
529 uint64_t vdev_id, uint8_t words, dmu_buf_t **dbp, void *tag, dmu_tx_t *tx)
534 /* ensure the vdev_id ca
528 space_map_write_seg(space_map_t *sm, range_seg_t *rs, maptype_t maptype, uint64_t vdev_id, uint8_t words, dmu_buf_t **dbp, void *tag, dmu_tx_t *tx) argument
647 space_map_write_impl(space_map_t *sm, range_tree_t *rt, maptype_t maptype, uint64_t vdev_id, dmu_tx_t *tx) argument
729 space_map_write(space_map_t *sm, range_tree_t *rt, maptype_t maptype, uint64_t vdev_id, dmu_tx_t *tx) argument
933 space_map_estimate_optimal_size(space_map_t *sm, range_tree_t *rt, uint64_t vdev_id) argument
[all...]
H A Dvdev_indirect.c342 * Mark the DVA vdev_id:offset:size as being obsolete in the given tx. This
347 spa_vdev_indirect_mark_obsolete(spa_t *spa, uint64_t vdev_id, uint64_t offset, argument
350 vdev_t *vd = vdev_lookup_top(spa, vdev_id);
450 (u_longlong_t)vd->vdev_id,
463 (u_longlong_t)vd->vdev_id,
499 ASSERT3U(vd->vdev_id, ==, scip->scip_vdev);
530 vd->vdev_id, dmu_tx_get_txg(tx), vic->vic_mapping_object,
601 ASSERT3U(vd->vdev_id, ==, spa->spa_condensing_indirect_phys.scip_vdev);
604 (u_longlong_t)vd->vdev_id,
611 "at index %llu", (u_longlong_t)vd->vdev_id,
[all...]
H A Dspa_checkpoint.c339 tx->tx_txg, vd->vdev_id, (words_before - words_after),
347 error, vd->vdev_id);
430 error, vd->vdev_id);
H A Dvdev_removal.c193 svr->svr_vdev_id = vd->vdev_id;
235 int vdev_id = (uintptr_t)arg; local
237 vdev_t *vd = vdev_lookup_top(spa, vdev_id);
270 spa->spa_removing_phys.sr_removing_vdev = vd->vdev_id;
336 "im_obj=%llu", vd->vdev_id, vd, dmu_tx_get_txg(tx),
340 "%s vdev %llu %s", spa_name(spa), vd->vdev_id,
405 ASSERT3U(svr->svr_vdev_id, ==, vd->vdev_id);
487 ASSERT3U(vd->vdev_id, ==, svr->svr_vdev_id);
680 srp->sr_prev_indirect_vdev = vd->vdev_id;
1068 "%s vdev %llu", spa_name(spa), vd->vdev_id);
[all...]
H A Dmetaslab.c712 uint64_t a_vdev_id = a->ms_group->mg_vd->vdev_id;
713 uint64_t b_vdev_id = b->ms_group->mg_vd->vdev_id;
2105 zfs_dbgmsg("loading: txg %llu, spa %s, vdev_id %llu, "
2112 msp->ms_group->mg_vd->vdev_id, msp->ms_id,
2523 "ms_id %llu, vdev_id %llu", txg, msp->ms_id,
2524 vd->vdev_id);
3240 msp->ms_id, msp, msp->ms_group->mg_vd->vdev_id,
3475 zfs_dbgmsg("flushing: txg %llu, spa %s, vdev_id %llu, "
3478 msp->ms_group->mg_vd->vdev_id, msp->ms_id,
3659 vd->vdev_id, t
[all...]
H A Dvdev.c126 (u_longlong_t)vd->vdev_id,
137 zfs_dbgmsg("%*svdev %u: %s", indent, "", vd->vdev_id,
173 "", (int)vd->vdev_id, vd->vdev_ops->vdev_op_type,
342 uint64_t id = cvd->vdev_id;
388 uint_t id = cvd->vdev_id;
445 cvd->vdev_id = newc++;
489 vd->vdev_id = id;
1067 mvd = vdev_alloc_common(spa, cvd->vdev_id, 0, ops);
1079 cvd->vdev_id = mvd->vdev_children;
1121 cvd->vdev_id
[all...]
H A Dspa_log_spacemap.c1060 uint32_t vdev_id = sme->sme_vdev; local
1064 vdev_t *vd = vdev_lookup_top(spa, vdev_id);
H A Dspa.c6077 tvd->vdev_id = rvd->vdev_children;
6277 newvd->vdev_id = pvd->vdev_children;
6445 if (pvd->vdev_ops == &vdev_replacing_ops && vd->vdev_id > 0 &&
6470 vd->vdev_id == 0 &&
6954 c != spa->spa_root_vdev->vdev_child[c]->vdev_id) {
7280 if (ppvd->vdev_ops == &vdev_spare_ops && pvd->vdev_id == 0 &&
H A Dvdev_label.c259 fnvlist_add_uint64(nv, ZPOOL_CONFIG_ID, vd->vdev_id);
H A Dvdev_raidz.c2664 uint64_t tgt_col = cvd->vdev_id;
H A Dzio.c4110 metaslab_group_alloc_decrement(zio->io_spa, vd->vdev_id, pio, flags,
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dspace_map.h221 uint64_t vdev_id, dmu_tx_t *tx);
223 uint64_t vdev_id);
H A Dvdev_impl.h209 uint64_t vdev_id; /* child number in vdev parent */ member in struct:vdev
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c984 (u_longlong_t)vd->vdev_id, bias_str);
1020 (u_longlong_t)tvd->vdev_id,
1089 (longlong_t)vd->vdev_id,
3213 (u_longlong_t)vd->vdev_id, (u_longlong_t)start, (u_longlong_t)size);
3439 ASSERT3P(zcb->zcb_vd_obsolete_counts[vd->vdev_id], !=, NULL);
3444 zcb->zcb_vd_obsolete_counts[vd->vdev_id]);
3464 if (scip->scip_vdev == vd->vdev_id &&
3578 ASSERT3U(c, ==, rvd->vdev_child[c]->vdev_id);
3589 uint64_t vdev_id = sme->sme_vdev; local
3591 vdev_t *vd = vdev_lookup_top(spa, vdev_id);
3627 uint64_t vdev_id = sme->sme_vdev; local
5150 uint64_t vdev_id = sme->sme_vdev; local
[all...]
/illumos-gate/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_pool.c424 uint64_t vdev_id; local
447 result = nvlist_lookup_uint64(vdev, ZPOOL_CONFIG_GUID, &vdev_id);
456 env, object->object, bean->method_setIndex, (jlong)vdev_id);
877 * Gets the vdev (an nvlist_t *) with the given vdev_id, below the
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c203 uint64_t raw_offset, raw_run, vdev_id = SM_NO_VDEVID; local
215 vdev_id = SM2_VDEV_DECODE(word);
243 (u_longlong_t)vdev_id, (u_longlong_t)nwords);
1509 uint64_t vdev_id;
2043 "%s-%llu", ops.vdev_op_type, vdev.vdev_id);
1508 uint64_t vdev_id; member in struct:mdb_vdev
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_pool.c2460 uint64_t id, vdev_id; local
2490 vdev_id = strtoull(idx, &end, 10);
2499 if (vdev_id == id)
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c5586 (long long)vd0->vdev_id, (int)maxfaults);

Completed in 2389 milliseconds