/Linux-v6.1/drivers/gpu/drm/ |
D | drm_dma.c | 116 kfree(dma->bufs[i].buflist[j].dev_private); in drm_legacy_dma_takedown() 118 kfree(dma->bufs[i].buflist); in drm_legacy_dma_takedown() 122 kfree(dma->buflist); in drm_legacy_dma_takedown() 164 if (dma->buflist[i]->file_priv == file_priv) { in drm_legacy_reclaim_buffers() 165 switch (dma->buflist[i]->list) { in drm_legacy_reclaim_buffers() 167 drm_legacy_free_buffer(dev, dma->buflist[i]); in drm_legacy_reclaim_buffers() 170 dma->buflist[i]->list = DRM_LIST_RECLAIM; in drm_legacy_reclaim_buffers()
|
D | drm_bufs.c | 698 kfree(entry->buflist[i].dev_private); in drm_cleanup_buf_error() 700 kfree(entry->buflist); in drm_cleanup_buf_error() 798 entry->buflist = kcalloc(count, sizeof(*entry->buflist), GFP_KERNEL); in drm_legacy_addbufs_agp() 799 if (!entry->buflist) { in drm_legacy_addbufs_agp() 811 buf = &entry->buflist[entry->buf_count]; in drm_legacy_addbufs_agp() 845 temp_buflist = krealloc(dma->buflist, in drm_legacy_addbufs_agp() 847 sizeof(*dma->buflist), GFP_KERNEL); in drm_legacy_addbufs_agp() 855 dma->buflist = temp_buflist; in drm_legacy_addbufs_agp() 858 dma->buflist[i + dma->buf_count] = &entry->buflist[i]; in drm_legacy_addbufs_agp() 948 entry->buflist = kcalloc(count, sizeof(*entry->buflist), GFP_KERNEL); in drm_legacy_addbufs_pci() [all …]
|
/Linux-v6.1/drivers/message/fusion/ |
D | mptctl.c | 94 struct buflist { struct 129 struct buflist **blp, dma_addr_t *sglbuf_dma, MPT_ADAPTER *ioc); 131 struct buflist *buflist, MPT_ADAPTER *ioc); 783 struct buflist *buflist; in mptctl_do_fw_download() local 784 struct buflist *bl; in mptctl_do_fw_download() 858 &numfrags, &buflist, &sgl_dma, iocp)) == NULL) in mptctl_do_fw_download() 889 bl = buflist; in mptctl_do_fw_download() 955 kfree_sgl(sgl, sgl_dma, buflist, iocp); in mptctl_do_fw_download() 984 kfree_sgl(sgl, sgl_dma, buflist, iocp); in mptctl_do_fw_download() 1005 struct buflist **blp, dma_addr_t *sglbuf_dma, MPT_ADAPTER *ioc) in kbuf_alloc_2_sgl() [all …]
|
/Linux-v6.1/drivers/gpu/drm/virtio/ |
D | virtgpu_ioctl.c | 127 struct virtio_gpu_object_array *buflist = NULL; in virtio_gpu_execbuffer_ioctl() local 200 buflist = virtio_gpu_array_from_handles(file, bo_handles, in virtio_gpu_execbuffer_ioctl() 202 if (!buflist) { in virtio_gpu_execbuffer_ioctl() 216 if (buflist) { in virtio_gpu_execbuffer_ioctl() 217 ret = virtio_gpu_array_lock_resv(buflist); in virtio_gpu_execbuffer_ioctl() 245 vfpriv->ctx_id, buflist, out_fence); in virtio_gpu_execbuffer_ioctl() 251 if (buflist) in virtio_gpu_execbuffer_ioctl() 252 virtio_gpu_array_unlock_resv(buflist); in virtio_gpu_execbuffer_ioctl() 257 if (buflist) in virtio_gpu_execbuffer_ioctl() 258 virtio_gpu_array_put_free(buflist); in virtio_gpu_execbuffer_ioctl()
|
/Linux-v6.1/include/drm/ |
D | drm_legacy.h | 109 struct drm_buf *buflist; /**< buffer list */ member 125 struct drm_buf **buflist; /**< Vector of pointers into drm_device_dma::bufs */ member
|
/Linux-v6.1/drivers/gpu/drm/i810/ |
D | i810_dma.c | 62 struct drm_buf *buf = dma->buflist[i]; in i810_freelist_get() 229 struct drm_buf *buf = dma->buflist[i]; in i810_dma_cleanup() 297 struct drm_buf *buf = dma->buflist[i]; in i810_freelist_init() 871 struct drm_buf *buf = dma->buflist[i]; in i810_flush_queue() 897 if (!dma->buflist) in i810_driver_reclaim_buffers() 903 struct drm_buf *buf = dma->buflist[i]; in i810_driver_reclaim_buffers() 946 dma->buflist[vertex->idx], in i810_dma_vertex() 1105 i810_dma_dispatch_mc(dev, dma->buflist[mc->idx], mc->used, in i810_dma_mc()
|
/Linux-v6.1/drivers/gpu/drm/r128/ |
D | r128_cce.c | 788 buf = dma->buflist[i]; 828 buf = dma->buflist[i]; in r128_freelist_get() 838 buf = dma->buflist[i]; in r128_freelist_get() 861 struct drm_buf *buf = dma->buflist[i]; in r128_freelist_reset()
|
D | r128_state.c | 829 buf = dma->buflist[blit->idx]; in r128_cce_dispatch_blit() 1343 buf = dma->buflist[vertex->idx]; in r128_cce_vertex() 1396 buf = dma->buflist[elts->idx]; in r128_cce_indices() 1537 buf = dma->buflist[indirect->idx]; in r128_cce_indirect()
|
/Linux-v6.1/drivers/media/usb/dvb-usb/ |
D | cxusb.h | 148 struct list_head buflist; member
|
D | cxusb-analog.c | 456 if (!list_empty(&cxdev->buflist)) { in cxusb_medion_v_process_auxbuf() 458 list_first_entry(&cxdev->buflist, in cxusb_medion_v_process_auxbuf() 669 list_for_each_entry_safe(vbuf, vbuf_tmp, &cxdev->buflist, in cxusb_medion_return_buffers() 950 list_add_tail(&vbuf->list, &cxdev->buflist); in cxusub_medion_v_buf_queue() 1800 INIT_LIST_HEAD(&cxdev->buflist); in cxusb_medion_register_analog()
|
/Linux-v6.1/drivers/gpu/drm/savage/ |
D | savage_bci.c | 233 buf = dma->buflist[i]; in savage_freelist_init() 752 if (dev->dma && dev->dma->buflist) { in savage_do_init_bci() 1049 if (!dma->buflist) in savage_reclaim_buffers() 1058 struct drm_buf *buf = dma->buflist[i]; in savage_reclaim_buffers()
|
D | savage_state.c | 984 if (dma && dma->buflist) { in savage_bci_cmdbuf() 991 dmabuf = dma->buflist[cmdbuf->dma_idx]; in savage_bci_cmdbuf()
|
/Linux-v6.1/drivers/gpu/drm/mga/ |
D | mga_state.c | 882 buf = dma->buflist[vertex->idx]; in mga_dma_vertex() 918 buf = dma->buflist[indices->idx]; in mga_dma_indices() 960 buf = dma->buflist[iload->idx]; in mga_dma_iload()
|
D | mga_dma.c | 260 buf = dma->buflist[i]; in mga_freelist_init() 315 buf = dma->buflist[i];
|
/Linux-v6.1/drivers/scsi/lpfc/ |
D | lpfc_init.c | 968 LIST_HEAD(buflist); in lpfc_hba_free_post_buf() 977 list_splice_init(&pring->postbufq, &buflist); in lpfc_hba_free_post_buf() 981 list_for_each_entry_safe(mp, next_mp, &buflist, list) { in lpfc_hba_free_post_buf()
|