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()
297 INIT_LIST_HEAD(&buffer->attachments); in cma_heap_allocate()
Dsystem_heap.c29 struct list_head attachments; member
112 list_add(&a->list, &buffer->attachments); in system_heap_attach()
177 list_for_each_entry(a, &buffer->attachments, list) { in system_heap_dma_buf_begin_cpu_access()
200 list_for_each_entry(a, &buffer->attachments, list) { in system_heap_dma_buf_end_cpu_access()
378 INIT_LIST_HEAD(&buffer->attachments); in system_heap_do_allocate()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_gpuvm.c81 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()
1142 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()
1864 list_for_each_entry_safe(entry, tmp, &mem->attachments, list) { in amdgpu_amdkfd_gpuvm_free_memory_of_gpu()
1999 list_for_each_entry(entry, &mem->attachments, list) { in amdgpu_amdkfd_gpuvm_map_memory_to_gpu()
2055 list_for_each_entry(entry, &mem->attachments, list) { in amdgpu_amdkfd_gpuvm_dmaunmap_mem()
2102 list_for_each_entry(entry, &mem->attachments, list) { in amdgpu_amdkfd_gpuvm_unmap_memory_from_gpu()
2331 INIT_LIST_HEAD(&(*mem)->attachments); in amdgpu_amdkfd_gpuvm_import_dmabuf()
2590 list_for_each_entry(attachment, &mem->attachments, list) { in validate_invalid_user_pages()
[all …]
Damdgpu_amdkfd.h72 struct list_head attachments; member
Damdgpu_cs.c798 list_empty(&bo->tbo.base.dma_buf->attachments))) { in amdgpu_cs_bo_validate()
/drivers/dma-buf/
Ddma-buf.c115 WARN_ON(!list_empty(&dmabuf->attachments)); in dma_buf_release()
707 INIT_LIST_HEAD(&dmabuf->attachments); in dma_buf_export()
974 list_add(&attach->node, &dmabuf->attachments); in dma_buf_dynamic_attach()
1319 list_for_each_entry(attach, &dmabuf->attachments, node) in dma_buf_move_notify()
1753 list_for_each_entry(attach_obj, &buf_obj->attachments, node) { in dma_buf_debug_show()
/drivers/misc/
Dfastrpc.c203 struct list_head attachments; member
410 INIT_LIST_HEAD(&buf->attachments); in __fastrpc_buf_alloc()
704 list_add(&a->node, &buffer->attachments); in fastrpc_dma_buf_attach()