Displaying 6 results from an estimated 6 matches for "virtio_exp_info".
2020 Jun 04
2
[PATCH v4 1/3] virtio: add dma-buf support for exported objects
...+ * This wraps dma_buf_export() to allow virtio drivers to create a dma-buf
> + * for an virtio exported object that can be queried by other virtio drivers
> + * for the object's UUID.
> + */
> +struct dma_buf *virtio_dma_buf_export(
> + const struct virtio_dma_buf_export_info *virtio_exp_info)
> +{
> + struct dma_buf_export_info exp_info;
> +
> + if (!virtio_exp_info->ops
> + || virtio_exp_info->ops->ops.attach != &virtio_dma_buf_attach
> + || !virtio_exp_info->ops->get_uuid) {
> + return ERR_PTR(-EINVAL);
> + }
> +
> + exp_info.exp_na...
2020 Jun 04
2
[PATCH v4 1/3] virtio: add dma-buf support for exported objects
...+ * This wraps dma_buf_export() to allow virtio drivers to create a dma-buf
> + * for an virtio exported object that can be queried by other virtio drivers
> + * for the object's UUID.
> + */
> +struct dma_buf *virtio_dma_buf_export(
> + const struct virtio_dma_buf_export_info *virtio_exp_info)
> +{
> + struct dma_buf_export_info exp_info;
> +
> + if (!virtio_exp_info->ops
> + || virtio_exp_info->ops->ops.attach != &virtio_dma_buf_attach
> + || !virtio_exp_info->ops->get_uuid) {
> + return ERR_PTR(-EINVAL);
> + }
> +
> + exp_info.exp_na...
2020 Jun 06
0
[PATCH v4 1/3] virtio: add dma-buf support for exported objects
...reate a dma-buf
> > > + * for an virtio exported object that can be queried by other virtio drivers
> > > + * for the object's UUID.
> > > + */
> > > +struct dma_buf *virtio_dma_buf_export(
> > > + const struct virtio_dma_buf_export_info *virtio_exp_info)
> > > +{
> > > + struct dma_buf_export_info exp_info;
> > > +
> > > + if (!virtio_exp_info->ops
> > > + || virtio_exp_info->ops->ops.attach != &virtio_dma_buf_attach
> > > + || !virtio_exp_info->o...
2020 Jun 08
0
[PATCH v4 1/3] virtio: add dma-buf support for exported objects
...n virtio exported object that can be queried by other virtio drivers
> > > > > + * for the object's UUID.
> > > > > + */
> > > > > +struct dma_buf *virtio_dma_buf_export(
> > > > > + const struct virtio_dma_buf_export_info *virtio_exp_info)
> > > > > +{
> > > > > + struct dma_buf_export_info exp_info;
> > > > > +
> > > > > + if (!virtio_exp_info->ops
> > > > > + || virtio_exp_info->ops->ops.attach != &virtio_dma_buf_attach
>...
2020 Jun 19
0
[PATCH v4 1/3] virtio: add dma-buf support for exported objects
...t; > > + * for an virtio exported object that can be queried by other virtio drivers
> > > > + * for the object's UUID.
> > > > + */
> > > > +struct dma_buf *virtio_dma_buf_export(
> > > > + const struct virtio_dma_buf_export_info *virtio_exp_info)
> > > > +{
> > > > + struct dma_buf_export_info exp_info;
> > > > +
> > > > + if (!virtio_exp_info->ops
> > > > + || virtio_exp_info->ops->ops.attach != &virtio_dma_buf_attach
> > > > + ||...
2020 Jun 08
0
[PATCH v4 1/3] virtio: add dma-buf support for exported objects
...ried by other virtio drivers
> > > > > > > + * for the object's UUID.
> > > > > > > + */
> > > > > > > +struct dma_buf *virtio_dma_buf_export(
> > > > > > > + const struct virtio_dma_buf_export_info *virtio_exp_info)
> > > > > > > +{
> > > > > > > + struct dma_buf_export_info exp_info;
> > > > > > > +
> > > > > > > + if (!virtio_exp_info->ops
> > > > > > > + || virtio_exp_info->ops...