/kernel/linux/linux-5.10/drivers/dma-buf/heaps/ |
H A D | heap-helpers.c | 24 INIT_LIST_HEAD(&buffer->attachments); in init_heap_helper_buffer() 119 list_add(&a->list, &buffer->attachments); in dma_heap_attach() 210 list_for_each_entry(a, &buffer->attachments, list) { in dma_heap_dma_buf_begin_cpu_access() 230 list_for_each_entry(a, &buffer->attachments, list) { in dma_heap_dma_buf_end_cpu_access()
|
H A D | heap-helpers.h | 26 * @attachments list of device attachments 41 struct list_head attachments; member
|
/kernel/linux/linux-6.6/drivers/dma-buf/heaps/ |
H A D | system_heap.c | 28 struct list_head attachments; member 107 list_add(&a->list, &buffer->attachments); in system_heap_attach() 164 list_for_each_entry(a, &buffer->attachments, list) { in system_heap_dma_buf_begin_cpu_access() 185 list_for_each_entry(a, &buffer->attachments, list) { in system_heap_dma_buf_end_cpu_access() 354 INIT_LIST_HEAD(&buffer->attachments); in system_heap_allocate()
|
H A D | cma_heap.c | 33 struct list_head attachments; member 77 list_add(&a->list, &buffer->attachments); in cma_heap_attach() 132 list_for_each_entry(a, &buffer->attachments, list) { in cma_heap_dma_buf_begin_cpu_access() 153 list_for_each_entry(a, &buffer->attachments, list) { in cma_heap_dma_buf_end_cpu_access() 296 INIT_LIST_HEAD(&buffer->attachments); in cma_heap_allocate()
|
/kernel/linux/linux-5.10/drivers/dma-buf/ |
H A D | dma-buf.c | 85 WARN_ON(!list_empty(&dmabuf->attachments)); in dma_buf_release() 355 if (!list_empty(&dmabuf->attachments)) { in dma_buf_set_name() 592 INIT_LIST_HEAD(&dmabuf->attachments); in dma_buf_export() 687 * dma_buf_dynamic_attach - Add the device to dma_buf's attachments list; optionally, 737 list_add(&attach->node, &dmabuf->attachments); in dma_buf_dynamic_attach() 803 * dma_buf_detach - Remove the given attachment from dmabuf's attachments list; 979 * dma_buf_move_notify - notify attachments that DMA-buf is moving 992 list_for_each_entry(attach, &dmabuf->attachments, node) in dma_buf_move_notify() 1362 list_for_each_entry(attach_obj, &buf_obj->attachments, node) { in dma_buf_debug_show()
|
/kernel/linux/linux-5.10/drivers/staging/android/ion/ |
H A D | ion.c | 75 INIT_LIST_HEAD(&buffer->attachments); in ion_buffer_create() 205 list_add(&a->list, &buffer->attachments); in ion_dma_buf_attach() 303 list_for_each_entry(a, &buffer->attachments, list) in ion_dma_buf_begin_cpu_access() 324 list_for_each_entry(a, &buffer->attachments, list) in ion_dma_buf_end_cpu_access()
|
H A D | ion.h | 38 * @attachments: list of devices attached to this buffer 52 struct list_head attachments; member
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_amdkfd_gpuvm.c | 81 list_for_each_entry(entry, &mem->attachments, list) in kfd_mem_is_attached() 928 list_add(&attachment[i]->list, &mem->attachments); in kfd_mem_attach() 1141 list_for_each_entry(entry, &mem->attachments, list) { in reserve_bo_and_cond_vms() 1701 INIT_LIST_HEAD(&(*mem)->attachments); in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() 1863 list_for_each_entry_safe(entry, tmp, &mem->attachments, list) in amdgpu_amdkfd_gpuvm_free_memory_of_gpu() 1996 list_for_each_entry(entry, &mem->attachments, list) { in amdgpu_amdkfd_gpuvm_map_memory_to_gpu() 2068 list_for_each_entry(entry, &mem->attachments, list) { in amdgpu_amdkfd_gpuvm_unmap_memory_from_gpu() 2297 INIT_LIST_HEAD(&(*mem)->attachments); in amdgpu_amdkfd_gpuvm_import_dmabuf() 2556 list_for_each_entry(attachment, &mem->attachments, list) { in validate_invalid_user_pages() 2813 list_for_each_entry(attachment, &mem->attachments, lis in amdgpu_amdkfd_gpuvm_restore_process_bos() [all...] |
H A D | amdgpu_amdkfd.h | 72 struct list_head attachments; member
|
H A D | amdgpu_cs.c | 798 list_empty(&bo->tbo.base.dma_buf->attachments))) { in amdgpu_cs_bo_validate()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | dma-buf.h | 40 * attachment. This avoids creating mappings for attachments multiple 132 * choose to scan through the list of attachments for this buffer, 276 * @attachments: list of dma_buf_attachment that denotes all devices attached, 313 struct list_head attachments; member
|
/kernel/linux/linux-6.6/drivers/dma-buf/ |
H A D | dma-buf.c | 85 WARN_ON(!list_empty(&dmabuf->attachments)); in dma_buf_release() 659 INIT_LIST_HEAD(&dmabuf->attachments); in dma_buf_export() 868 * dma_buf_dynamic_attach - Add the device to dma_buf's attachments list 920 list_add(&attach->node, &dmabuf->attachments); in dma_buf_dynamic_attach() 994 * dma_buf_detach - Remove the given attachment from dmabuf's attachments list 1252 * dma_buf_move_notify - notify attachments that DMA-buf is moving 1256 * Informs all attachments that they need to destroy and recreate all their 1265 list_for_each_entry(attach, &dmabuf->attachments, node) in dma_buf_move_notify() 1646 list_for_each_entry(attach_obj, &buf_obj->attachments, node) { in dma_buf_debug_show()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | dma-buf.h | 41 * attachment. This avoids creating mappings for attachments multiple 141 * choose to scan through the list of attachments for this buffer, 319 * @attachments: 324 struct list_head attachments; member
|
/kernel/linux/linux-5.10/drivers/misc/ |
H A D | fastrpc.c | 148 /* Lock for dma buf attachments */ 150 struct list_head attachments; member 309 INIT_LIST_HEAD(&buf->attachments); in fastrpc_buf_alloc() 580 list_add(&a->node, &buffer->attachments); in fastrpc_dma_buf_attach()
|
/kernel/linux/linux-6.6/drivers/misc/ |
H A D | fastrpc.c | 201 /* Lock for dma buf attachments */ 203 struct list_head attachments; member 411 INIT_LIST_HEAD(&buf->attachments); in __fastrpc_buf_alloc() 705 list_add(&a->node, &buffer->attachments); in fastrpc_dma_buf_attach()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_cs.c | 411 list_empty(&bo->tbo.base.dma_buf->attachments))) { in amdgpu_cs_bo_validate()
|