Lines Matching refs:buflist
515 if (entry->buflist[i].dev_private) {
516 kfree(entry->buflist[i].dev_private,
517 entry->buflist[i].dev_priv_size);
520 kfree(entry->buflist, entry->buf_count * sizeof (*entry->buflist));
603 entry->buflist = kmalloc(count * sizeof(*entry->buflist), GFP_KERNEL);
604 if (!entry->buflist) {
609 (void) memset(entry->buflist, 0, count * sizeof(*entry->buflist));
617 buf = &entry->buflist[entry->buf_count];
653 sizeof(*dma->buflist), GFP_KERNEL);
661 bcopy(temp_buflist, dma->buflist,
662 dma->buf_count * sizeof (*dma->buflist));
663 kmem_free(dma->buflist, dma->buf_count *sizeof (*dma->buflist));
664 dma->buflist = temp_buflist;
667 dma->buflist[i + dma->buf_count] = &entry->buflist[i];
760 entry->buflist = kmalloc(count * sizeof(*entry->buflist),
762 if (!entry->buflist) {
767 (void) memset(entry->buflist, 0, count * sizeof(*entry->buflist));
775 buf = &entry->buflist[entry->buf_count];
810 temp_buflist = drm_realloc(dma->buflist,
811 dma->buf_count * sizeof (*dma->buflist),
813 * sizeof (*dma->buflist), DRM_MEM_BUFS);
821 dma->buflist = temp_buflist;
824 dma->buflist[i + dma->buf_count] = &entry->buflist[i];
1040 buf = dma->buflist[idx];
1128 &dma->buflist[i]->idx,
1134 &dma->buflist[i]->total,
1144 address32 = virtual + dma->buflist[i]->offset; /* *** */
1155 &dma->buflist[i]->idx,
1161 &dma->buflist[i]->total,
1171 address = virtual + dma->buflist[i]->offset; /* *** */