/linux/drivers/dma-buf/ |
H A D | dma-buf.c | 42 static void __dma_buf_debugfs_list_add(struct dma_buf *dmabuf) in __dma_buf_debugfs_list_add() 49 static void __dma_buf_debugfs_list_del(struct dma_buf *dmabuf) in __dma_buf_debugfs_list_del() 59 static void __dma_buf_debugfs_list_add(struct dma_buf *dmabuf) in __dma_buf_debugfs_list_add() 70 struct dma_buf *dmabuf; in dmabuffs_dname() local 86 struct dma_buf *dmabuf; in dma_buf_release() local 149 struct dma_buf *dmabuf; in dma_buf_mmap_internal() local 170 struct dma_buf *dmabuf; in dma_buf_llseek() local 222 struct dma_buf *dmabuf = container_of(dcb->poll, struct dma_buf, poll); in dma_buf_poll_cb() local 255 struct dma_buf *dmabuf; in dma_buf_poll() local 336 static long dma_buf_set_name(struct dma_buf *dmabuf, const char __user *buf) in dma_buf_set_name() [all …]
|
H A D | dma-buf-sysfs-stats.c | 66 struct dma_buf *dmabuf; in dma_buf_stats_attribute_show() local 82 static ssize_t exporter_name_show(struct dma_buf *dmabuf, in exporter_name_show() 89 static ssize_t size_show(struct dma_buf *dmabuf, in size_show() 121 void dma_buf_stats_teardown(struct dma_buf *dmabuf) in dma_buf_stats_teardown() 171 int dma_buf_stats_setup(struct dma_buf *dmabuf, struct file *file) in dma_buf_stats_setup()
|
H A D | dma-buf-sysfs-stats.h | 28 static inline int dma_buf_stats_setup(struct dma_buf *dmabuf, struct file *file) in dma_buf_stats_setup() 33 static inline void dma_buf_stats_teardown(struct dma_buf *dmabuf) {} in dma_buf_stats_teardown()
|
H A D | dma-heap.c | 55 struct dma_buf *dmabuf; in dma_heap_buffer_alloc() local
|
/linux/drivers/dma-buf/heaps/ |
H A D | cma_heap.c | 50 static int cma_heap_attach(struct dma_buf *dmabuf, in cma_heap_attach() 83 static void cma_heap_detach(struct dma_buf *dmabuf, in cma_heap_detach() 121 static int cma_heap_dma_buf_begin_cpu_access(struct dma_buf *dmabuf, in cma_heap_dma_buf_begin_cpu_access() 142 static int cma_heap_dma_buf_end_cpu_access(struct dma_buf *dmabuf, in cma_heap_dma_buf_end_cpu_access() 178 static int cma_heap_mmap(struct dma_buf *dmabuf, struct vm_area_struct *vma) in cma_heap_mmap() 204 static int cma_heap_vmap(struct dma_buf *dmabuf, struct iosys_map *map) in cma_heap_vmap() 231 static void cma_heap_vunmap(struct dma_buf *dmabuf, struct iosys_map *map) in cma_heap_vunmap() 244 static void cma_heap_dma_buf_release(struct dma_buf *dmabuf) in cma_heap_dma_buf_release() 287 struct dma_buf *dmabuf; in cma_heap_allocate() local
|
H A D | system_heap.c | 82 static int system_heap_attach(struct dma_buf *dmabuf, in system_heap_attach() 113 static void system_heap_detach(struct dma_buf *dmabuf, in system_heap_detach() 153 static int system_heap_dma_buf_begin_cpu_access(struct dma_buf *dmabuf, in system_heap_dma_buf_begin_cpu_access() 174 static int system_heap_dma_buf_end_cpu_access(struct dma_buf *dmabuf, in system_heap_dma_buf_end_cpu_access() 195 static int system_heap_mmap(struct dma_buf *dmabuf, struct vm_area_struct *vma) in system_heap_mmap() 243 static int system_heap_vmap(struct dma_buf *dmabuf, struct iosys_map *map) in system_heap_vmap() 271 static void system_heap_vunmap(struct dma_buf *dmabuf, struct iosys_map *map) in system_heap_vunmap() 284 static void system_heap_dma_buf_release(struct dma_buf *dmabuf) in system_heap_dma_buf_release() 343 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
|
/linux/samples/vfio-mdev/ |
H A D | mbochs.c | 820 struct mbochs_dmabuf *dmabuf = vma->vm_private_data; in mbochs_dmabuf_vm_fault() local 836 struct mbochs_dmabuf *dmabuf = buf->priv; in mbochs_mmap_dmabuf() local 849 static void mbochs_print_dmabuf(struct mbochs_dmabuf *dmabuf, in mbochs_print_dmabuf() 868 struct mbochs_dmabuf *dmabuf = at->dmabuf->priv; in mbochs_map_dmabuf() local 897 struct mbochs_dmabuf *dmabuf = at->dmabuf->priv; in mbochs_unmap_dmabuf() local 909 struct mbochs_dmabuf *dmabuf = buf->priv; in mbochs_release_dmabuf() local 936 struct mbochs_dmabuf *dmabuf; in mbochs_dmabuf_alloc() local 980 struct mbochs_dmabuf *dmabuf; in mbochs_dmabuf_find_by_mode() local 994 struct mbochs_dmabuf *dmabuf; in mbochs_dmabuf_find_by_id() local 1005 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 250 struct dma_buf *dmabuf = umem_dmabuf->attach->dmabuf; in ib_umem_dmabuf_revoke() local 268 struct dma_buf *dmabuf = umem_dmabuf->attach->dmabuf; in ib_umem_dmabuf_release() local
|
/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/include/linux/ |
H A D | dma-buf.h | 451 struct dma_buf *dmabuf; member 514 struct dma_buf *dmabuf; member 568 static inline void get_dma_buf(struct dma_buf *dmabuf) in get_dma_buf() 581 static inline bool dma_buf_is_dynamic(struct dma_buf *dmabuf) in dma_buf_is_dynamic()
|
/linux/drivers/gpu/drm/xe/tests/ |
H A D | xe_dma_buf.c | 30 struct xe_bo *imported, struct dma_buf *dmabuf) in check_residency() 113 struct dma_buf *dmabuf; in xe_test_dmabuf_import_same_driver() local
|
/linux/drivers/scsi/lpfc/ |
H A D | lpfc_bsg.c | 893 struct lpfc_dmabuf *dmabuf = NULL; in lpfc_bsg_ct_unsol_event() local 1133 lpfc_bsg_ct_unsol_abort(struct lpfc_hba *phba, struct hbq_dmabuf *dmabuf) in lpfc_bsg_ct_unsol_abort() 2593 struct lpfc_dmabuf *dmabuf; in lpfcdiag_loop_get_xri() local 2719 struct lpfc_dmabuf *dmabuf; in lpfc_bsg_dma_page_alloc() local 2750 lpfc_bsg_dma_page_free(struct lpfc_hba *phba, struct lpfc_dmabuf *dmabuf) in lpfc_bsg_dma_page_free() 2776 struct lpfc_dmabuf *dmabuf, *next_dmabuf; in lpfc_bsg_dma_page_list_free() local 3555 struct lpfc_dmabuf *dmabuf; in lpfc_bsg_issue_mbox_ext_handle_job() local 3814 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_sli_cfg_read_cmd_ext() 4003 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_sli_cfg_write_cmd_ext() 4169 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_handle_sli_cfg_mbox() [all …]
|
H A D | lpfc_sli.c | 2392 struct lpfc_dmabuf *dmabuf, *next_dmabuf; in lpfc_sli_hbqbuf_free_all() local 4525 struct hbq_dmabuf *dmabuf; in lpfc_sli_handle_slow_ring_event_s4() local 5897 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_read_rev() local 6887 struct lpfc_dmabuf *dmabuf, *next; in lpfc_sli4_ras_dma_free() local 6930 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_ras_dma_alloc() local 7042 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_ras_fwlog_init() local 15795 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_queue_free() local 15839 struct lpfc_dmabuf *dmabuf; in lpfc_sli4_queue_alloc() local 16075 struct lpfc_dmabuf *dmabuf; in lpfc_eq_create() local 16273 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/Documentation/userspace-api/media/v4l/ |
H A D | dmabuf.rst | 4 .. _dmabuf: target
|
/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_dmabuf.c | 167 static int i915_gem_dmabuf_attach(struct dma_buf *dmabuf, in i915_gem_dmabuf_attach() 196 static void i915_gem_dmabuf_detach(struct dma_buf *dmabuf, in i915_gem_dmabuf_detach()
|
/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()
|
/linux/drivers/gpu/drm/ |
H A D | drm_prime.c | 382 struct dma_buf *dmabuf; in export_and_register_object() local 440 struct dma_buf *dmabuf; in drm_gem_prime_handle_to_dmabuf() local 518 struct dma_buf *dmabuf; in drm_gem_prime_handle_to_fd() local
|
/linux/drivers/iio/ |
H A D | industrialio-buffer.c | 1564 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() 1628 struct dma_buf *dmabuf, bool nonblock) in iio_buffer_find_attachment() 1658 struct dma_buf *dmabuf; in iio_buffer_attach_dmabuf() local 1762 struct dma_buf *dmabuf; in iio_buffer_detach_dmabuf() local 1820 struct dma_buf *dmabuf; in iio_buffer_enqueue_dmabuf() local
|
/linux/sound/ppc/ |
H A D | beep.c | 213 void *dmabuf; in snd_pmac_attach_beep() local
|
/linux/net/core/ |
H A D | devmem.h | 16 struct dma_buf *dmabuf; member
|
H A D | devmem.c | 183 struct dma_buf *dmabuf; in net_devmem_bind_dmabuf() local
|