Lines Matching refs:byte_count
696 int byte_count; in drm_addbufs_agp() local
712 byte_count = 0; in drm_addbufs_agp()
781 buf->offset = (dma->byte_count + offset); in drm_addbufs_agp()
805 byte_count += PAGE_SIZE << page_order; in drm_addbufs_agp()
808 DRM_DEBUG("byte_count: %d\n", byte_count); in drm_addbufs_agp()
828 dma->page_count += byte_count >> PAGE_SHIFT; in drm_addbufs_agp()
829 dma->byte_count += byte_count; in drm_addbufs_agp()
861 int byte_count; in drm_addbufs_pci() local
948 byte_count = 0; in drm_addbufs_pci()
981 buf->offset = (dma->byte_count + byte_count + offset); in drm_addbufs_pci()
1006 byte_count += PAGE_SIZE << page_order; in drm_addbufs_pci()
1037 dma->byte_count += PAGE_SIZE * (entry->seg_count << page_order); in drm_addbufs_pci()
1066 int byte_count; in drm_addbufs_sg() local
1088 byte_count = 0; in drm_addbufs_sg()
1144 buf->offset = (dma->byte_count + offset); in drm_addbufs_sg()
1169 byte_count += PAGE_SIZE << page_order; in drm_addbufs_sg()
1172 DRM_DEBUG("byte_count: %d\n", byte_count); in drm_addbufs_sg()
1192 dma->page_count += byte_count >> PAGE_SHIFT; in drm_addbufs_sg()
1193 dma->byte_count += byte_count; in drm_addbufs_sg()
1222 int byte_count; in drm_addbufs_fb() local
1244 byte_count = 0; in drm_addbufs_fb()
1300 buf->offset = (dma->byte_count + offset); in drm_addbufs_fb()
1324 byte_count += PAGE_SIZE << page_order; in drm_addbufs_fb()
1327 DRM_DEBUG("byte_count: %d\n", byte_count); in drm_addbufs_fb()
1347 dma->page_count += byte_count >> PAGE_SHIFT; in drm_addbufs_fb()
1348 dma->byte_count += byte_count; in drm_addbufs_fb()
1638 retcode = vm_mmap(&vms->vm_map, &virtual, dma->byte_count, in drm_mapbufs()