Searched refs:dmabuf_fd (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/tools/testing/selftests/dmabuf-heaps/ |
D | dmabuf-heap.c | 105 unsigned int heap_flags, int *dmabuf_fd) in dmabuf_heap_alloc_fdflags() argument 115 if (!dmabuf_fd) in dmabuf_heap_alloc_fdflags() 121 *dmabuf_fd = (int)data.fd; in dmabuf_heap_alloc_fdflags() 126 int *dmabuf_fd) in dmabuf_heap_alloc() argument 129 dmabuf_fd); in dmabuf_heap_alloc() 145 int heap_fd = -1, dmabuf_fd = -1, importer_fd = -1; in test_alloc_and_import() local 155 ret = dmabuf_heap_alloc(heap_fd, ONE_MEG, 0, &dmabuf_fd); in test_alloc_and_import() 166 dmabuf_fd, in test_alloc_and_import() 174 dmabuf_sync(dmabuf_fd, DMA_BUF_SYNC_START); in test_alloc_and_import() 177 dmabuf_sync(dmabuf_fd, DMA_BUF_SYNC_END); in test_alloc_and_import() [all …]
|
/linux-6.6.21/drivers/gpu/drm/i915/gvt/ |
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.6.21/include/uapi/linux/ |
D | kfd_ioctl.h | 493 __u32 dmabuf_fd; /* to KFD */ member 500 __u32 dmabuf_fd; /* to KFD */ member 506 __u32 dmabuf_fd; /* from KFD */ member 634 __u32 dmabuf_fd; member
|
/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_chardev.c | 1531 r = amdgpu_amdkfd_get_dmabuf_info(dev->adev, args->dmabuf_fd, in kfd_ioctl_get_dmabuf_info() 1569 dmabuf = dma_buf_get(args->dmabuf_fd); in kfd_ioctl_import_dmabuf() 1657 args->dmabuf_fd = ret; in kfd_ioctl_export_dmabuf() 1948 &bo_bucket->dmabuf_fd); in criu_checkpoint_bos() 1952 bo_bucket->dmabuf_fd = KFD_INVALID_FD; in criu_checkpoint_bos() 2002 close_fd(bo_buckets[bo_index].dmabuf_fd); in criu_checkpoint_bos() 2408 &bo_bucket->dmabuf_fd); in criu_restore_bo() 2412 bo_bucket->dmabuf_fd = KFD_INVALID_FD; in criu_restore_bo() 2481 close_fd(bo_buckets[i].dmabuf_fd); in criu_restore_bos()
|
/linux-6.6.21/drivers/accel/habanalabs/common/ |
D | memory.c | 1835 u64 total_size, int flags, int *dmabuf_fd) in export_dmabuf() argument 1869 *dmabuf_fd = fd; in export_dmabuf() 2008 int flags, int *dmabuf_fd) in export_dmabuf_from_addr() argument 2059 rc = export_dmabuf(ctx, hl_dmabuf, size, flags, dmabuf_fd); in export_dmabuf_from_addr() 2182 int rc, dmabuf_fd = -EBADF; in hl_mem_ioctl() local 2276 &dmabuf_fd); in hl_mem_ioctl() 2278 args->out.fd = dmabuf_fd; in hl_mem_ioctl()
|
/linux-6.6.21/drivers/infiniband/hw/mlx5/ |
D | devx.c | 2198 int dmabuf_fd; in devx_umem_get() local 2200 err = uverbs_get_raw_fd(&dmabuf_fd, attrs, in devx_umem_get() 2206 &dev->ib_dev, addr, size, dmabuf_fd, access_flags); in devx_umem_get()
|