Searched refs:dmabuf_fd (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/tools/testing/selftests/dmabuf-heaps/ |
D | dmabuf-heap.c | 106 unsigned int heap_flags, int *dmabuf_fd) in dmabuf_heap_alloc_fdflags() argument 116 if (!dmabuf_fd) in dmabuf_heap_alloc_fdflags() 122 *dmabuf_fd = (int)data.fd; in dmabuf_heap_alloc_fdflags() 127 int *dmabuf_fd) in dmabuf_heap_alloc() argument 130 dmabuf_fd); in dmabuf_heap_alloc() 146 int heap_fd = -1, dmabuf_fd = -1, importer_fd = -1; in test_alloc_and_import() local 156 ret = dmabuf_heap_alloc(heap_fd, ONE_MEG, 0, &dmabuf_fd); in test_alloc_and_import() 167 dmabuf_fd, in test_alloc_and_import() 175 dmabuf_sync(dmabuf_fd, DMA_BUF_SYNC_START); in test_alloc_and_import() 178 dmabuf_sync(dmabuf_fd, DMA_BUF_SYNC_END); in test_alloc_and_import() [all …]
|
/linux-6.1.9/include/uapi/linux/ |
D | kfd_ioctl.h | 456 __u32 dmabuf_fd; /* to KFD */ member 463 __u32 dmabuf_fd; /* to KFD */ member 591 __u32 dmabuf_fd; member
|
/linux-6.1.9/drivers/gpu/drm/i915/gvt/ |
D | dmabuf.c | 503 int dmabuf_fd; in intel_vgpu_get_dmabuf() local 536 dmabuf_fd = ret; in intel_vgpu_get_dmabuf() 551 dmabuf_fd, in intel_vgpu_get_dmabuf() 557 return dmabuf_fd; in intel_vgpu_get_dmabuf()
|
/linux-6.1.9/drivers/misc/habanalabs/common/ |
D | memory.c | 1790 u64 total_size, int flags, int *dmabuf_fd) in export_dmabuf_common() argument 1817 *dmabuf_fd = fd; in export_dmabuf_common() 1842 u64 size, int flags, int *dmabuf_fd) in export_dmabuf_from_addr() argument 1893 rc = export_dmabuf_common(ctx, hl_dmabuf, size, flags, dmabuf_fd); in export_dmabuf_from_addr() 1919 int *dmabuf_fd) in export_dmabuf_from_handle() argument 1985 flags, dmabuf_fd); in export_dmabuf_from_handle() 2180 int rc, dmabuf_fd = -EBADF; in hl_mem_ioctl() local 2276 &dmabuf_fd); in hl_mem_ioctl() 2282 &dmabuf_fd); in hl_mem_ioctl() 2284 args->out.fd = dmabuf_fd; in hl_mem_ioctl()
|
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_chardev.c | 1483 r = amdgpu_amdkfd_get_dmabuf_info(dev->adev, args->dmabuf_fd, in kfd_ioctl_get_dmabuf_info() 1524 dmabuf = dma_buf_get(args->dmabuf_fd); in kfd_ioctl_import_dmabuf() 1848 &bo_bucket->dmabuf_fd); in criu_checkpoint_bos() 1852 bo_bucket->dmabuf_fd = KFD_INVALID_FD; in criu_checkpoint_bos() 1902 close_fd(bo_buckets[bo_index].dmabuf_fd); in criu_checkpoint_bos() 2307 &bo_bucket->dmabuf_fd); in criu_restore_bo() 2311 bo_bucket->dmabuf_fd = KFD_INVALID_FD; in criu_restore_bo() 2380 close_fd(bo_buckets[i].dmabuf_fd); in criu_restore_bos()
|
/linux-6.1.9/drivers/infiniband/hw/mlx5/ |
D | devx.c | 2179 int dmabuf_fd; in devx_umem_get() local 2181 err = uverbs_get_raw_fd(&dmabuf_fd, attrs, in devx_umem_get() 2187 &dev->ib_dev, addr, size, dmabuf_fd, access_flags); in devx_umem_get()
|