Searched refs:dma_buf_fd (Results 1 – 14 of 14) sorted by relevance
| /linux/tools/testing/selftests/dmabuf-heaps/ |
| H A D | dmabuf-heap.c | 66 static int import_vgem_fd(int vgem_fd, int dma_buf_fd, uint32_t *handle) in import_vgem_fd() argument 69 .fd = dma_buf_fd, in import_vgem_fd()
|
| /linux/include/linux/ |
| H A D | dma-buf.h | 569 int dma_buf_fd(struct dma_buf *dmabuf, int flags);
|
| /linux/drivers/dma-buf/ |
| H A D | dma-heap.c | 77 fd = dma_buf_fd(dmabuf, fd_flags); in dma_heap_buffer_alloc()
|
| H A D | dma-buf.c | 788 int dma_buf_fd(struct dma_buf *dmabuf, int flags) in dma_buf_fd() function 804 EXPORT_SYMBOL_NS_GPL(dma_buf_fd, "DMA_BUF");
|
| H A D | udmabuf.c | 429 * If the following dma_buf_fd() fails, dma_buf_put() cleans up both the in udmabuf_create() 433 ret = dma_buf_fd(dmabuf, flags); in udmabuf_create()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_amdkfd.c | 559 int amdgpu_amdkfd_get_dmabuf_info(struct amdgpu_device *adev, int dma_buf_fd, in amdgpu_amdkfd_get_dmabuf_info() argument 571 dma_buf = dma_buf_get(dma_buf_fd); in amdgpu_amdkfd_get_dmabuf_info()
|
| H A D | amdgpu_amdkfd.h | 263 int amdgpu_amdkfd_get_dmabuf_info(struct amdgpu_device *adev, int dma_buf_fd,
|
| /linux/drivers/vfio/pci/ |
| H A D | vfio_pci_dmabuf.c | 316 * dma_buf_fd() consumes the reference, when the file closes the dmabuf in vfio_pci_core_feature_dma_buf() 319 ret = dma_buf_fd(priv->dmabuf, get_dma_buf.open_flags); in vfio_pci_core_feature_dma_buf()
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | ttm_object.c | 628 ret = dma_buf_fd(dma_buf, flags); in ttm_prime_handle_to_fd()
|
| /linux/drivers/gpu/drm/i915/gvt/ |
| H A D | dmabuf.c | 535 ret = dma_buf_fd(dmabuf, DRM_CLOEXEC | DRM_RDWR); in intel_vgpu_get_dmabuf()
|
| /linux/samples/vfio-mdev/ |
| H A D | mbochs.c | 1185 return dma_buf_fd(dmabuf->buf, 0); in mbochs_get_gfx_dmabuf()
|
| /linux/drivers/media/common/videobuf2/ |
| H A D | videobuf2-core.c | 2471 ret = dma_buf_fd(dbuf, flags & ~O_ACCMODE); in vb2_core_expbuf()
|
| /linux/drivers/misc/ |
| H A D | fastrpc.c | 1712 bp.fd = dma_buf_fd(buf->dmabuf, O_ACCMODE); in fastrpc_init_attach() 1721 * dma_buf_fd() already called fd_install() and made the in fastrpc_init_attach()
|
| /linux/drivers/gpu/drm/amd/amdkfd/ |
| H A D | kfd_chardev.c | 1683 ret = dma_buf_fd(dmabuf, args->flags); in kfd_ioctl_export_dmabuf() 1688 /* dma_buf_fd assigns the reference count to the fd, no need to in kfd_ioctl_export_dmabuf()
|