Lines Matching defs:ops
13 * @exp_info: [in] see dma_buf_export(). ops MUST refer to a dma_buf_ops
24 container_of(exp_info->ops,
25 const struct virtio_dma_buf_ops, ops);
27 if (!exp_info->ops ||
28 exp_info->ops->attach != &virtio_dma_buf_attach ||
44 const struct virtio_dma_buf_ops *ops =
45 container_of(dma_buf->ops,
46 const struct virtio_dma_buf_ops, ops);
48 if (ops->device_attach) {
49 ret = ops->device_attach(dma_buf, attach);
63 return dma_buf->ops->attach == &virtio_dma_buf_attach;
77 const struct virtio_dma_buf_ops *ops =
78 container_of(dma_buf->ops,
79 const struct virtio_dma_buf_ops, ops);
84 return ops->get_uuid(dma_buf, uuid);