Searched defs:pvd (Results 1 - 10 of 10) sorted by relevance

/illumos-gate/usr/src/cmd/fs.d/udfs/fstyp/
H A Dfstyp.c181 struct pri_vol_desc *pvd; local
209 pvd = (struct pri_vol_desc *)(uint32_t *)buf;
211 ud_convert2local(pvd->pvd_vol_id, str, 32);
H A Dud_lib.c457 struct pri_vol_desc *pvd; local
492 pvd = (struct pri_vol_desc *)taddr;
494 (SWAP_32(pvd->pvd_vdsn) > v->pvd_vdsn)) {
495 v->pvd_vdsn = SWAP_32(pvd->pvd_vdsn);
1622 print_pvd(FILE *fout, struct pri_vol_desc *pvd) argument
1626 print_tag(fout, &pvd->pvd_tag);
1628 SWAP_32(pvd->pvd_vdsn), SWAP_32(pvd->pvd_pvdn));
1629 print_dstring(fout, "volid : ", pvd->pvd_desc_cs.cs_type,
1630 pvd
[all...]
/illumos-gate/usr/src/cmd/fs.d/udfs/labelit/
H A Dlabelit.c302 struct pri_vol_desc *pvd; local
305 pvd = (struct pri_vol_desc *)buf;
309 (int8_t *)pvd->pvd_vsi,
310 (int8_t *)outbuf, strlen(pvd->pvd_vsi));
316 pvd->pvd_vol_id[31] = '\0';
318 (int8_t *)pvd->pvd_vol_id,
320 strlen(pvd->pvd_vol_id));
382 struct pri_vol_desc *pvd; local
385 pvd = (struct pri_vol_desc *)buf;
386 bzero((int8_t *)&pvd
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_fm.c258 vdev_t *pvd = vd->vdev_parent; local
281 if (pvd != NULL) {
284 DATA_TYPE_UINT64, pvd->vdev_guid,
286 DATA_TYPE_STRING, pvd->vdev_ops->vdev_op_type,
288 if (pvd->vdev_path)
291 DATA_TYPE_STRING, pvd->vdev_path, NULL);
292 if (pvd->vdev_devid)
295 DATA_TYPE_STRING, pvd->vdev_devid, NULL);
H A Dvdev_removal.c674 vdev_t *pvd = vdev_lookup_top(spa, local
676 ASSERT3P(pvd->vdev_ops, ==, &vdev_indirect_ops);
H A Dvdev.c251 vdev_t *pvd = vd->vdev_parent; local
257 if (pvd == NULL)
271 if (pvd->vdev_ops == &vdev_raidz_ops)
272 return ((pvd->vdev_min_asize + pvd->vdev_children - 1) /
273 pvd->vdev_children);
275 return (pvd->vdev_min_asize);
339 vdev_add_child(vdev_t *pvd, vdev_t *cvd) argument
349 cvd->vdev_parent = pvd;
351 if (pvd
385 vdev_remove_child(vdev_t *pvd, vdev_t *cvd) argument
428 vdev_compact_children(vdev_t *pvd) argument
1062 vdev_t *pvd = cvd->vdev_parent; local
1096 vdev_t *pvd = mvd->vdev_parent; local
2094 vdev_t *pvd = vd->vdev_parent; local
3301 vdev_t *vd, *tvd, *pvd, *rvd = spa->spa_root_vdev; local
3762 vdev_t *pvd; local
4403 vdev_t *cvd, *pvd = vd->vdev_parent; local
4496 vdev_t *pvd = vd->vdev_parent; local
[all...]
H A Dspa.c6137 vdev_t *oldvd, *newvd, *newrootvd, *pvd, *tvd; local
6165 pvd = oldvd->vdev_parent;
6193 if (pvd->vdev_ops != &vdev_mirror_ops &&
6194 pvd->vdev_ops != &vdev_root_ops)
6203 if (pvd->vdev_ops == &vdev_spare_ops &&
6216 if (pvd->vdev_ops == &vdev_replacing_ops &&
6219 } else if (pvd->vdev_ops == &vdev_spare_ops &&
6266 if (pvd->vdev_ops != pvops)
6267 pvd = vdev_add_parent(oldvd, pvops);
6269 ASSERT(pvd
6357 vdev_t *vd, *pvd, *cvd, *tvd; local
7263 vdev_t *vd, *pvd, *ppvd; local
[all...]
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfssubr.c1322 vdev_child(vdev_t *pvd, uint64_t devidx) argument
1326 STAILQ_FOREACH(cvd, &pvd->v_children, v_childlink) {
/illumos-gate/usr/src/uts/common/dtrace/
H A Ddtrace.c16365 dtrace_providerdesc_t pvd; local
16368 if (copyin((void *)arg, &pvd, sizeof (pvd)) != 0)
16371 pvd.dtvd_name[DTRACE_PROVNAMELEN - 1] = '\0';
16375 if (strcmp(pvp->dtpv_name, pvd.dtvd_name) == 0)
16384 bcopy(&pvp->dtpv_priv, &pvd.dtvd_priv, sizeof (dtrace_ppriv_t));
16385 bcopy(&pvp->dtpv_attr, &pvd.dtvd_attr, sizeof (dtrace_pattr_t));
16386 if (copyout(&pvd, (void *)arg, sizeof (pvd)) != 0)
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c3212 vdev_t *oldvd, *newvd, *pvd; local
3294 pvd = oldvd->vdev_parent;
3295 pguid = pvd->vdev_guid;
3345 * If pvd is not a mirror or root, the attach should fail with ENOTSUP,
3352 if (pvd->vdev_ops != &vdev_mirror_ops &&
3353 pvd->vdev_ops != &vdev_root_ops && (!replacing ||
3354 pvd->vdev_ops == &vdev_replacing_ops ||
3355 pvd->vdev_ops == &vdev_spare_ops))

Completed in 339 milliseconds