Home
last modified time | relevance | path

Searched refs:attachments (Results 1 - 4 of 4) sorted by relevance

/device/soc/rockchip/common/sdk_linux/drivers/dma-buf/heaps/
H A Dsystem_heap.c32 struct list_head attachments; member
117 list_add(&a->list, &buffer->attachments); in system_heap_attach()
183 list_for_each_entry(a, &buffer->attachments, list) in system_heap_dma_buf_begin_cpu_access()
208 list_for_each_entry(a, &buffer->attachments, list) in system_heap_dma_buf_end_cpu_access()
435 INIT_LIST_HEAD(&buffer->attachments); in system_heap_do_allocate()
H A Dcma_heap.c32 struct list_head attachments; member
74 list_add(&a->list, &buffer->attachments); in cma_heap_attach()
126 list_for_each_entry(a, &buffer->attachments, list) in cma_heap_dma_buf_begin_cpu_access()
148 list_for_each_entry(a, &buffer->attachments, list) in cma_heap_dma_buf_end_cpu_access()
291 INIT_LIST_HEAD(&buffer->attachments); in cma_heap_allocate()
/device/soc/rockchip/common/sdk_linux/drivers/dma-buf/
H A Ddma-buf.c110 WARN_ON(!list_empty(&dmabuf->attachments)); in dma_buf_release()
446 if (!list_empty(&dmabuf->attachments)) { in dma_buf_set_name()
689 INIT_LIST_HEAD(&dmabuf->attachments); in dma_buf_export()
810 * dma_buf_dynamic_attach - Add the device to dma_buf's attachments list; optionally,
863 list_add(&attach->node, &dmabuf->attachments); in dma_buf_dynamic_attach()
932 * dma_buf_detach - Remove the given attachment from dmabuf's attachments list;
1096 * dma_buf_move_notify - notify attachments that DMA-buf is moving
1109 list_for_each_entry(attach, &dmabuf->attachments, node) if (attach->importer_ops) in dma_buf_move_notify()
1551 list_for_each_entry(attach_obj, &buf_obj->attachments, node) in dma_buf_debug_show()
/device/soc/rockchip/common/sdk_linux/include/linux/
H A Ddma-buf.h40 * attachment. This avoids creating mappings for attachments multiple
132 * choose to scan through the list of attachments for this buffer,
357 * @attachments: list of dma_buf_attachment that denotes all devices attached,
395 struct list_head attachments; member

Completed in 6 milliseconds