Home
last modified time | relevance | path

Searched refs:dma_buf_fd (Results 1 – 16 of 16) sorted by relevance

/linux/tools/testing/selftests/dmabuf-heaps/
H A Ddmabuf-heap.c66 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 Ddma-buf.h613 int dma_buf_fd(struct dma_buf *dmabuf, int flags);
/linux/drivers/dma-buf/
H A Ddma-heap.c70 fd = dma_buf_fd(dmabuf, fd_flags); in dma_heap_buffer_alloc()
H A Ddma-buf.c715 int dma_buf_fd(struct dma_buf *dmabuf, int flags) in dma_buf_fd() function
730 EXPORT_SYMBOL_NS_GPL(dma_buf_fd, "DMA_BUF");
H A Dudmabuf.c464 ret = dma_buf_fd(dmabuf, flags); in udmabuf_create()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_amdkfd.c502 int amdgpu_amdkfd_get_dmabuf_info(struct amdgpu_device *adev, int dma_buf_fd, in amdgpu_amdkfd_get_dmabuf_info() argument
514 dma_buf = dma_buf_get(dma_buf_fd); in amdgpu_amdkfd_get_dmabuf_info()
H A Damdgpu_amdkfd.h252 int amdgpu_amdkfd_get_dmabuf_info(struct amdgpu_device *adev, int dma_buf_fd,
/linux/drivers/gpu/drm/vmwgfx/
H A Dttm_object.c628 ret = dma_buf_fd(dma_buf, flags); in ttm_prime_handle_to_fd()
/linux/drivers/gpu/drm/i915/gvt/
H A Ddmabuf.c535 ret = dma_buf_fd(dmabuf, DRM_CLOEXEC | DRM_RDWR); in intel_vgpu_get_dmabuf()
/linux/drivers/xen/
H A Dgntdev-dmabuf.c392 ret = dma_buf_fd(gntdev_dmabuf->dmabuf, O_CLOEXEC); in dmabuf_exp_from_pages()
/linux/Documentation/driver-api/
H A Ddma-buf.rst99 userspace control setting of O_CLOEXEC flag passed in to dma_buf_fd().
/linux/samples/vfio-mdev/
H A Dmbochs.c1185 return dma_buf_fd(dmabuf->buf, 0); in mbochs_get_gfx_dmabuf()
/linux/drivers/accel/habanalabs/common/
H A Dmemory.c1875 fd = dma_buf_fd(hl_dmabuf->dmabuf, flags); in export_dmabuf()
/linux/drivers/media/common/videobuf2/
H A Dvideobuf2-core.c2483 ret = dma_buf_fd(dbuf, flags & ~O_ACCMODE); in vb2_core_expbuf()
/linux/drivers/misc/
H A Dfastrpc.c1628 bp.fd = dma_buf_fd(buf->dmabuf, O_ACCMODE); in fastrpc_dmabuf_alloc()
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_chardev.c1631 ret = dma_buf_fd(dmabuf, args->flags); in kfd_ioctl_export_dmabuf()