/Linux-v5.4/drivers/gpu/drm/ |
D | drm_dma.c | 110 kfree(dma->bufs[i].buflist[j].dev_private); in drm_legacy_dma_takedown() 112 kfree(dma->bufs[i].buflist); in drm_legacy_dma_takedown() 116 kfree(dma->buflist); in drm_legacy_dma_takedown() 157 if (dma->buflist[i]->file_priv == file_priv) { in drm_legacy_reclaim_buffers() 158 switch (dma->buflist[i]->list) { in drm_legacy_reclaim_buffers() 160 drm_legacy_free_buffer(dev, dma->buflist[i]); in drm_legacy_reclaim_buffers() 163 dma->buflist[i]->list = DRM_LIST_RECLAIM; in drm_legacy_reclaim_buffers()
|
D | drm_bufs.c | 690 kfree(entry->buflist[i].dev_private); in drm_cleanup_buf_error() 692 kfree(entry->buflist); in drm_cleanup_buf_error() 790 entry->buflist = kcalloc(count, sizeof(*entry->buflist), GFP_KERNEL); in drm_legacy_addbufs_agp() 791 if (!entry->buflist) { in drm_legacy_addbufs_agp() 803 buf = &entry->buflist[entry->buf_count]; in drm_legacy_addbufs_agp() 837 temp_buflist = krealloc(dma->buflist, in drm_legacy_addbufs_agp() 839 sizeof(*dma->buflist), GFP_KERNEL); in drm_legacy_addbufs_agp() 847 dma->buflist = temp_buflist; in drm_legacy_addbufs_agp() 850 dma->buflist[i + dma->buf_count] = &entry->buflist[i]; in drm_legacy_addbufs_agp() 940 entry->buflist = kcalloc(count, sizeof(*entry->buflist), GFP_KERNEL); in drm_legacy_addbufs_pci() [all …]
|
/Linux-v5.4/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); 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 …]
|
/Linux-v5.4/drivers/gpu/drm/virtio/ |
D | virtgpu_ioctl.c | 117 struct ttm_validate_buffer *buflist = NULL; in virtio_gpu_execbuffer_ioctl() local 165 buflist = kvmalloc_array(exbuf->num_bo_handles, in virtio_gpu_execbuffer_ioctl() 168 if (!bo_handles || !buflist) { in virtio_gpu_execbuffer_ioctl() 188 buflist[i].bo = &qobj->tbo; in virtio_gpu_execbuffer_ioctl() 190 list_add(&buflist[i].head, &validate_list); in virtio_gpu_execbuffer_ioctl() 231 kvfree(buflist); in virtio_gpu_execbuffer_ioctl() 242 kvfree(buflist); in virtio_gpu_execbuffer_ioctl()
|
/Linux-v5.4/include/drm/ |
D | drm_legacy.h | 92 struct drm_buf *buflist; /**< buffer list */ member 108 struct drm_buf **buflist; /**< Vector of pointers into drm_device_dma::bufs */ member
|
/Linux-v5.4/drivers/gpu/drm/i810/ |
D | i810_dma.c | 64 struct drm_buf *buf = dma->buflist[i]; in i810_freelist_get() 231 struct drm_buf *buf = dma->buflist[i]; in i810_dma_cleanup() 299 struct drm_buf *buf = dma->buflist[i]; in i810_freelist_init() 873 struct drm_buf *buf = dma->buflist[i]; in i810_flush_queue() 899 if (!dma->buflist) in i810_driver_reclaim_buffers() 905 struct drm_buf *buf = dma->buflist[i]; in i810_driver_reclaim_buffers() 948 dma->buflist[vertex->idx], in i810_dma_vertex() 1107 i810_dma_dispatch_mc(dev, dma->buflist[mc->idx], mc->used, in i810_dma_mc()
|
/Linux-v5.4/drivers/gpu/drm/r128/ |
D | r128_cce.c | 789 buf = dma->buflist[i]; 829 buf = dma->buflist[i]; in r128_freelist_get() 839 buf = dma->buflist[i]; in r128_freelist_get() 862 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-v5.4/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() 1807 INIT_LIST_HEAD(&cxdev->buflist); in cxusb_medion_register_analog()
|
/Linux-v5.4/drivers/gpu/drm/savage/ |
D | savage_bci.c | 233 buf = dma->buflist[i]; in savage_freelist_init() 761 if (dev->dma && dev->dma->buflist) { in savage_do_init_bci() 1058 if (!dma->buflist) in savage_reclaim_buffers() 1067 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-v5.4/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() 961 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-v5.4/drivers/scsi/lpfc/ |
D | lpfc_init.c | 920 LIST_HEAD(buflist); in lpfc_hba_free_post_buf() 929 list_splice_init(&pring->postbufq, &buflist); in lpfc_hba_free_post_buf() 933 list_for_each_entry_safe(mp, next_mp, &buflist, list) { in lpfc_hba_free_post_buf()
|