Lines Matching refs:buflist
379 if (entry->buflist[i].dev_private) {
380 drm_free(entry->buflist[i].dev_private,
381 entry->buflist[i].dev_priv_size,
385 drm_free(entry->buflist,
387 sizeof (*entry->buflist), DRM_MEM_BUFS);
388 entry->buflist = NULL;
447 entry->buflist = drm_alloc(count * sizeof (*entry->buflist),
449 if (!entry->buflist) {
458 buf = &entry->buflist[entry->buf_count];
486 (dma->buf_count + entry->buf_count) * sizeof (*dma->buflist),
496 bcopy(dma->buflist, temp_buflist,
497 dma->buf_count * sizeof (*dma->buflist));
498 kmem_free(dma->buflist, dma->buf_count * sizeof (*dma->buflist));
499 dma->buflist = temp_buflist;
502 dma->buflist[i + dma->buf_count] = &entry->buflist[i];
547 entry->buflist = drm_alloc(count * sizeof (*entry->buflist),
549 if (entry->buflist == NULL)
558 buf = &entry->buflist[entry->buf_count];
586 temp_buflist = drm_realloc(dma->buflist,
587 dma->buf_count * sizeof (*dma->buflist),
589 * sizeof (*dma->buflist), DRM_MEM_BUFS);
594 dma->buflist = temp_buflist;
597 dma->buflist[i + dma->buf_count] = &entry->buflist[i];
763 buf = dma->buflist[idx];
851 &dma->buflist[i]->idx, sizeof (list32[0].idx))) {
855 &dma->buflist[i]->total,
863 address32 = vaddr + dma->buflist[i]->offset; /* *** */
876 &dma->buflist[i]->idx, sizeof (request.list[0].idx))) {
880 &dma->buflist[i]->total, sizeof (request.list[0].total))) {
887 address = vaddr + dma->buflist[i]->offset; /* *** */