Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/
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()
Ddrm_bufs.c694 kfree(entry->buflist[i].dev_private); in drm_cleanup_buf_error()
696 kfree(entry->buflist); in drm_cleanup_buf_error()
794 entry->buflist = kcalloc(count, sizeof(*entry->buflist), GFP_KERNEL); in drm_legacy_addbufs_agp()
795 if (!entry->buflist) { in drm_legacy_addbufs_agp()
807 buf = &entry->buflist[entry->buf_count]; in drm_legacy_addbufs_agp()
841 temp_buflist = krealloc(dma->buflist, in drm_legacy_addbufs_agp()
843 sizeof(*dma->buflist), GFP_KERNEL); in drm_legacy_addbufs_agp()
851 dma->buflist = temp_buflist; in drm_legacy_addbufs_agp()
854 dma->buflist[i + dma->buf_count] = &entry->buflist[i]; in drm_legacy_addbufs_agp()
944 entry->buflist = kcalloc(count, sizeof(*entry->buflist), GFP_KERNEL); in drm_legacy_addbufs_pci()
[all …]
/Linux-v6.6/drivers/gpu/drm/virtio/
Dvirtgpu_submit.c35 struct virtio_gpu_object_array *buflist; member
317 submit->buflist = virtio_gpu_array_from_handles(submit->file, bo_handles, in virtio_gpu_init_submit_buflist()
319 if (!submit->buflist) { in virtio_gpu_init_submit_buflist()
338 if (submit->buflist) in virtio_gpu_cleanup_submit()
339 virtio_gpu_array_put_free(submit->buflist); in virtio_gpu_cleanup_submit()
354 submit->vfpriv->ctx_id, submit->buflist, in virtio_gpu_submit()
362 submit->buflist = NULL; in virtio_gpu_complete_submit()
467 if (submit->buflist) in virtio_gpu_lock_buflist()
468 return virtio_gpu_array_lock_resv(submit->buflist); in virtio_gpu_lock_buflist()
/Linux-v6.6/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);
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.6/include/drm/
Ddrm_legacy.h109 struct drm_buf *buflist; /**< buffer list */ member
125 struct drm_buf **buflist; /**< Vector of pointers into drm_device_dma::bufs */ member
/Linux-v6.6/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-v6.6/drivers/scsi/lpfc/
Dlpfc_init.c970 LIST_HEAD(buflist); in lpfc_hba_free_post_buf()
979 list_splice_init(&pring->postbufq, &buflist); in lpfc_hba_free_post_buf()
983 list_for_each_entry_safe(mp, next_mp, &buflist, list) { in lpfc_hba_free_post_buf()