Searched refs:dmabuf_fd (Results 1 – 6 of 6) sorted by relevance
/linux-6.3-rc2/tools/testing/selftests/dmabuf-heaps/ |
A D | dmabuf-heap.c | 115 if (!dmabuf_fd) in dmabuf_heap_alloc_fdflags() 129 dmabuf_fd); in dmabuf_heap_alloc() 166 dmabuf_fd, in test_alloc_and_import() 212 if (dmabuf_fd >= 0) in test_alloc_and_import() 213 close(dmabuf_fd); in test_alloc_and_import() 316 if (!dmabuf_fd) in dmabuf_heap_alloc_older() 352 if (!dmabuf_fd) in dmabuf_heap_alloc_newer() 379 close(dmabuf_fd); in test_alloc_compat() 391 if (dmabuf_fd >= 0) in test_alloc_compat() 392 close(dmabuf_fd); in test_alloc_compat() [all …]
|
/linux-6.3-rc2/include/uapi/linux/ |
A 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.3-rc2/drivers/gpu/drm/i915/gvt/ |
A D | dmabuf.c | 506 int dmabuf_fd; in intel_vgpu_get_dmabuf() local 539 dmabuf_fd = ret; in intel_vgpu_get_dmabuf() 554 dmabuf_fd, in intel_vgpu_get_dmabuf() 560 return dmabuf_fd; in intel_vgpu_get_dmabuf()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/amdkfd/ |
A D | kfd_chardev.c | 1502 r = amdgpu_amdkfd_get_dmabuf_info(dev->adev, args->dmabuf_fd, in kfd_ioctl_get_dmabuf_info() 1543 dmabuf = dma_buf_get(args->dmabuf_fd); in kfd_ioctl_import_dmabuf() 1867 &bo_bucket->dmabuf_fd); in criu_checkpoint_bos() 1871 bo_bucket->dmabuf_fd = KFD_INVALID_FD; in criu_checkpoint_bos() 1921 close_fd(bo_buckets[bo_index].dmabuf_fd); in criu_checkpoint_bos() 2326 &bo_bucket->dmabuf_fd); in criu_restore_bo() 2330 bo_bucket->dmabuf_fd = KFD_INVALID_FD; in criu_restore_bo() 2399 close_fd(bo_buckets[i].dmabuf_fd); in criu_restore_bos()
|
/linux-6.3-rc2/drivers/accel/habanalabs/common/ |
A D | memory.c | 1811 u64 total_size, int flags, int *dmabuf_fd) in export_dmabuf() argument 1838 *dmabuf_fd = fd; in export_dmabuf() 2018 int flags, int *dmabuf_fd) in export_dmabuf_from_addr() argument 2069 rc = export_dmabuf(ctx, hl_dmabuf, size, flags, dmabuf_fd); in export_dmabuf_from_addr() 2262 int rc, dmabuf_fd = -EBADF; in hl_mem_ioctl() local 2359 &dmabuf_fd); in hl_mem_ioctl() 2361 args->out.fd = dmabuf_fd; in hl_mem_ioctl()
|
/linux-6.3-rc2/drivers/infiniband/hw/mlx5/ |
A 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()
|
Completed in 33 milliseconds