Home
last modified time | relevance | path

Searched refs:attachments (Results 1 – 7 of 7) sorted by relevance

/drivers/dma-buf/heaps/
Dcma_heap.c33 struct list_head attachments; member
77 list_add(&a->list, &buffer->attachments); in cma_heap_attach()
134 list_for_each_entry(a, &buffer->attachments, list) { in cma_heap_dma_buf_begin_cpu_access()
155 list_for_each_entry(a, &buffer->attachments, list) { in cma_heap_dma_buf_end_cpu_access()
298 INIT_LIST_HEAD(&buffer->attachments); in cma_heap_allocate()
Dsystem_heap.c31 struct list_head attachments; member
116 list_add(&a->list, &buffer->attachments); in system_heap_attach()
181 list_for_each_entry(a, &buffer->attachments, list) { in system_heap_dma_buf_begin_cpu_access()
204 list_for_each_entry(a, &buffer->attachments, list) { in system_heap_dma_buf_end_cpu_access()
406 INIT_LIST_HEAD(&buffer->attachments); in system_heap_do_allocate()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_gpuvm.c74 list_for_each_entry(entry, &mem->attachments, list) in kfd_mem_is_attached()
748 list_add(&attachment[i]->list, &mem->attachments); in kfd_mem_attach()
966 list_for_each_entry(entry, &mem->attachments, list) { in reserve_bo_and_cond_vms()
988 list_for_each_entry(entry, &mem->attachments, list) { in reserve_bo_and_cond_vms()
1433 INIT_LIST_HEAD(&(*mem)->attachments); in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
1570 list_for_each_entry_safe(entry, tmp, &mem->attachments, list) in amdgpu_amdkfd_gpuvm_free_memory_of_gpu()
1688 list_for_each_entry(entry, &mem->attachments, list) { in amdgpu_amdkfd_gpuvm_map_memory_to_gpu()
1766 list_for_each_entry(entry, &mem->attachments, list) { in amdgpu_amdkfd_gpuvm_unmap_memory_from_gpu()
1923 INIT_LIST_HEAD(&(*mem)->attachments); in amdgpu_amdkfd_gpuvm_import_dmabuf()
2143 list_for_each_entry(attachment, &mem->attachments, list) { in validate_invalid_user_pages()
[all …]
Damdgpu_amdkfd.h67 struct list_head attachments; member
Damdgpu_cs.c409 list_empty(&bo->tbo.base.dma_buf->attachments))) { in amdgpu_cs_bo_validate()
/drivers/dma-buf/
Ddma-buf.c107 WARN_ON(!list_empty(&dmabuf->attachments)); in dma_buf_release()
355 if (!list_empty(&dmabuf->attachments)) { in _dma_buf_set_name()
643 INIT_LIST_HEAD(&dmabuf->attachments); in dma_buf_export()
821 list_add(&attach->node, &dmabuf->attachments); in dma_buf_dynamic_attach()
1123 list_for_each_entry(attach, &dmabuf->attachments, node) in dma_buf_move_notify()
1578 list_for_each_entry(attach_obj, &buf_obj->attachments, node) { in dma_buf_debug_show()
/drivers/misc/
Dfastrpc.c150 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()