/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | vdev_file.h | 32 #include <sys/vdev.h>
|
H A D | uberblock.h | 33 #include <sys/vdev.h>
|
H A D | vdev_raidz.h | 28 #include <sys/vdev.h>
|
H A D | vdev_disk.h | 31 #include <sys/vdev.h>
|
/illumos-gate/usr/src/boot/sys/boot/zfs/ |
H A D | devicename_stubs.c | 42 zfs_fmtdev(void *vdev) argument
|
H A D | libzfs.h | 62 char *zfs_bootfs(void *vdev); 63 char *zfs_fmtdev(void *vdev);
|
H A D | zfsimpl.c | 404 vdev_read_phys(vdev_t *vdev, const blkptr_t *bp, void *buf, argument 410 if (!vdev->v_phys_read) 420 rc = vdev->v_phys_read(vdev, vdev->v_read_priv, offset, buf, psize); 430 vdev_disk_read(vdev_t *vdev, const blkptr_t *bp, void *buf, argument 434 return (vdev_read_phys(vdev, bp, buf, 440 vdev_mirror_read(vdev_t *vdev, const blkptr_t *bp, void *buf, argument 447 STAILQ_FOREACH(kid, &vdev->v_children, v_childlink) { 459 vdev_replacing_read(vdev_t *vdev, cons argument 482 vdev_t *vdev; local 494 vdev_t *vdev; local 517 vdev_t *vdev, *kid; local 660 vdev_set_state(vdev_t *vdev) argument 733 vdev_t *vdev; local 807 vdev_status(vdev_t *vdev, int indent) argument 828 vdev_t *vdev; local 908 vdev_t *vdev, *top_vdev, *pool_vdev; local 1195 vdev_t *vdev; local [all...] |
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_add/ |
H A D | zpool_add_001_pos.ksh | 37 # 'zpool add <pool> <vdev> ...' can successfully add the specified 56 log_assert "'zpool add <pool> <vdev> ...' can add devices to the pool." 84 typeset vdev 92 for vdev in "${poolarray[@]}"; do 95 log_must zpool add -f "$TESTPOOL" ${keywords[i]} $vdev 96 log_must vdevs_in_pool "$TESTPOOL" "$vdev" 102 for vdev in "${mirrorarray[@]}"; do 106 log_must zpool add "$TESTPOOL" ${keywords[i]} $vdev 107 log_must vdevs_in_pool "$TESTPOOL" "$vdev" 113 for vdev i [all...] |
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_mount/ |
H A D | zfs_mount.kshlib | 48 function setup_filesystem #disklist #pool #fs #mntpoint #type #vdev 55 typeset vdev=$6 67 if [[ $vdev != "" && \ 68 $vdev != "mirror" && \ 69 $vdev != "raidz" ]] ; then 71 log_note "Wrong vdev: (\"$vdev\")" 76 create_pool $pool $vdev $disklist
|
/illumos-gate/usr/src/boot/sys/boot/efi/loader/ |
H A D | loader_efi.h | 38 int efi_getdev(void **vdev, const char *devspec, const char **path); 39 char *efi_fmtdev(void *vdev);
|
H A D | devicename.c | 53 efi_getdev(void **vdev, const char *devspec, const char **path) argument 55 struct devdesc **dev = (struct devdesc **)vdev; 160 efi_fmtdev(void *vdev) argument 162 struct devdesc *dev = (struct devdesc *)vdev;
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_export/ |
H A D | zpool_export_004_pos.ksh | 61 if [[ -e $mntpnt/vdev$i ]]; then 62 log_must rm -f $mntpnt/vdev$i 76 log_must mkfile $MINVDEVSIZE $mntpnt/vdev$i 77 eval vdev$i=$mntpnt/vdev$i
|
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/ |
H A D | devicename.c | 45 i386_getdev(void **vdev, const char *devspec, const char **path) argument 47 struct i386_devdesc **dev = (struct i386_devdesc **)vdev; 167 i386_fmtdev(void *vdev) argument 169 struct i386_devdesc *dev = (struct i386_devdesc *)vdev; 183 return (disk_fmtdev(vdev)); 186 return(zfs_fmtdev(vdev));
|
/illumos-gate/usr/src/boot/sys/boot/uboot/lib/ |
H A D | libuboot.h | 52 int uboot_getdev(void **vdev, const char *devspec, const char **path); 53 char *uboot_fmtdev(void *vdev);
|
H A D | devicename.c | 46 uboot_getdev(void **vdev, const char *devspec, const char **path) argument 48 struct uboot_devdesc **dev = (struct uboot_devdesc **)vdev; 165 uboot_fmtdev(void *vdev) argument 167 struct uboot_devdesc *dev = (struct uboot_devdesc *)vdev; 177 return (disk_fmtdev(vdev));
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cachefile/ |
H A D | cachefile_004_pos.ksh | 61 if [[ -e $mntpnt/vdev$i ]]; then 62 log_must rm -f $mntpnt/vdev$i 87 log_must mkfile $MINVDEVSIZE $mntpnt/vdev$i 88 eval vdev$i=$mntpnt/vdev$i
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_send/ |
H A D | zfs_send_007_pos.ksh | 44 rm $vdev 52 vdev=$(mktemp /var/tmp/file.XXXXXX) 90 log_must truncate --size=1G $vdev 91 log_must zpool create -o version=1 tmp_pool $vdev 94 log_must zpool create -d tmp_pool $vdev
|
/illumos-gate/usr/src/lib/libzfs_jni/common/ |
H A D | libzfs_jni_pool.c | 420 nvlist_t *vdev, uint64_t *p_vdev_id, VirtualDeviceBean_t *bean) 429 result = populate_DeviceStatsBean(env, vdev, stats, object); 439 /* Set parent vdev index */ 446 result = nvlist_lookup_uint64(vdev, ZPOOL_CONFIG_GUID, &vdev_id); 462 nvlist_t *vdev, uint64_t *p_vdev_id, LeafVirtualDeviceBean_t *bean) 465 env, zhp, vdev, p_vdev_id, (VirtualDeviceBean_t *)bean)); 470 nvlist_t *vdev, uint64_t *p_vdev_id, DiskVirtualDeviceBean_t *bean) 474 env, zhp, vdev, p_vdev_id, (LeafVirtualDeviceBean_t *)bean); 482 result = nvlist_lookup_string(vdev, ZPOOL_CONFIG_PATH, &path); 541 nvlist_t *vdev, uint64_ 419 populate_VirtualDeviceBean(JNIEnv *env, zpool_handle_t *zhp, nvlist_t *vdev, uint64_t *p_vdev_id, VirtualDeviceBean_t *bean) argument 461 populate_LeafVirtualDeviceBean(JNIEnv *env, zpool_handle_t *zhp, nvlist_t *vdev, uint64_t *p_vdev_id, LeafVirtualDeviceBean_t *bean) argument 469 populate_DiskVirtualDeviceBean(JNIEnv *env, zpool_handle_t *zhp, nvlist_t *vdev, uint64_t *p_vdev_id, DiskVirtualDeviceBean_t *bean) argument 540 populate_SliceVirtualDeviceBean(JNIEnv *env, zpool_handle_t *zhp, nvlist_t *vdev, uint64_t *p_vdev_id, SliceVirtualDeviceBean_t *bean) argument 570 populate_FileVirtualDeviceBean(JNIEnv *env, zpool_handle_t *zhp, nvlist_t *vdev, uint64_t *p_vdev_id, FileVirtualDeviceBean_t *bean) argument 599 populate_RAIDVirtualDeviceBean(JNIEnv *env, zpool_handle_t *zhp, nvlist_t *vdev, uint64_t *p_vdev_id, RAIDVirtualDeviceBean_t *bean) argument 607 populate_MirrorVirtualDeviceBean(JNIEnv *env, zpool_handle_t *zhp, nvlist_t *vdev, uint64_t *p_vdev_id, MirrorVirtualDeviceBean_t *bean) argument 634 create_DiskVirtualDeviceBean(JNIEnv *env, zpool_handle_t *zhp, nvlist_t *vdev, uint64_t *p_vdev_id) argument 655 create_SliceVirtualDeviceBean(JNIEnv *env, zpool_handle_t *zhp, nvlist_t *vdev, uint64_t *p_vdev_id) argument 676 create_FileVirtualDeviceBean(JNIEnv *env, zpool_handle_t *zhp, nvlist_t *vdev, uint64_t *p_vdev_id) argument 697 create_RAIDVirtualDeviceBean(JNIEnv *env, zpool_handle_t *zhp, nvlist_t *vdev, uint64_t *p_vdev_id) argument 734 create_MirrorVirtualDeviceBean(JNIEnv *env, zpool_handle_t *zhp, nvlist_t *vdev, uint64_t *p_vdev_id) argument 938 zjni_get_VirtualDevice_from_vdev(JNIEnv *env, zpool_handle_t *zhp, nvlist_t *vdev, uint64_t *p_vdev_id) argument 1067 populate_DeviceStatsBean(JNIEnv *env, nvlist_t *vdev, DeviceStatsBean_t *bean, zjni_Object_t *object) argument [all...] |
/illumos-gate/usr/src/boot/sys/boot/userboot/userboot/ |
H A D | devicename.c | 49 userboot_getdev(void **vdev, const char *devspec, const char **path) argument 51 struct disk_devdesc **dev = (struct disk_devdesc **)vdev; 177 userboot_fmtdev(void *vdev) argument 179 struct disk_devdesc *dev = (struct disk_devdesc *)vdev; 192 return (disk_fmtdev(vdev)); 200 return (zfs_fmtdev(vdev));
|
H A D | libuserboot.h | 59 char *userboot_fmtdev(void *vdev);
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool/ |
H A D | zpool_002_pos.ksh | 72 for vdev in $vdev1 $vdev2 $vdev3; do 73 mkfile $MINVDEVSIZE $vdev
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/slog/ |
H A D | slog_013_pos.ksh | 86 log_must mkfile $MINVDEVSIZE $mntpnt/vdev 87 log_must zpool add $TESTPOOL $mntpnt/vdev
|
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/ |
H A D | libofw.h | 45 extern int ofw_getdev(void **vdev, const char *devspec, const char **path);
|
/illumos-gate/usr/src/cmd/fm/modules/common/zfs-retire/ |
H A D | zfs_retire.c | 32 * marking the vdev FAULTY (for I/O errors) or DEGRADED (for checksum errors). 91 * Find a vdev within a tree with a matching GUID. 137 * Given a (pool, vdev) GUID pair, find the matching pool and vdev. 148 * Find the corresponding pool and make sure the vdev still exists. 198 * Given a FRU FMRI, find the matching pool and vdev. 215 * Given a vdev, attempt to replace it with every known spare until one 219 replace_with_spare(fmd_hdl_t *hdl, zpool_handle_t *zhp, nvlist_t *vdev) argument 243 dev_name = zpool_vdev_name(NULL, zhp, vdev, B_FALSE); 269 * Repair this vdev i 365 nvlist_t *vdev; local [all...] |
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_status.c | 121 find_vdev_problem(nvlist_t *vdev, int (*func)(uint64_t, uint64_t, uint64_t)) argument 129 * Ignore problems within a 'replacing' vdev, since we're presumably in 134 verify(nvlist_lookup_string(vdev, ZPOOL_CONFIG_TYPE, &type) == 0); 138 if (nvlist_lookup_nvlist_array(vdev, ZPOOL_CONFIG_CHILDREN, &child, 144 verify(nvlist_lookup_uint64_array(vdev, ZPOOL_CONFIG_VDEV_STATS, 157 if (nvlist_lookup_nvlist_array(vdev, ZPOOL_CONFIG_L2CACHE, &child, 207 * Currently resilvering a vdev
|