Searched refs:dma_buf_fd (Results 1 – 17 of 17) sorted by relevance
/openbmc/linux/tools/testing/selftests/dmabuf-heaps/ |
H A D | dmabuf-heap.c | 65 static int import_vgem_fd(int vgem_fd, int dma_buf_fd, uint32_t *handle) in import_vgem_fd() argument 68 .fd = dma_buf_fd, in import_vgem_fd()
|
/openbmc/linux/include/linux/ |
H A D | dma-buf.h | 608 int dma_buf_fd(struct dma_buf *dmabuf, int flags);
|
/openbmc/linux/drivers/dma-buf/ |
H A D | dma-heap.c | 71 fd = dma_buf_fd(dmabuf, fd_flags); in dma_heap_buffer_alloc()
|
H A D | udmabuf.c | 283 return dma_buf_fd(buf, flags); in udmabuf_create()
|
H A D | dma-buf.c | 700 int dma_buf_fd(struct dma_buf *dmabuf, int flags) in dma_buf_fd() function 715 EXPORT_SYMBOL_NS_GPL(dma_buf_fd, DMA_BUF);
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_amdkfd.c | 470 int amdgpu_amdkfd_get_dmabuf_info(struct amdgpu_device *adev, int dma_buf_fd, in amdgpu_amdkfd_get_dmabuf_info() argument 482 dma_buf = dma_buf_get(dma_buf_fd); in amdgpu_amdkfd_get_dmabuf_info()
|
H A D | amdgpu_amdkfd.h | 238 int amdgpu_amdkfd_get_dmabuf_info(struct amdgpu_device *adev, int dma_buf_fd,
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | ttm_object.c | 632 ret = dma_buf_fd(dma_buf, flags); in ttm_prime_handle_to_fd()
|
/openbmc/linux/drivers/gpu/drm/i915/gvt/ |
H A D | dmabuf.c | 534 ret = dma_buf_fd(dmabuf, DRM_CLOEXEC | DRM_RDWR); in intel_vgpu_get_dmabuf()
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_prime.c | 485 ret = dma_buf_fd(dmabuf, flags); in drm_gem_prime_handle_to_fd()
|
/openbmc/linux/drivers/xen/ |
H A D | gntdev-dmabuf.c | 392 ret = dma_buf_fd(gntdev_dmabuf->dmabuf, O_CLOEXEC); in dmabuf_exp_from_pages()
|
/openbmc/linux/Documentation/driver-api/ |
H A D | dma-buf.rst | 83 userspace control setting of O_CLOEXEC flag passed in to dma_buf_fd().
|
/openbmc/linux/samples/vfio-mdev/ |
H A D | mbochs.c | 1182 return dma_buf_fd(dmabuf->buf, 0); in mbochs_get_gfx_dmabuf()
|
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_chardev.c | 1655 ret = dma_buf_fd(dmabuf, args->flags); in kfd_ioctl_export_dmabuf() 1872 ret = dma_buf_fd(dmabuf, flags); in criu_get_prime_handle()
|
/openbmc/linux/drivers/media/common/videobuf2/ |
H A D | videobuf2-core.c | 2289 ret = dma_buf_fd(dbuf, flags & ~O_ACCMODE); in vb2_core_expbuf()
|
/openbmc/linux/drivers/misc/ |
H A D | fastrpc.c | 1627 bp.fd = dma_buf_fd(buf->dmabuf, O_ACCMODE); in fastrpc_dmabuf_alloc()
|
/openbmc/linux/drivers/accel/habanalabs/common/ |
H A D | memory.c | 1852 fd = dma_buf_fd(hl_dmabuf->dmabuf, flags); in export_dmabuf()
|