Home
last modified time | relevance | path

Searched refs:buflist (Results 1 – 12 of 12) sorted by relevance

/drivers/gpu/drm/
Ddrm_dma.c106 kfree(dma->bufs[i].buflist[j].dev_private); in drm_legacy_dma_takedown()
108 kfree(dma->bufs[i].buflist); in drm_legacy_dma_takedown()
112 kfree(dma->buflist); in drm_legacy_dma_takedown()
153 if (dma->buflist[i]->file_priv == file_priv) { in drm_legacy_reclaim_buffers()
154 switch (dma->buflist[i]->list) { in drm_legacy_reclaim_buffers()
156 drm_legacy_free_buffer(dev, dma->buflist[i]); in drm_legacy_reclaim_buffers()
159 dma->buflist[i]->list = DRM_LIST_RECLAIM; in drm_legacy_reclaim_buffers()
Ddrm_bufs.c658 kfree(entry->buflist[i].dev_private); in drm_cleanup_buf_error()
660 kfree(entry->buflist); in drm_cleanup_buf_error()
758 entry->buflist = kcalloc(count, sizeof(*entry->buflist), GFP_KERNEL); in drm_legacy_addbufs_agp()
759 if (!entry->buflist) { in drm_legacy_addbufs_agp()
771 buf = &entry->buflist[entry->buf_count]; in drm_legacy_addbufs_agp()
805 temp_buflist = krealloc(dma->buflist, in drm_legacy_addbufs_agp()
807 sizeof(*dma->buflist), GFP_KERNEL); in drm_legacy_addbufs_agp()
815 dma->buflist = temp_buflist; in drm_legacy_addbufs_agp()
818 dma->buflist[i + dma->buf_count] = &entry->buflist[i]; in drm_legacy_addbufs_agp()
908 entry->buflist = kcalloc(count, sizeof(*entry->buflist), GFP_KERNEL); in drm_legacy_addbufs_pci()
[all …]
/drivers/gpu/drm/virtio/
Dvirtgpu_ioctl.c111 struct ttm_validate_buffer *buflist = NULL; in virtio_gpu_execbuffer_ioctl() local
124 buflist = drm_calloc_large(exbuf->num_bo_handles, in virtio_gpu_execbuffer_ioctl()
126 if (!bo_handles || !buflist) { in virtio_gpu_execbuffer_ioctl()
128 drm_free_large(buflist); in virtio_gpu_execbuffer_ioctl()
137 drm_free_large(buflist); in virtio_gpu_execbuffer_ioctl()
145 drm_free_large(buflist); in virtio_gpu_execbuffer_ioctl()
150 buflist[i].bo = &qobj->tbo; in virtio_gpu_execbuffer_ioctl()
152 list_add(&buflist[i].head, &validate_list); in virtio_gpu_execbuffer_ioctl()
174 drm_free_large(buflist); in virtio_gpu_execbuffer_ioctl()
182 drm_free_large(buflist); in virtio_gpu_execbuffer_ioctl()
/drivers/message/fusion/
Dmptctl.c94 struct buflist { struct
129 struct buflist **blp, dma_addr_t *sglbuf_dma, MPT_ADAPTER *ioc);
131 struct buflist *buflist, MPT_ADAPTER *ioc);
795 struct buflist *buflist; in mptctl_do_fw_download() local
796 struct buflist *bl; in mptctl_do_fw_download()
879 &numfrags, &buflist, &sgl_dma, iocp)) == NULL) in mptctl_do_fw_download()
910 bl = buflist; in mptctl_do_fw_download()
976 kfree_sgl(sgl, sgl_dma, buflist, iocp); in mptctl_do_fw_download()
1005 kfree_sgl(sgl, sgl_dma, buflist, iocp); in mptctl_do_fw_download()
1026 struct buflist **blp, dma_addr_t *sglbuf_dma, MPT_ADAPTER *ioc) in kbuf_alloc_2_sgl()
[all …]
/drivers/gpu/drm/i810/
Di810_dma.c57 struct drm_buf *buf = dma->buflist[i]; in i810_freelist_get()
226 struct drm_buf *buf = dma->buflist[i]; in i810_dma_cleanup()
294 struct drm_buf *buf = dma->buflist[i]; in i810_freelist_init()
868 struct drm_buf *buf = dma->buflist[i]; in i810_flush_queue()
894 if (!dma->buflist) in i810_driver_reclaim_buffers()
900 struct drm_buf *buf = dma->buflist[i]; in i810_driver_reclaim_buffers()
943 dma->buflist[vertex->idx], in i810_dma_vertex()
1102 i810_dma_dispatch_mc(dev, dma->buflist[mc->idx], mc->used, in i810_dma_mc()
/drivers/gpu/drm/r128/
Dr128_cce.c781 buf = dma->buflist[i];
821 buf = dma->buflist[i]; in r128_freelist_get()
831 buf = dma->buflist[i]; in r128_freelist_get()
854 struct drm_buf *buf = dma->buflist[i]; in r128_freelist_reset()
Dr128_state.c822 buf = dma->buflist[blit->idx]; in r128_cce_dispatch_blit()
1347 buf = dma->buflist[vertex->idx]; in r128_cce_vertex()
1400 buf = dma->buflist[elts->idx]; in r128_cce_indices()
1541 buf = dma->buflist[indirect->idx]; in r128_cce_indirect()
/drivers/gpu/drm/savage/
Dsavage_bci.c224 buf = dma->buflist[i]; in savage_freelist_init()
753 if (dev->dma && dev->dma->buflist) { in savage_do_init_bci()
1050 if (!dma->buflist) in savage_reclaim_buffers()
1059 struct drm_buf *buf = dma->buflist[i]; in savage_reclaim_buffers()
Dsavage_state.c973 if (dma && dma->buflist) { in savage_bci_cmdbuf()
980 dmabuf = dma->buflist[cmdbuf->dma_idx]; in savage_bci_cmdbuf()
/drivers/gpu/drm/mga/
Dmga_state.c884 buf = dma->buflist[vertex->idx]; in mga_dma_vertex()
920 buf = dma->buflist[indices->idx]; in mga_dma_indices()
963 buf = dma->buflist[iload->idx]; in mga_dma_iload()
Dmga_dma.c260 buf = dma->buflist[i]; in mga_freelist_init()
315 buf = dma->buflist[i];
/drivers/scsi/lpfc/
Dlpfc_init.c888 LIST_HEAD(buflist); in lpfc_hba_free_post_buf()
897 list_splice_init(&pring->postbufq, &buflist); in lpfc_hba_free_post_buf()
901 list_for_each_entry_safe(mp, next_mp, &buflist, list) { in lpfc_hba_free_post_buf()