HomeSort by: relevance | last modified time | path
    Searched refs:vdev (Results 1 - 25 of 43) sorted by relevancy

1 2

  /src/external/cddl/osnet/dist/uts/common/fs/zfs/sys/
vdev_file.h 32 #include <sys/vdev.h>
uberblock.h 33 #include <sys/vdev.h>
vdev_raidz.h 28 #include <sys/vdev.h>
vdev_disk.h 31 #include <sys/vdev.h>
metaslab_impl.h 36 #include <sys/vdev.h>
134 * Each top-level vdev is associated with a metaslab group which defines
135 * the allocatable region for that vdev. Examples of these categories include
196 * of a top-level vdev. They are linked togther to form a circular linked
vdev_impl.h 34 #include <sys/vdev.h>
130 struct vdev { struct
132 * Common to all vdev types.
134 uint64_t vdev_id; /* child number in vdev parent */
135 uint64_t vdev_guid; /* unique ID for this vdev */
161 uint64_t vdev_prevstate; /* used when reopening a vdev */
162 vdev_ops_t *vdev_ops; /* vdev operations */
163 spa_t *vdev_spa; /* spa for this vdev */
167 vdev_t *vdev_top; /* top-level vdev */
168 vdev_t *vdev_parent; /* parent vdev */
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/virtio/
virtgpu_drv.c 51 static int virtio_gpu_pci_quirk(struct drm_device *dev, struct virtio_device *vdev)
53 struct pci_dev *pdev = to_pci_dev(vdev->dev.parent);
101 static int virtio_gpu_probe(struct virtio_device *vdev)
112 dev = drm_dev_alloc(&driver, &vdev->dev);
115 vdev->priv = dev;
117 if (!strcmp(vdev->dev.parent->bus->name, "pci")) {
118 ret = virtio_gpu_pci_quirk(dev, vdev);
131 drm_fbdev_generic_setup(vdev->priv, 32);
139 static void virtio_gpu_remove(struct virtio_device *vdev)
141 struct drm_device *dev = vdev->priv
    [all...]
virtgpu_kms.c 46 virtio_cread(vgdev->vdev, struct virtio_gpu_config,
55 virtio_cwrite(vgdev->vdev, struct virtio_gpu_config,
138 vgdev->vdev = dev_to_virtio(dev->dev);
161 if (virtio_has_feature(vgdev->vdev, VIRTIO_GPU_F_VIRGL))
164 if (virtio_has_feature(vgdev->vdev, VIRTIO_GPU_F_EDID)) {
172 ret = virtio_find_vqs(vgdev->vdev, 2, vqs, callbacks, names, NULL);
186 virtio_cread(vgdev->vdev, struct virtio_gpu_config,
197 virtio_cread(vgdev->vdev, struct virtio_gpu_config,
203 virtio_device_ready(vgdev->vdev);
218 vgdev->vdev->config->del_vqs(vgdev->vdev)
    [all...]
virtgpu_vq.c 61 struct drm_device *dev = vq->vdev->priv;
69 struct drm_device *dev = vq->vdev->priv;
595 bool use_dma_api = !virtio_has_iommu_quirk(vgdev->vdev);
598 dma_sync_sg_for_device(vgdev->vdev->dev.parent,
1010 bool use_dma_api = !virtio_has_iommu_quirk(vgdev->vdev);
1013 dma_sync_sg_for_device(vgdev->vdev->dev.parent,
1085 bool use_dma_api = !virtio_has_iommu_quirk(vgdev->vdev);
1106 obj->mapped = dma_map_sg(vgdev->vdev->dev.parent,
1139 bool use_dma_api = !virtio_has_iommu_quirk(vgdev->vdev);
1152 dma_unmap_sg(vgdev->vdev->dev.parent
    [all...]
virtgpu_drv.h 172 struct virtio_device *vdev; member in struct:virtio_gpu_device
356 void virtio_gpu_fence_event_process(struct virtio_gpu_device *vdev,
  /src/sys/arch/usermode/include/
mainbus.h 47 } vdev; member in union:thunkbus_attach_args::__anon2144
  /src/sys/external/bsd/drm2/dist/drm/i915/gvt/
kvmgt.c 137 ret = vfio_unpin_pages(mdev_dev(vgpu->vdev.mdev), &cur_gfn, 1);
160 ret = vfio_pin_pages(mdev_dev(vgpu->vdev.mdev), &cur_gfn, 1,
227 struct rb_node *node = vgpu->vdev.dma_addr_cache.rb_node;
245 struct rb_node *node = vgpu->vdev.gfn_cache.rb_node;
278 link = &vgpu->vdev.gfn_cache.rb_node;
289 rb_insert_color(&new->gfn_node, &vgpu->vdev.gfn_cache);
293 link = &vgpu->vdev.dma_addr_cache.rb_node;
304 rb_insert_color(&new->dma_addr_node, &vgpu->vdev.dma_addr_cache);
306 vgpu->vdev.nr_cache_entries++;
313 rb_erase(&entry->gfn_node, &vgpu->vdev.gfn_cache)
    [all...]
  /src/sys/arch/ia64/stand/efi/libefi/
efiboot.h 58 extern int efi_getdev(void **vdev, const char *devspec, const char **path);
59 extern char *efi_fmtdev(void *vdev);
devicename.c 52 efi_getdev(void **vdev, const char *devspec, const char **path)
54 struct efi_devdesc **dev = (struct efi_devdesc **)vdev;
215 efi_fmtdev(void *vdev)
217 struct efi_devdesc *dev = (struct efi_devdesc *)vdev;
bootinfo.c 78 extern char *efi_fmtdev(void *vdev);
  /src/sys/arch/ia64/stand/ia64/ski/
libski.h 50 extern int ski_getdev(void **vdev, const char *devspec, const char **path);
51 extern char *ski_fmtdev(void *vdev);
devicename.c 48 ski_getdev(void **vdev, const char *devspec, const char **path)
50 struct ski_devdesc **dev = (struct ski_devdesc **)vdev;
210 ski_fmtdev(void *vdev)
212 struct ski_devdesc *dev = (struct ski_devdesc *)vdev;
  /src/external/cddl/osnet/dist/lib/libzfs/common/
libzfs_status.c 130 find_vdev_problem(nvlist_t *vdev, int (*func)(vdev_stat_t *, uint_t),
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
  /src/sys/rump/librump/rumpvfs/
rump_vfs.c 291 voff_t *vsize, dev_t *vdev)
297 *vdev = vp->v_rdev;
299 *vdev = 0;
  /src/sys/arch/usermode/dev/
mainbus.c 120 taa.u.vdev.path = usermode_vdev_path[i];
  /src/external/cddl/osnet/dist/cmd/zpool/
zpool_vdev.c 48 * the same level as the root of the vdev tree.
53 * 1. Construct the vdev specification. Performs syntax validation and
91 * For any given vdev specification, we can have multiple errors. The
105 (void) fprintf(stderr, gettext("invalid vdev specification\n"));
426 * Create a leaf vdev. Determine if this is a file or a device. If it's a
428 * leaf vdev are:
439 nvlist_t *vdev = NULL; local
444 * Determine what type of vdev this is, and put the full path into
522 * acceptable to use. Construct the nvlist to describe this vdev. All
525 verify(nvlist_alloc(&vdev, NV_UNIQUE_NAME, 0) == 0)
    [all...]
zpool_main.c 207 return (gettext("\tadd [-fn] <pool> <vdev> ...\n"));
216 "\t [-m mountpoint] [-R root] <pool> <vdev> ...\n"));
239 return (gettext("\tlabelclear [-f] <vdev>\n"));
483 * zpool add [-fn] <pool> <vdev> ...
530 (void) fprintf(stderr, gettext("missing vdev specification\n"));
590 * zpool remove <pool> <vdev> ...
592 * Removes the given vdev from the pool. Currently, this supports removing
629 * zpool labelclear [-f] <vdev>
634 * Verifies that the vdev is not active and zeros out the label information
640 char vdev[MAXPATHLEN] local
    [all...]
  /src/sys/arch/usermode/usermode/
machdep.c 113 " [vdev=atapi,device]\n",
121 " vdev=atapi,/dev/rcd0d\")\n", pn);
222 } else if (strncmp(argv[i], "vdev=",
223 strlen("vdev=")) == 0) {
224 char *vdev = argv[i] + strlen("vdev="); local
233 t = vdev;
236 thunk_printf("bad vdev= format\n");
242 thunk_printf("unknown vdev device type\n");
  /src/external/cddl/osnet/dist/uts/common/
Makefile.files 87 vdev.o \
  /src/external/cddl/osnet/dist/uts/common/fs/zfs/
metaslab.c 690 * because we're done, and possibly removing the vdev.
1932 * This vdev is in the process of being removed so there is nothing
2183 spa_dbgmsg(spa, "condensing: txg %llu, msp[%llu] %p, vdev id %llu, "
2430 * the vdev.
2677 metaslab_group_alloc_increment(spa_t *spa, uint64_t vdev, void *tag, int flags)
2683 metaslab_group_t *mg = vdev_lookup_top(spa, vdev)->vdev_mg;
2691 metaslab_group_alloc_decrement(spa_t *spa, uint64_t vdev, void *tag, int flags)
2697 metaslab_group_t *mg = vdev_lookup_top(spa, vdev)->vdev_mg;
2712 uint64_t vdev = DVA_GET_VDEV(&dva[d]); local
2713 metaslab_group_t *mg = vdev_lookup_top(spa, vdev)->vdev_mg
3213 uint64_t vdev = DVA_GET_VDEV(dva); local
3271 uint64_t vdev = DVA_GET_VDEV(dva); local
3479 uint64_t vdev = DVA_GET_VDEV(&bp->blk_dva[i]); local
    [all...]

Completed in 31 milliseconds

1 2