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

/linux-master/drivers/dma-buf/heaps/
H A Dsystem_heap.c28 struct list_head attachments; member in struct:system_heap_buffer
107 list_add(&a->list, &buffer->attachments);
164 list_for_each_entry(a, &buffer->attachments, list) {
185 list_for_each_entry(a, &buffer->attachments, list) {
354 INIT_LIST_HEAD(&buffer->attachments);
H A Dcma_heap.c33 struct list_head attachments; member in struct:cma_heap_buffer
77 list_add(&a->list, &buffer->attachments);
132 list_for_each_entry(a, &buffer->attachments, list) {
153 list_for_each_entry(a, &buffer->attachments, list) {
295 INIT_LIST_HEAD(&buffer->attachments);
/linux-master/include/linux/
H A Ddma-buf.h41 * 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 in struct:dma_buf
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_amdkfd_gpuvm.c83 list_for_each_entry(entry, &mem->attachments, list)
979 list_add(&attachment[i]->list, &mem->attachments);
1194 list_for_each_entry(entry, &mem->attachments, list) {
1755 INIT_LIST_HEAD(&(*mem)->attachments);
1929 list_for_each_entry_safe(entry, tmp, &mem->attachments, list) {
2054 list_for_each_entry(entry, &mem->attachments, list) {
2106 list_for_each_entry(entry, &mem->attachments, list) {
2152 list_for_each_entry(entry, &mem->attachments, list) {
2363 INIT_LIST_HEAD(&(*mem)->attachments);
2668 list_for_each_entry(attachment, &mem->attachments, lis
[all...]
H A Damdgpu_amdkfd.h73 struct list_head attachments; member in struct:kgd_mem
H A Damdgpu_cs.c798 list_empty(&bo->tbo.base.dma_buf->attachments))) {
/linux-master/drivers/dma-buf/
H A Ddma-buf.c84 WARN_ON(!list_empty(&dmabuf->attachments));
658 INIT_LIST_HEAD(&dmabuf->attachments);
867 * dma_buf_dynamic_attach - Add the device to dma_buf's attachments list
919 list_add(&attach->node, &dmabuf->attachments);
993 * dma_buf_detach - Remove the given attachment from dmabuf's attachments list
1251 * dma_buf_move_notify - notify attachments that DMA-buf is moving
1255 * Informs all attachments that they need to destroy and recreate all their
1264 list_for_each_entry(attach, &dmabuf->attachments, node)
1645 list_for_each_entry(attach_obj, &buf_obj->attachments, node) {
/linux-master/drivers/misc/
H A Dfastrpc.c201 /* Lock for dma buf attachments */
203 struct list_head attachments; member in struct:fastrpc_buf
410 INIT_LIST_HEAD(&buf->attachments);
704 list_add(&a->node, &buffer->attachments);

Completed in 153 milliseconds