Lines Matching refs:byte_count

697 	int byte_count;  in drm_addbufs_agp()  local
713 byte_count = 0; in drm_addbufs_agp()
782 buf->offset = (dma->byte_count + offset); in drm_addbufs_agp()
806 byte_count += PAGE_SIZE << page_order; in drm_addbufs_agp()
809 DRM_DEBUG("byte_count: %d\n", byte_count); in drm_addbufs_agp()
829 dma->page_count += byte_count >> PAGE_SHIFT; in drm_addbufs_agp()
830 dma->byte_count += byte_count; in drm_addbufs_agp()
862 int byte_count; in drm_addbufs_pci() local
949 byte_count = 0; in drm_addbufs_pci()
982 buf->offset = (dma->byte_count + byte_count + offset); in drm_addbufs_pci()
1007 byte_count += PAGE_SIZE << page_order; in drm_addbufs_pci()
1038 dma->byte_count += PAGE_SIZE * (entry->seg_count << page_order); in drm_addbufs_pci()
1067 int byte_count; in drm_addbufs_sg() local
1089 byte_count = 0; in drm_addbufs_sg()
1145 buf->offset = (dma->byte_count + offset); in drm_addbufs_sg()
1170 byte_count += PAGE_SIZE << page_order; in drm_addbufs_sg()
1173 DRM_DEBUG("byte_count: %d\n", byte_count); in drm_addbufs_sg()
1193 dma->page_count += byte_count >> PAGE_SHIFT; in drm_addbufs_sg()
1194 dma->byte_count += byte_count; in drm_addbufs_sg()
1223 int byte_count; in drm_addbufs_fb() local
1245 byte_count = 0; in drm_addbufs_fb()
1301 buf->offset = (dma->byte_count + offset); in drm_addbufs_fb()
1325 byte_count += PAGE_SIZE << page_order; in drm_addbufs_fb()
1328 DRM_DEBUG("byte_count: %d\n", byte_count); in drm_addbufs_fb()
1348 dma->page_count += byte_count >> PAGE_SHIFT; in drm_addbufs_fb()
1349 dma->byte_count += byte_count; in drm_addbufs_fb()
1639 retcode = vm_mmap(&vms->vm_map, &virtual, dma->byte_count, in drm_mapbufs()