Searched refs:vdev (Results 26 - 50 of 68) sorted by relevance

123

/freebsd-11-stable/stand/ofw/libofw/
H A Ddevicename.c44 ofw_getdev(void **vdev, const char *devspec, const char **path) argument
46 struct ofw_devdesc **dev = (struct ofw_devdesc **)vdev;
/freebsd-11-stable/stand/efi/include/
H A Defilib.h73 int efi_getdev(void **vdev, const char *devspec, const char **path);
74 char *efi_fmtdev(void *vdev);
/freebsd-11-stable/contrib/ofed/libibverbs/
H A Dinit.c159 struct verbs_device *vdev; local
163 vdev = driver->verbs_init_func(sysfs_dev->sysfs_path, sysfs_dev->abi_ver);
164 if (!vdev)
167 dev = &vdev->device;
/freebsd-11-stable/stand/libsa/geli/
H A Dgeliboot.h73 typedef int (*geli_readfunc)(void *vdev, void *readpriv, off_t offbytes,
H A Dgelidev.c85 diskdev_read(void *vdev, void *readpriv, off_t offbytes, argument
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_status.c130 find_vdev_problem(nvlist_t *vdev, int (*func)(vdev_stat_t *, uint_t), argument
138 * Ignore problems within a 'replacing' vdev, since we're presumably in
146 verify(nvlist_lookup_string(vdev, ZPOOL_CONFIG_TYPE,
152 if (nvlist_lookup_nvlist_array(vdev, ZPOOL_CONFIG_CHILDREN, &child,
158 verify(nvlist_lookup_uint64_array(vdev, ZPOOL_CONFIG_VDEV_STATS,
168 if (nvlist_lookup_nvlist_array(vdev, ZPOOL_CONFIG_L2CACHE, &child,
218 * Currently resilvering a vdev
/freebsd-11-stable/cddl/usr.sbin/zfsd/
H A Dzfsd.cc41 * the Solaris ZFS vdev insertion agent (zfs-mod sysevent handler).
70 #include "vdev.h"
204 ZfsDaemon::VdevAddCaseFile(Vdev &vdev, void *cbArg) argument
206 if (vdev.State() != VDEV_STATE_HEALTHY)
207 CaseFile::Create(vdev);
H A DMakefile.common6 vdev.cc \
/freebsd-11-stable/sys/cddl/boot/zfs/
H A Dzfsimpl.h199 * vdev virtual device ID
739 * The persistent vdev state is stored as separate values rather than a single
774 * vdev states are ordered from least to most healthy.
775 * A vdev that's CANT_OPEN or below is considered unusable.
778 VDEV_STATE_UNKNOWN = 0, /* Uninitialized vdev */
784 VDEV_STATE_DEGRADED, /* Replicated vdev with unhealthy kids */
789 * vdev aux states. When a vdev is in the CANT_OPEN state, the aux field
790 * of the vdev stats structure uses these constants to distinguish why.
797 VDEV_AUX_BAD_GUID_SUM, /* vdev gui
1533 typedef struct vdev { struct
[all...]
/freebsd-11-stable/stand/powerpc/kboot/
H A Dmain.c43 int kboot_getdev(void **vdev, const char *devspec, const char **path);
215 kboot_getdev(void **vdev, const char *devspec, const char **path) argument
242 if (vdev != NULL) {
247 *vdev = desc;
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zpool/
H A Dzpool_vdev.c48 * the same level as the root of the vdev tree.
53 * 1. Construct the vdev specification. Performs syntax validation and
85 * For any given vdev specification, we can have multiple errors. The
99 (void) fprintf(stderr, gettext("invalid vdev specification\n"));
408 * Create a leaf vdev. Determine if this is a file or a device. If it's a
410 * leaf vdev are:
421 nvlist_t *vdev = NULL; local
426 * Determine what type of vdev this is, and put the full path into
504 * acceptable to use. Construct the nvlist to describe this vdev. All
507 verify(nvlist_alloc(&vdev, NV_UNIQUE_NAM
[all...]
H A Dzpool_main.c219 return (gettext("\tadd [-fn] <pool> <vdev> ...\n"));
230 "<pool> <vdev> ...\n"));
254 return (gettext("\tlabelclear [-f] <vdev>\n"));
515 * zpool add [-fn] <pool> <vdev> ...
564 (void) fprintf(stderr, gettext("missing vdev specification\n"));
630 * zpool remove <pool> <vdev> ...
632 * Removes the given vdev from the pool.
727 * zpool labelclear [-f] <vdev>
732 * Verifies that the vdev is not active and zeros out the label information
738 char vdev[MAXPATHLE local
[all...]
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dvdev.h66 extern vdev_t *vdev_lookup_top(spa_t *spa, uint64_t vdev);
87 extern void spa_vdev_indirect_mark_obsolete(spa_t *spa, uint64_t vdev,
H A Dmetaslab_impl.h36 #include <sys/vdev.h>
140 * Each top-level vdev is associated with a metaslab group which defines
141 * the allocatable region for that vdev. Examples of these categories include
202 * of a top-level vdev. They are linked togther to form a circular linked
H A Dvdev_impl.h35 #include <sys/vdev.h>
84 * Given a target vdev, translates the logical range "in" to the physical
153 * On-disk indirect vdev state.
155 * An indirect vdev is described exclusively in the MOS config of a pool.
156 * The config for an indirect vdev includes several fields, which are
164 * vdev_indirect_mapping_phys_t. This object is allocated when a vdev
167 * Note that this object can be empty if none of the data on the vdev
177 * is allocated when a vdev removal is initiated.
179 * Note that this object can be empty if none of the vdev has yet been
185 * This is the vdev I
194 struct vdev { struct
[all...]
H A Dspa_impl.h36 #include <sys/vdev.h>
76 * The vdev ID that we most recently attempted to remove,
82 * The vdev ID that we most recently successfully removed,
104 * of an indirect vdev's mapping object is in progress.
108 * The vdev ID of the indirect vdev whose indirect mapping is
114 * The vdev's old obsolete spacemap. This spacemap's contents are
182 AVZ_ACTION_DESTROY, /* Destroy all per-vdev ZAPs and the AVZ. */
214 boolean_t spa_trust_config; /* do we trust vdev tree? */
232 txg_list_t spa_vdev_txg_list; /* per-txg dirty vdev lis
[all...]
H A Dspa.h52 typedef struct vdev vdev_t;
223 * vdev virtual device ID
769 /* Pool vdev add/remove lock */
776 /* Pool vdev state change lock */
874 typedef void (*spa_remap_cb_t)(uint64_t vdev, uint64_t offset, uint64_t size,
917 /* vdev cache */
933 extern void spa_event_notify(spa_t *spa, vdev_t *vdev, nvlist_t *hist_nvl,
/freebsd-11-stable/stand/i386/zfsboot/
H A Dzfsboot.c267 vdev_read2(vdev_t *vdev, void *priv, off_t off, void *buf, size_t bytes) argument
269 return vdev_read(vdev, priv, off, buf, bytes);
274 vdev_write(vdev_t *vdev, void *priv, off_t off, void *buf, size_t bytes) argument
314 * vdev label of the given vdev.
317 vdev_read_pad2(vdev_t *vdev, char *buf, size_t size) argument
332 if (vdev_read_phys(vdev, &bp, tmp, off, 0))
339 vdev_clear_pad2(vdev_t *vdev) argument
353 if (vdev_write(vdev, vdev
[all...]
/freebsd-11-stable/tools/tools/zfsboottest/
H A Dzfsboottest.c61 vdev_read(vdev_t *vdev, void *priv, off_t off, void *buf, size_t bytes) argument
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/
H A DMakefile.files121 vdev.o \
/freebsd-11-stable/stand/efi/boot1/
H A Dzfs_module.c53 vdev_read(vdev_t *vdev, void *priv, off_t off, void *buf, size_t bytes) argument
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dmetaslab.c757 * because we're done, and possibly removing the vdev.
852 * allocations from taking place and any changes to the vdev tree.
1128 * to one vdev, that looks a bit better at the moment.
2023 * If this vdev is in the process of being removed, there is nothing
2332 zfs_dbgmsg("condensing: txg %llu, msp[%llu] %p, vdev id %llu, "
2633 * range trees and add its capacity to the vdev.
2911 metaslab_group_alloc_increment(spa_t *spa, uint64_t vdev, void *tag, int flags, argument
2918 metaslab_group_t *mg = vdev_lookup_top(spa, vdev)->vdev_mg;
2942 metaslab_group_alloc_decrement(spa_t *spa, uint64_t vdev, void *tag, int flags, argument
2949 metaslab_group_t *mg = vdev_lookup_top(spa, vdev)
2967 uint64_t vdev = DVA_GET_VDEV(&dva[d]); local
3770 uint64_t vdev = DVA_GET_VDEV(dva); local
3819 uint64_t vdev = DVA_GET_VDEV(dva); local
3996 uint64_t vdev = DVA_GET_VDEV(dva); local
4203 uint64_t vdev = DVA_GET_VDEV(&bp->blk_dva[i]); local
[all...]
H A Ddsl_scan.c141 * Maximum number of parallelly executing I/Os per top-level vdev.
151 * Maximum number of parallelly executed bytes per leaf vdev. We attempt
152 * to strike a balance here between keeping the vdev queues full of I/Os
190 &zfs_top_maxinflight, 0, "Maximum I/Os per top-level vdev");
301 vdev_t *q_vd; /* top-level vdev that this queue represents */
400 /* we discard the vdev id, since we can deduce it from the queue */
446 * phase are done per top-level vdev and are handled separately.
736 * Purge all vdev caches and probe all devices. We do this here
2366 * that can add scan_io_t's to the vdev scan queues from
2854 * punches out one thread per top-level vdev, eac
3594 vdev_t *vdev; local
3915 vdev_t *vdev; local
[all...]
/freebsd-11-stable/stand/i386/gptboot/
H A Dgptboot.c108 static int vdev_read(void *vdev __unused, void *priv, off_t off, void *buf,
626 vdev_read(void *vdev __unused, void *priv, off_t off, void *buf, size_t bytes)
/freebsd-11-stable/contrib/ofed/libmlx5/
H A Dmlx5.c747 static int mlx5_init_context(struct verbs_device *vdev, argument
768 mdev = to_mdev(&vdev->device);
897 mlx5_read_env(&vdev->device, context);

Completed in 192 milliseconds

123