Searched refs:buflist (Results 1 – 6 of 6) sorted by relevance
/gfx-drm/usr/src/uts/common/io/drm/ |
H A D | drm_dma.c | 101 if (dma->bufs[i].buflist[j].dev_private) { in drm_dma_takedown() 102 kfree(dma->bufs[i].buflist[j].dev_private, in drm_dma_takedown() 103 dma->bufs[i].buflist[j].dev_priv_size); in drm_dma_takedown() 106 kfree(dma->bufs[i].buflist, in drm_dma_takedown() 107 dma->bufs[i].buf_count * sizeof(*dma->bufs[0].buflist)); in drm_dma_takedown() 111 if (dma->buflist) in drm_dma_takedown() 112 kfree(dma->buflist, dma->buf_count * sizeof(*dma->buflist)); in drm_dma_takedown() 156 if (dma->buflist[i]->file_priv == file_priv) { in drm_core_reclaim_buffers() 157 switch (dma->buflist[i]->list) { in drm_core_reclaim_buffers() 159 drm_free_buffer(dev, dma->buflist[i]); in drm_core_reclaim_buffers() [all …]
|
H A D | drm_bufs.c | 520 kfree(entry->buflist, entry->buf_count * sizeof (*entry->buflist)); in drm_cleanup_buf_error() 603 entry->buflist = kmalloc(count * sizeof(*entry->buflist), GFP_KERNEL); in drm_addbufs_agp() 604 if (!entry->buflist) { in drm_addbufs_agp() 609 (void) memset(entry->buflist, 0, count * sizeof(*entry->buflist)); in drm_addbufs_agp() 663 kmem_free(dma->buflist, dma->buf_count *sizeof (*dma->buflist)); in drm_addbufs_agp() 667 dma->buflist[i + dma->buf_count] = &entry->buflist[i]; in drm_addbufs_agp() 760 entry->buflist = kmalloc(count * sizeof(*entry->buflist), in drm_addbufs_sg() 762 if (!entry->buflist) { in drm_addbufs_sg() 767 (void) memset(entry->buflist, 0, count * sizeof(*entry->buflist)); in drm_addbufs_sg() 824 dma->buflist[i + dma->buf_count] = &entry->buflist[i]; in drm_addbufs_sg() [all …]
|
/gfx-drm/usr/src/uts/intel/io/radeon/ |
H A D | radeon_cp.c | 2094 buf = dma->buflist[i]; in radeon_freelist_get() 2135 buf = dma->buflist[i]; 2160 drm_buf_t *buf = dma->buflist[i]; in radeon_freelist_reset()
|
H A D | radeon_state.c | 2377 buf = dma->buflist[vertex.idx]; in radeon_cp_vertex() 2465 buf = dma->buflist[elts.idx]; in radeon_cp_indices() 2651 buf = dma->buflist[indirect.idx]; in radeon_cp_indirect() 2752 buf = dma->buflist[vertex.idx]; in radeon_cp_vertex2() 3179 buf = dma->buflist[idx]; in radeon_cp_cmdbuf()
|
H A D | r300_cmdbuf.c | 917 buf = dma->buflist[idx]; in r300_do_cp_cmdbuf()
|
/gfx-drm/usr/src/uts/common/drm/ |
H A D | drmP.h | 513 drm_buf_t *buflist; member 682 struct drm_buf **buflist; /**< Vector of pointers into drm_device_dma::bufs */ member
|