Lines Matching refs:buflist

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()
941 if (!entry->buflist) { in drm_legacy_addbufs_pci()
949 kfree(entry->buflist); in drm_legacy_addbufs_pci()
962 kfree(entry->buflist); in drm_legacy_addbufs_pci()
1003 buf = &entry->buflist[entry->buf_count]; in drm_legacy_addbufs_pci()
1036 temp_buflist = krealloc(dma->buflist, in drm_legacy_addbufs_pci()
1038 sizeof(*dma->buflist), GFP_KERNEL); in drm_legacy_addbufs_pci()
1047 dma->buflist = temp_buflist; in drm_legacy_addbufs_pci()
1050 dma->buflist[i + dma->buf_count] = &entry->buflist[i]; in drm_legacy_addbufs_pci()
1152 entry->buflist = kcalloc(count, sizeof(*entry->buflist), GFP_KERNEL); in drm_legacy_addbufs_sg()
1153 if (!entry->buflist) { in drm_legacy_addbufs_sg()
1165 buf = &entry->buflist[entry->buf_count]; in drm_legacy_addbufs_sg()
1200 temp_buflist = krealloc(dma->buflist, in drm_legacy_addbufs_sg()
1202 sizeof(*dma->buflist), GFP_KERNEL); in drm_legacy_addbufs_sg()
1210 dma->buflist = temp_buflist; in drm_legacy_addbufs_sg()
1213 dma->buflist[i + dma->buf_count] = &entry->buflist[i]; in drm_legacy_addbufs_sg()
1456 buf = dma->buflist[idx]; in drm_legacy_freebufs()
1538 if (f(data, i, virtual, dma->buflist[i]) < 0) { in __drm_legacy_mapbufs()