Lines Matching refs:byte_count

699 	int byte_count;  in drm_addbufs_agp()  local
715 byte_count = 0; in drm_addbufs_agp()
784 buf->offset = (dma->byte_count + offset); in drm_addbufs_agp()
808 byte_count += PAGE_SIZE << page_order; in drm_addbufs_agp()
811 DRM_DEBUG("byte_count: %d\n", byte_count); in drm_addbufs_agp()
831 dma->page_count += byte_count >> PAGE_SHIFT; in drm_addbufs_agp()
832 dma->byte_count += byte_count; in drm_addbufs_agp()
864 int byte_count; in drm_addbufs_pci() local
951 byte_count = 0; in drm_addbufs_pci()
984 buf->offset = (dma->byte_count + byte_count + offset); in drm_addbufs_pci()
1009 byte_count += PAGE_SIZE << page_order; in drm_addbufs_pci()
1040 dma->byte_count += PAGE_SIZE * (entry->seg_count << page_order); in drm_addbufs_pci()
1069 int byte_count; in drm_addbufs_sg() local
1091 byte_count = 0; in drm_addbufs_sg()
1147 buf->offset = (dma->byte_count + offset); in drm_addbufs_sg()
1172 byte_count += PAGE_SIZE << page_order; in drm_addbufs_sg()
1175 DRM_DEBUG("byte_count: %d\n", byte_count); in drm_addbufs_sg()
1195 dma->page_count += byte_count >> PAGE_SHIFT; in drm_addbufs_sg()
1196 dma->byte_count += byte_count; in drm_addbufs_sg()
1225 int byte_count; in drm_addbufs_fb() local
1247 byte_count = 0; in drm_addbufs_fb()
1303 buf->offset = (dma->byte_count + offset); in drm_addbufs_fb()
1327 byte_count += PAGE_SIZE << page_order; in drm_addbufs_fb()
1330 DRM_DEBUG("byte_count: %d\n", byte_count); in drm_addbufs_fb()
1350 dma->page_count += byte_count >> PAGE_SHIFT; in drm_addbufs_fb()
1351 dma->byte_count += byte_count; in drm_addbufs_fb()
1641 retcode = vm_mmap(&vms->vm_map, &virtual, dma->byte_count, in drm_mapbufs()