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.c76 list_for_each_entry(entry, &mem->attachments, list) in kfd_mem_is_attached()
906 list_add(&attachment[i]->list, &mem->attachments); in kfd_mem_attach()
1140 list_for_each_entry(entry, &mem->attachments, list) { in reserve_bo_and_cond_vms()
1162 list_for_each_entry(entry, &mem->attachments, list) { in reserve_bo_and_cond_vms()
1698 INIT_LIST_HEAD(&(*mem)->attachments); in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
1854 list_for_each_entry_safe(entry, tmp, &mem->attachments, list) in amdgpu_amdkfd_gpuvm_free_memory_of_gpu()
1984 list_for_each_entry(entry, &mem->attachments, list) { in amdgpu_amdkfd_gpuvm_map_memory_to_gpu()
2056 list_for_each_entry(entry, &mem->attachments, list) { in amdgpu_amdkfd_gpuvm_unmap_memory_from_gpu()
2288 INIT_LIST_HEAD(&(*mem)->attachments); in amdgpu_amdkfd_gpuvm_import_dmabuf()
2522 list_for_each_entry(attachment, &mem->attachments, list) { in validate_invalid_user_pages()
[all …]
Damdgpu_amdkfd.h68 struct list_head attachments; member
Damdgpu_cs.c770 list_empty(&bo->tbo.base.dma_buf->attachments))) { in amdgpu_cs_bo_validate()
/drivers/dma-buf/
Ddma-buf.c116 WARN_ON(!list_empty(&dmabuf->attachments)); in dma_buf_release()
721 INIT_LIST_HEAD(&dmabuf->attachments); in dma_buf_export()
924 list_add(&attach->node, &dmabuf->attachments); in dma_buf_dynamic_attach()
1279 list_for_each_entry(attach, &dmabuf->attachments, node) in dma_buf_move_notify()
1671 list_for_each_entry(attach_obj, &buf_obj->attachments, node) { in dma_buf_debug_show()
/drivers/misc/
Dfastrpc.c187 struct list_head attachments; member
390 INIT_LIST_HEAD(&buf->attachments); in fastrpc_buf_alloc()
661 list_add(&a->node, &buffer->attachments); in fastrpc_dma_buf_attach()