| /onnv/onnv-gate/usr/src/lib/libzfs_jni/common/ |
| libzfs_jni_main.c | 331 jobject vdev = NULL; local 345 vdev = zjni_get_VirtualDevice_from_vdev( 353 return (vdev);
|
| /onnv/onnv-gate/usr/src/uts/common/xen/io/ |
| xpvd.c | 728 int *domain, *vdev; local 743 * Use "domain" and "vdev" properties (backend drivers). 747 DDI_PROP_DONTPASS, "vdev", &vdev, &nvdev) 754 (void) snprintf(addr, addrlen, "%d,%d", domain[0], vdev[0]); 755 ddi_prop_free(vdev); 876 /* Backend format is "<domain>,<vdev>". */ 882 /* Frontend format is "<vdev>". */ 917 int vdev; local 919 if (!i_xpvd_parse_devname(arg, &devclass, &dom, &vdev)) { [all...] |
| xdf.c | 1236 blkif_vdev_t vdev = xvdi_get_vdevnum(dip); local 1255 ddi_put16(acchdl, &rreq->handle, vdev); [all...] |
| /onnv/onnv-gate/usr/src/cmd/fm/modules/common/zfs-retire/ |
| zfs_retire.c | 33 * marking the vdev FAULTY (for I/O errors) or DEGRADED (for checksum errors). 92 * Find a vdev within a tree with a matching GUID. 138 * Given a (pool, vdev) GUID pair, find the matching pool and vdev. 149 * Find the corresponding pool and make sure the vdev still exists. 199 * Given a FRU FMRI, find the matching pool and vdev. 216 * Given a vdev, attempt to replace it with every known spare until one 220 replace_with_spare(fmd_hdl_t *hdl, zpool_handle_t *zhp, nvlist_t *vdev) 244 dev_name = zpool_vdev_name(NULL, zhp, vdev, B_FALSE); 270 * Repair this vdev if we had diagnosed a 'fault.fs.zfs.device' an 366 nvlist_t *vdev; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/zpool/ |
| zpool_vdev.c | 47 * the same level as the root of the vdev tree. 52 * 1. Construct the vdev specification. Performs syntax validation and 86 * For any given vdev specification, we can have multiple errors. The 100 (void) fprintf(stderr, gettext("invalid vdev specification\n")); 382 * Create a leaf vdev. Determine if this is a file or a device. If it's a 384 * leaf vdev are: 395 nvlist_t *vdev = NULL; local 400 * Determine what type of vdev this is, and put the full path into 468 * acceptable to use. Construct the nvlist to describe this vdev. All 471 verify(nvlist_alloc(&vdev, NV_UNIQUE_NAME, 0) == 0) [all...] |
| /onnv/onnv-gate/usr/src/uts/common/fs/zfs/sys/ |
| vdev_impl.h | 34 #include <sys/vdev.h> 108 struct vdev { struct 110 * Common to all vdev types. 112 uint64_t vdev_id; /* child number in vdev parent */ 113 uint64_t vdev_guid; /* unique ID for this vdev */ 119 uint64_t vdev_prevstate; /* used when reopening a vdev */ 120 vdev_ops_t *vdev_ops; /* vdev operations */ 121 spa_t *vdev_spa; /* spa for this vdev */ 123 vdev_t *vdev_top; /* top-level vdev */ 124 vdev_t *vdev_parent; /* parent vdev */ [all...] |
| /onnv/onnv-gate/usr/src/grub/grub-0.97/stage2/ |
| fsys_zfs.c | 1110 * Check if this vdev is online and is in a good state. 1129 * Get a valid vdev pathname/devid from the boot device. 1155 /* for a spare vdev, pick the disk labeled with "is_spare" */ 1202 * Check the disk label information and retrieve needed vdev name-value pairs. 1212 vdev_phys_t *vdev; local 1220 /* Read in the vdev name-value pair list (112K). */ 1224 vdev = (vdev_phys_t *)stack; 1227 if (nvlist_unpack(vdev->vp_nvlist, &nvlist)) [all...] |
| /onnv/onnv-gate/usr/src/uts/common/fs/zfs/ |
| metaslab.c | 218 * because we're done, and possibly removing the vdev. 1029 * allocmaps and freemaps and add its capacity to the vdev. 1422 uint64_t vdev = DVA_GET_VDEV(dva); local 1470 uint64_t vdev = DVA_GET_VDEV(dva); local [all...] |
| /onnv/onnv-gate/usr/src/uts/common/xen/os/ |
| xvdi.c | 252 DDI_PROP_DONTPASS, "vdev", VDEV_NOXS); 326 * and is contained in the 'vdev' property. 732 domid_t dom, int vdev) 748 if (vdev != VDEV_NOXS) { 751 "%s/%d", xdcp->xs_path_fe, vdev); 756 "%s/%d/%d", xdcp->xs_path_be, dom, vdev); 807 (void) ndi_prop_update_int(DDI_DEV_T_NONE, dip, "vdev", vdev); 943 domid_t dom, int vdev) 956 /* Console and soft devices have no vdev. * 1865 int vdev; local 2336 int i, vdev, circ; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/mdb/common/modules/zfs/ |
| zfs.c | 807 * -v Print vdev state 808 * -e Print vdev error stats 919 * ::vdev 928 * With '-e', the statistics associated with the vdev are printed as well. 934 vdev_t vdev; local 940 if (mdb_vread(&vdev, sizeof (vdev), (uintptr_t)addr) == -1) { 948 if (vdev.vdev_path != NULL) { 950 (uintptr_t)vdev.vdev_path) == -1) { 952 vdev.vdev_path) [all...] |
| /onnv/onnv-gate/usr/src/cmd/zdb/ |
| zdb.c | 37 #include <sys/vdev.h> 100 " %s -m [-L] poolname [vdev [metaslab...]]\n" 101 " %s -R poolname vdev:offset:size[:flags]\n" 138 "-e to specify path to vdev dir\n"); 515 (void) fatal("bad vdev id: %llu", (u_longlong_t)c); 2404 char *s, *p, *dup, *vdev, *flagstr; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/ztest/ |
| ztest.c | 475 "\t[-f file directory for vdev files (default: %s)]\n" 639 uint64_t vdev; local 649 vdev = ztest_shared->zs_vdev_aux; 651 zopt_dir, zopt_pool, aux, vdev); 653 vdev = ztest_shared->zs_vdev_next_leaf++; 655 zopt_dir, zopt_pool, vdev); [all...] |