Lines Matching refs:vdev
33 #include <sys/vdev.h>
111 struct vdev {
113 * Common to all vdev types.
115 uint64_t vdev_id; /* child number in vdev parent */
116 uint64_t vdev_guid; /* unique ID for this vdev */
123 uint64_t vdev_prevstate; /* used when reopening a vdev */
124 vdev_ops_t *vdev_ops; /* vdev operations */
125 spa_t *vdev_spa; /* spa for this vdev */
129 vdev_t *vdev_top; /* top-level vdev */
130 vdev_t *vdev_parent; /* parent vdev */
135 boolean_t vdev_expanding; /* expand the vdev? */
142 * Top-level vdev state.
151 txg_node_t vdev_txg_node; /* per-txg dirty vdev linkage */
162 * Leaf vdev state.
174 char *vdev_path; /* vdev path (if any) */
175 char *vdev_devid; /* vdev devid (if any) */
176 char *vdev_physpath; /* vdev device path (if any) */
188 uint8_t vdev_cant_read; /* vdev is failing all reads */
189 uint8_t vdev_cant_write; /* vdev is failing all writes */
201 * CTF definition for 'struct vdev', and since the size of a kmutex_t is
266 * Allocate or free a vdev
284 * vdev sync load and sync
294 * Available vdev types.