Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/
A Ddrm_dma.c116 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()
A Ddrm_bufs.c700 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()
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()
949 if (!entry->buflist) { in drm_legacy_addbufs_pci()
957 kfree(entry->buflist); in drm_legacy_addbufs_pci()
1074 dma->buflist[i + dma->buf_count] = &entry->buflist[i]; in drm_legacy_addbufs_pci()
1176 entry->buflist = kcalloc(count, sizeof(*entry->buflist), GFP_KERNEL); in drm_legacy_addbufs_sg()
1177 if (!entry->buflist) { in drm_legacy_addbufs_sg()
[all …]
/linux/drivers/message/fusion/
A Dmptctl.c94 struct buflist { struct
131 struct buflist *buflist, MPT_ADAPTER *ioc);
785 struct buflist *buflist; in mptctl_do_fw_download() local
786 struct buflist *bl; in mptctl_do_fw_download()
891 bl = buflist; in mptctl_do_fw_download()
1011 struct buflist *buflist = NULL; /* kernel routine */ in kbuf_alloc_2_sgl() local
1035 if (!buflist) in kbuf_alloc_2_sgl()
1119 *blp = buflist; in kbuf_alloc_2_sgl()
1147 kfree(buflist); in kbuf_alloc_2_sgl()
1159 struct buflist *bl = buflist; in kfree_sgl()
[all …]
/linux/drivers/gpu/drm/virtio/
A Dvirtgpu_ioctl.c127 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/drivers/gpu/drm/i810/
A Di810_dma.c62 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/include/drm/
A Ddrm_legacy.h96 struct drm_buf *buflist; /**< buffer list */ member
112 struct drm_buf **buflist; /**< Vector of pointers into drm_device_dma::bufs */ member
/linux/drivers/gpu/drm/r128/
A Dr128_cce.c788 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()
A 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/drivers/media/usb/dvb-usb/
A Dcxusb.h148 struct list_head buflist; member
A 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/drivers/gpu/drm/savage/
A Dsavage_bci.c233 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()
A Dsavage_state.c984 if (dma && dma->buflist) { in savage_bci_cmdbuf()
991 dmabuf = dma->buflist[cmdbuf->dma_idx]; in savage_bci_cmdbuf()
/linux/drivers/gpu/drm/mga/
A Dmga_state.c882 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()
A Dmga_dma.c260 buf = dma->buflist[i]; in mga_freelist_init()
315 buf = dma->buflist[i];
/linux/drivers/scsi/lpfc/
A Dlpfc_init.c958 LIST_HEAD(buflist); in lpfc_hba_free_post_buf()
967 list_splice_init(&pring->postbufq, &buflist); in lpfc_hba_free_post_buf()
971 list_for_each_entry_safe(mp, next_mp, &buflist, list) { in lpfc_hba_free_post_buf()

Completed in 52 milliseconds