| /linux/drivers/dma-buf/ |
| H A D | dma-buf.c | 67 static void __dma_buf_list_add(struct dma_buf *dmabuf) in __dma_buf_list_add() 74 static void __dma_buf_list_del(struct dma_buf *dmabuf) in __dma_buf_list_del() 98 struct dma_buf *ret = NULL, *dmabuf; in dma_buf_iter_begin() local 129 struct dma_buf *dma_buf_iter_next(struct dma_buf *dmabuf) in dma_buf_iter_next() 152 struct dma_buf *dmabuf; in dmabuffs_dname() local 168 struct dma_buf *dmabuf; in dma_buf_release() local 230 struct dma_buf *dmabuf; in dma_buf_mmap_internal() local 253 struct dma_buf *dmabuf; in dma_buf_llseek() local 306 struct dma_buf *dmabuf = container_of(dcb->poll, struct dma_buf, poll); in dma_buf_poll_cb() local 339 struct dma_buf *dmabuf; in dma_buf_poll() local [all …]
|
| /linux/kernel/bpf/ |
| H A D | dmabuf_iter.c | 16 struct dma_buf *dmabuf; member 24 struct dma_buf *dmabuf = p->dmabuf; in dmabuf_iter_seq_start() local 42 struct dma_buf *dmabuf = v; in dmabuf_iter_seq_next() local 78 struct dma_buf *dmabuf = v; in dmabuf_iter_seq_stop() local 135 DEFINE_BPF_ITER_FUNC(dmabuf, struct bpf_iter_meta *meta, struct dma_buf *dmabuf) in DEFINE_BPF_ITER_FUNC() argument 156 struct dma_buf *dmabuf; member
|
| /linux/drivers/dma-buf/heaps/ |
| H A D | cma_heap.c | 70 static int cma_heap_attach(struct dma_buf *dmabuf, in cma_heap_attach() 103 static void cma_heap_detach(struct dma_buf *dmabuf, in cma_heap_detach() 141 static int cma_heap_dma_buf_begin_cpu_access(struct dma_buf *dmabuf, in cma_heap_dma_buf_begin_cpu_access() 162 static int cma_heap_dma_buf_end_cpu_access(struct dma_buf *dmabuf, in cma_heap_dma_buf_end_cpu_access() 198 static int cma_heap_mmap(struct dma_buf *dmabuf, struct vm_area_struct *vma) in cma_heap_mmap() 224 static int cma_heap_vmap(struct dma_buf *dmabuf, struct iosys_map *map) in cma_heap_vmap() 251 static void cma_heap_vunmap(struct dma_buf *dmabuf, struct iosys_map *map) in cma_heap_vunmap() 264 static void cma_heap_dma_buf_release(struct dma_buf *dmabuf) in cma_heap_dma_buf_release() 307 struct dma_buf *dmabuf; in cma_heap_allocate() local
|
| H A D | system_heap.c | 73 static int system_heap_attach(struct dma_buf *dmabuf, in system_heap_attach() 103 static void system_heap_detach(struct dma_buf *dmabuf, in system_heap_detach() 142 static int system_heap_dma_buf_begin_cpu_access(struct dma_buf *dmabuf, in system_heap_dma_buf_begin_cpu_access() 163 static int system_heap_dma_buf_end_cpu_access(struct dma_buf *dmabuf, in system_heap_dma_buf_end_cpu_access() 184 static int system_heap_mmap(struct dma_buf *dmabuf, struct vm_area_struct *vma) in system_heap_mmap() 247 static int system_heap_vmap(struct dma_buf *dmabuf, struct iosys_map *map) in system_heap_vmap() 275 static void system_heap_vunmap(struct dma_buf *dmabuf, struct iosys_map *map) in system_heap_vunmap() 288 static void system_heap_dma_buf_release(struct dma_buf *dmabuf) in system_heap_dma_buf_release() 350 struct dma_buf *dmabuf; in system_heap_allocate() local
|
| /linux/drivers/gpu/drm/i915/gem/selftests/ |
| H A D | i915_gem_dmabuf.c | 22 struct dma_buf *dmabuf; in igt_dmabuf_export() local 45 struct dma_buf *dmabuf; in igt_dmabuf_import_self() local 99 struct dma_buf *dmabuf; in igt_dmabuf_import_same_driver_lmem() local 225 struct dma_buf *dmabuf; in igt_dmabuf_import_same_driver() local 348 struct dma_buf *dmabuf; in igt_dmabuf_import() local 432 struct dma_buf *dmabuf; in igt_dmabuf_import_ownership() local 483 struct dma_buf *dmabuf; in igt_dmabuf_export_vmap() local
|
| H A D | mock_dmabuf.c | 103 struct dma_buf *dmabuf; in mock_dmabuf() local
|
| /linux/samples/vfio-mdev/ |
| H A D | mbochs.c | 815 struct mbochs_dmabuf *dmabuf = vma->vm_private_data; in mbochs_dmabuf_vm_fault() local 831 struct mbochs_dmabuf *dmabuf = buf->priv; in mbochs_mmap_dmabuf() local 844 static void mbochs_print_dmabuf(struct mbochs_dmabuf *dmabuf, in mbochs_print_dmabuf() 863 struct mbochs_dmabuf *dmabuf = at->dmabuf->priv; in mbochs_map_dmabuf() local 892 struct mbochs_dmabuf *dmabuf = at->dmabuf->priv; in mbochs_unmap_dmabuf() local 904 struct mbochs_dmabuf *dmabuf = buf->priv; in mbochs_release_dmabuf() local 931 struct mbochs_dmabuf *dmabuf; in mbochs_dmabuf_alloc() local 975 struct mbochs_dmabuf *dmabuf; in mbochs_dmabuf_find_by_mode() local 989 struct mbochs_dmabuf *dmabuf; in mbochs_dmabuf_find_by_id() local 1000 static int mbochs_dmabuf_export(struct mbochs_dmabuf *dmabuf) in mbochs_dmabuf_export() [all …]
|
| /linux/drivers/infiniband/core/ |
| H A D | umem_dmabuf.c | 123 struct dma_buf *dmabuf; in ib_umem_dmabuf_get_with_dma_device() local 245 struct dma_buf *dmabuf = umem_dmabuf->attach->dmabuf; in ib_umem_dmabuf_revoke() local 263 struct dma_buf *dmabuf = umem_dmabuf->attach->dmabuf; in ib_umem_dmabuf_release() local
|
| H A D | uverbs_std_types_dmabuf.c | 15 static int uverbs_dmabuf_attach(struct dma_buf *dmabuf, in uverbs_dmabuf_attach() 66 static void uverbs_dmabuf_release(struct dma_buf *dmabuf) in uverbs_dmabuf_release()
|
| /linux/drivers/tee/ |
| H A D | tee_heap.c | 90 static int tee_heap_attach(struct dma_buf *dmabuf, in tee_heap_attach() 113 static void tee_heap_detach(struct dma_buf *dmabuf, in tee_heap_detach() 149 static void tee_heap_buf_free(struct dma_buf *dmabuf) in tee_heap_buf_free() 177 struct dma_buf *dmabuf; in tee_dma_heap_alloc() local 341 struct dma_buf *dmabuf, size_t *offset, in tee_heap_update_from_dma_buf()
|
| /linux/drivers/hid/ |
| H A D | hid-elan.c | 80 unsigned char *dmabuf, unsigned char param) in elan_get_device_param() 121 unsigned char *dmabuf; in elan_get_device_params() local 393 unsigned char *dmabuf = kmemdup(buf, sizeof(buf), GFP_KERNEL); in elan_start_multitouch() local 420 unsigned char *dmabuf = kzalloc(ELAN_LED_REPORT_SIZE, GFP_KERNEL); in elan_mute_led_set_brigtness() local
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_dma_buf.c | 25 static int xe_dma_buf_attach(struct dma_buf *dmabuf, in xe_dma_buf_attach() 41 static void xe_dma_buf_detach(struct dma_buf *dmabuf, in xe_dma_buf_detach() 51 struct dma_buf *dmabuf = attach->dmabuf; in xe_dma_buf_pin() local
|
| /linux/drivers/vfio/pci/ |
| H A D | vfio_pci_dmabuf.c | 13 struct dma_buf *dmabuf; member 33 static int vfio_pci_dma_buf_attach(struct dma_buf *dmabuf, in vfio_pci_dma_buf_attach() 70 static void vfio_pci_dma_buf_release(struct dma_buf *dmabuf) in vfio_pci_dma_buf_release()
|
| /linux/drivers/scsi/lpfc/ |
| H A D | lpfc_bsg.c | 907 struct lpfc_dmabuf *dmabuf = NULL; in lpfc_bsg_ct_unsol_event() local 1147 lpfc_bsg_ct_unsol_abort(struct lpfc_hba *phba, struct hbq_dmabuf *dmabuf) in lpfc_bsg_ct_unsol_abort() 2607 struct lpfc_dmabuf *dmabuf; in lpfcdiag_loop_get_xri() local 2732 struct lpfc_dmabuf *dmabuf; in lpfc_bsg_dma_page_alloc() local 2763 lpfc_bsg_dma_page_free(struct lpfc_hba *phba, struct lpfc_dmabuf *dmabuf) in lpfc_bsg_dma_page_free() 2789 struct lpfc_dmabuf *dmabuf, *next_dmabuf; in lpfc_bsg_dma_page_list_free() local 3664 struct lpfc_dmabuf *dmabuf; in lpfc_bsg_issue_mbox_ext_handle_job() local 3943 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_sli_cfg_read_cmd_ext() 4186 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_sli_cfg_write_cmd_ext() 4352 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_handle_sli_cfg_mbox() [all …]
|
| H A D | lpfc_sli.c | 2393 struct lpfc_dmabuf *dmabuf, *next_dmabuf; in lpfc_sli_hbqbuf_free_all() local 4519 struct hbq_dmabuf *dmabuf; in lpfc_sli_handle_slow_ring_event_s4() local 5893 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_read_rev() local 6883 struct lpfc_dmabuf *dmabuf, *next; in lpfc_sli4_ras_dma_free() local 6926 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_ras_dma_alloc() local 7037 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_ras_fwlog_init() local 15841 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_queue_free() local 15885 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_queue_alloc() local 16147 struct lpfc_dmabuf *dmabuf; in lpfc_eq_create() local 16345 struct lpfc_dmabuf *dmabuf; in lpfc_cq_create() local [all …]
|
| /linux/drivers/media/platform/nvidia/tegra-vde/ |
| H A D | dmabuf-cache.c | 34 struct dma_buf *dmabuf = entry->a->dmabuf; in tegra_vde_release_entry() local 64 struct dma_buf *dmabuf, in tegra_vde_dmabuf_cache_map()
|
| /linux/drivers/comedi/drivers/ |
| H A D | adl_pci9118.c | 227 struct pci9118_dmabuf dmabuf[2]; member 246 struct pci9118_dmabuf *dmabuf = &devpriv->dmabuf[buf]; in pci9118_amcc_setup_dma() local 393 struct pci9118_dmabuf *dmabuf = &devpriv->dmabuf[next_buf]; in pci9118_ai_mode4_switch() local 640 struct pci9118_dmabuf *dmabuf = &devpriv->dmabuf[devpriv->dma_actbuf]; in pci9118_ai_get_dma() local 1053 struct pci9118_dmabuf *dmabuf = &devpriv->dmabuf[0]; in pci9118_ai_cmd() local 1462 struct pci9118_dmabuf *dmabuf; in pci9118_alloc_dma() local 1489 struct pci9118_dmabuf *dmabuf; in pci9118_free_dma() local
|
| H A D | addi_apci_3120.c | 150 struct apci3120_dmabuf dmabuf[2]; member 172 struct apci3120_dmabuf *dmabuf) in apci3120_init_dma() 430 struct apci3120_dmabuf *dmabuf; in apci3120_interrupt_dma() local 909 struct apci3120_dmabuf *dmabuf; in apci3120_dma_alloc() local 937 struct apci3120_dmabuf *dmabuf; in apci3120_dma_free() local
|
| /linux/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_dmabuf.c | 166 static int i915_gem_dmabuf_attach(struct dma_buf *dmabuf, in i915_gem_dmabuf_attach() 195 static void i915_gem_dmabuf_detach(struct dma_buf *dmabuf, in i915_gem_dmabuf_detach()
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | dmabuf.rst | 4 .. _dmabuf: target
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_prime.c | 379 struct dma_buf *dmabuf; in export_and_register_object() local 437 struct dma_buf *dmabuf; in drm_gem_prime_handle_to_dmabuf() local 515 struct dma_buf *dmabuf; in drm_gem_prime_handle_to_fd() local
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_dma_buf.c | 78 static int amdgpu_dma_buf_attach(struct dma_buf *dmabuf, in amdgpu_dma_buf_attach() 123 struct dma_buf *dmabuf = attach->dmabuf; in amdgpu_dma_buf_pin() local
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | dmabuf_iter.c | 33 const struct dma_buf *dmabuf = ctx->dmabuf; in dmabuf_collector() local
|
| /linux/drivers/iio/ |
| H A D | industrialio-buffer.c | 1566 struct dma_buf *dmabuf = attach->dmabuf; in iio_buffer_dmabuf_release() local 1615 static int iio_dma_resv_lock(struct dma_buf *dmabuf, bool nonblock) in iio_dma_resv_lock() 1637 struct dma_buf *dmabuf, bool nonblock) in iio_buffer_find_attachment() 1668 struct dma_buf *dmabuf; in iio_buffer_attach_dmabuf() local 1773 struct dma_buf *dmabuf; in iio_buffer_detach_dmabuf() local 1831 struct dma_buf *dmabuf; in iio_buffer_enqueue_dmabuf() local
|
| /linux/sound/soc/fsl/ |
| H A D | fsl_asrc_m2m.c | 410 static int fsl_asrc_m2m_mmap(struct dma_buf *dmabuf, struct vm_area_struct *vma) in fsl_asrc_m2m_mmap() 448 static void fsl_asrc_m2m_release(struct dma_buf *dmabuf) in fsl_asrc_m2m_release()
|