Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/
Ddrm_dma.c110 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()
158 if (dma->buflist[i]->file_priv == file_priv) { in drm_legacy_reclaim_buffers()
159 switch (dma->buflist[i]->list) { in drm_legacy_reclaim_buffers()
161 drm_legacy_free_buffer(dev, dma->buflist[i]); in drm_legacy_reclaim_buffers()
164 dma->buflist[i]->list = DRM_LIST_RECLAIM; in drm_legacy_reclaim_buffers()
Ddrm_bufs.c691 kfree(entry->buflist[i].dev_private); in drm_cleanup_buf_error()
693 kfree(entry->buflist); in drm_cleanup_buf_error()
791 entry->buflist = kcalloc(count, sizeof(*entry->buflist), GFP_KERNEL); in drm_legacy_addbufs_agp()
792 if (!entry->buflist) { in drm_legacy_addbufs_agp()
804 buf = &entry->buflist[entry->buf_count]; in drm_legacy_addbufs_agp()
838 temp_buflist = krealloc(dma->buflist, in drm_legacy_addbufs_agp()
840 sizeof(*dma->buflist), GFP_KERNEL); in drm_legacy_addbufs_agp()
848 dma->buflist = temp_buflist; in drm_legacy_addbufs_agp()
851 dma->buflist[i + dma->buf_count] = &entry->buflist[i]; in drm_legacy_addbufs_agp()
941 entry->buflist = kcalloc(count, sizeof(*entry->buflist), GFP_KERNEL); in drm_legacy_addbufs_pci()
[all …]
/Linux-v5.10/drivers/gpu/drm/virtio/
Dvirtgpu_ioctl.c83 struct virtio_gpu_object_array *buflist = NULL; in virtio_gpu_execbuffer_ioctl() local
140 buflist = virtio_gpu_array_from_handles(file, bo_handles, in virtio_gpu_execbuffer_ioctl()
142 if (!buflist) { in virtio_gpu_execbuffer_ioctl()
156 if (buflist) { in virtio_gpu_execbuffer_ioctl()
157 ret = virtio_gpu_array_lock_resv(buflist); in virtio_gpu_execbuffer_ioctl()
181 vfpriv->ctx_id, buflist, out_fence); in virtio_gpu_execbuffer_ioctl()
187 if (buflist) in virtio_gpu_execbuffer_ioctl()
188 virtio_gpu_array_unlock_resv(buflist); in virtio_gpu_execbuffer_ioctl()
193 if (buflist) in virtio_gpu_execbuffer_ioctl()
194 virtio_gpu_array_put_free(buflist); in virtio_gpu_execbuffer_ioctl()
/Linux-v5.10/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);
787 struct buflist *buflist; in mptctl_do_fw_download() local
788 struct buflist *bl; in mptctl_do_fw_download()
862 &numfrags, &buflist, &sgl_dma, iocp)) == NULL) in mptctl_do_fw_download()
893 bl = buflist; in mptctl_do_fw_download()
959 kfree_sgl(sgl, sgl_dma, buflist, iocp); in mptctl_do_fw_download()
988 kfree_sgl(sgl, sgl_dma, buflist, iocp); in mptctl_do_fw_download()
1009 struct buflist **blp, dma_addr_t *sglbuf_dma, MPT_ADAPTER *ioc) in kbuf_alloc_2_sgl()
[all …]
/Linux-v5.10/include/drm/
Ddrm_legacy.h94 struct drm_buf *buflist; /**< buffer list */ member
110 struct drm_buf **buflist; /**< Vector of pointers into drm_device_dma::bufs */ member
/Linux-v5.10/drivers/gpu/drm/i810/
Di810_dma.c64 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.10/drivers/gpu/drm/r128/
Dr128_cce.c789 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()
Dr128_state.c829 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.10/drivers/media/usb/dvb-usb/
Dcxusb.h148 struct list_head buflist; member
Dcxusb-analog.c456 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-v5.10/drivers/gpu/drm/savage/
Dsavage_bci.c233 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()
Dsavage_state.c984 if (dma && dma->buflist) { in savage_bci_cmdbuf()
991 dmabuf = dma->buflist[cmdbuf->dma_idx]; in savage_bci_cmdbuf()
/Linux-v5.10/drivers/gpu/drm/mga/
Dmga_state.c882 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()
Dmga_dma.c260 buf = dma->buflist[i]; in mga_freelist_init()
315 buf = dma->buflist[i];
/Linux-v5.10/drivers/scsi/lpfc/
Dlpfc_init.c911 LIST_HEAD(buflist); in lpfc_hba_free_post_buf()
920 list_splice_init(&pring->postbufq, &buflist); in lpfc_hba_free_post_buf()
924 list_for_each_entry_safe(mp, next_mp, &buflist, list) { in lpfc_hba_free_post_buf()