Lines Matching refs:total
695 int total; in drm_addbufs_agp() local
710 total = PAGE_SIZE << page_order; in drm_addbufs_agp()
721 DRM_DEBUG("total: %d\n", total); in drm_addbufs_agp()
730 (agp_offset + total * count <= agp_entry->bound + agp_entry->pages * PAGE_SIZE)) { in drm_addbufs_agp()
777 buf->total = alignment; in drm_addbufs_agp()
853 int total; in drm_addbufs_pci() local
888 total = PAGE_SIZE << page_order; in drm_addbufs_pci()
974 offset + size <= total && entry->buf_count < count; in drm_addbufs_pci()
978 buf->total = alignment; in drm_addbufs_pci()
1065 int total; in drm_addbufs_sg() local
1086 total = PAGE_SIZE << page_order; in drm_addbufs_sg()
1097 DRM_DEBUG("total: %d\n", total); in drm_addbufs_sg()
1140 buf->total = alignment; in drm_addbufs_sg()
1221 int total; in drm_addbufs_fb() local
1242 total = PAGE_SIZE << page_order; in drm_addbufs_fb()
1253 DRM_DEBUG("total: %d\n", total); in drm_addbufs_fb()
1296 buf->total = alignment; in drm_addbufs_fb()
1656 if (copy_to_user(&request->list[i].total, in drm_mapbufs()
1657 &dma->buflist[i]->total, in drm_mapbufs()
1658 sizeof(request->list[0].total))) { in drm_mapbufs()