Lines Matching refs:buflist

694 			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()
945 if (!entry->buflist) { in drm_legacy_addbufs_pci()
953 kfree(entry->buflist); in drm_legacy_addbufs_pci()
966 kfree(entry->buflist); in drm_legacy_addbufs_pci()
1023 buf = &entry->buflist[entry->buf_count]; in drm_legacy_addbufs_pci()
1056 temp_buflist = krealloc(dma->buflist, in drm_legacy_addbufs_pci()
1058 sizeof(*dma->buflist), GFP_KERNEL); in drm_legacy_addbufs_pci()
1067 dma->buflist = temp_buflist; in drm_legacy_addbufs_pci()
1070 dma->buflist[i + dma->buf_count] = &entry->buflist[i]; in drm_legacy_addbufs_pci()
1172 entry->buflist = kcalloc(count, sizeof(*entry->buflist), GFP_KERNEL); in drm_legacy_addbufs_sg()
1173 if (!entry->buflist) { in drm_legacy_addbufs_sg()
1185 buf = &entry->buflist[entry->buf_count]; in drm_legacy_addbufs_sg()
1220 temp_buflist = krealloc(dma->buflist, in drm_legacy_addbufs_sg()
1222 sizeof(*dma->buflist), GFP_KERNEL); in drm_legacy_addbufs_sg()
1230 dma->buflist = temp_buflist; in drm_legacy_addbufs_sg()
1233 dma->buflist[i + dma->buf_count] = &entry->buflist[i]; in drm_legacy_addbufs_sg()
1478 buf = dma->buflist[idx]; in drm_legacy_freebufs()
1560 if (f(data, i, virtual, dma->buflist[i]) < 0) { in __drm_legacy_mapbufs()