Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/testing/selftests/dmabuf-heaps/
A Ddmabuf-heap.c63 static int import_vgem_fd(int vgem_fd, int dma_buf_fd, uint32_t *handle) in import_vgem_fd() argument
66 .fd = dma_buf_fd, in import_vgem_fd()
/linux-6.3-rc2/include/linux/
A Ddma-buf.h608 int dma_buf_fd(struct dma_buf *dmabuf, int flags);
/linux-6.3-rc2/drivers/dma-buf/
A Ddma-heap.c71 fd = dma_buf_fd(dmabuf, fd_flags); in dma_heap_buffer_alloc()
A Dudmabuf.c318 return dma_buf_fd(buf, flags); in udmabuf_create()
A Ddma-buf.c705 int dma_buf_fd(struct dma_buf *dmabuf, int flags) in dma_buf_fd() function
720 EXPORT_SYMBOL_NS_GPL(dma_buf_fd, DMA_BUF);
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_amdkfd.c496 int amdgpu_amdkfd_get_dmabuf_info(struct amdgpu_device *adev, int dma_buf_fd, in amdgpu_amdkfd_get_dmabuf_info() argument
508 dma_buf = dma_buf_get(dma_buf_fd); in amdgpu_amdkfd_get_dmabuf_info()
A Damdgpu_amdkfd.h233 int amdgpu_amdkfd_get_dmabuf_info(struct amdgpu_device *adev, int dma_buf_fd,
/linux-6.3-rc2/drivers/gpu/drm/vmwgfx/
A Dttm_object.c632 ret = dma_buf_fd(dma_buf, flags); in ttm_prime_handle_to_fd()
/linux-6.3-rc2/drivers/gpu/drm/i915/gvt/
A Ddmabuf.c534 ret = dma_buf_fd(dmabuf, DRM_CLOEXEC | DRM_RDWR); in intel_vgpu_get_dmabuf()
/linux-6.3-rc2/drivers/gpu/drm/
A Ddrm_prime.c489 ret = dma_buf_fd(dmabuf, flags); in drm_gem_prime_handle_to_fd()
/linux-6.3-rc2/drivers/xen/
A Dgntdev-dmabuf.c391 ret = dma_buf_fd(gntdev_dmabuf->dmabuf, O_CLOEXEC); in dmabuf_exp_from_pages()
/linux-6.3-rc2/Documentation/driver-api/
A Ddma-buf.rst83 userspace control setting of O_CLOEXEC flag passed in to dma_buf_fd().
/linux-6.3-rc2/samples/vfio-mdev/
A Dmbochs.c1182 return dma_buf_fd(dmabuf->buf, 0); in mbochs_get_gfx_dmabuf()
/linux-6.3-rc2/drivers/media/common/videobuf2/
A Dvideobuf2-core.c2289 ret = dma_buf_fd(dbuf, flags & ~O_ACCMODE); in vb2_core_expbuf()
/linux-6.3-rc2/drivers/accel/habanalabs/common/
A Dmemory.c1828 fd = dma_buf_fd(hl_dmabuf->dmabuf, flags); in export_dmabuf()
/linux-6.3-rc2/drivers/misc/
A Dfastrpc.c1605 bp.fd = dma_buf_fd(buf->dmabuf, O_ACCMODE); in fastrpc_dmabuf_alloc()
/linux-6.3-rc2/drivers/gpu/drm/amd/amdkfd/
A Dkfd_chardev.c1789 ret = dma_buf_fd(dmabuf, flags); in criu_get_prime_handle()

Completed in 44 milliseconds