Searched refs:seg_count (Results 1 – 11 of 11) sorted by relevance
191 seg = kmalloc((sizeof(agp_segment_priv) * region->seg_count), in agp_create_segment()197 memset(seg, 0, (sizeof(agp_segment_priv) * region->seg_count)); in agp_create_segment()200 for (i = 0; i < region->seg_count; i++) { in agp_create_segment()213 agp_add_seg_to_client(client, ret_seg, region->seg_count); in agp_create_segment()850 if ((unsigned) reserve.seg_count >= ~0U/sizeof(agp_segment)) in agpioc_reserve_wrap()855 if (reserve.seg_count == 0) { in agpioc_reserve_wrap()873 if (reserve.seg_count >= 16384) in agpioc_reserve_wrap()876 segment = kmalloc((sizeof(agp_segment) * reserve.seg_count), in agpioc_reserve_wrap()883 sizeof(agp_segment) * reserve.seg_count)) { in agpioc_reserve_wrap()
87 size_t seg_count; /* number of segments */ member159 size_t seg_count; /* number of segments */ member
247 entry->seglist[entry->seg_count++] = page; in drm_addbufs()291 dma->seg_count += entry->seg_count; in drm_addbufs()292 dma->page_count += entry->seg_count << page_order; in drm_addbufs()293 dma->byte_count += PAGE_SIZE * (entry->seg_count << page_order); in drm_addbufs()
306 entry->seglist[entry->seg_count++] = page; in mga_addbufs_pci()350 dma->seg_count += entry->seg_count; in mga_addbufs_pci()351 dma->page_count += entry->seg_count << page_order; in mga_addbufs_pci()352 dma->byte_count += PAGE_SIZE * (entry->seg_count << page_order); in mga_addbufs_pci()
59 if (dma->bufs[i].seg_count) { in drm_dma_takedown()64 dma->bufs[i].seg_count); in drm_dma_takedown()65 for (j = 0; j < dma->bufs[i].seg_count; j++) { in drm_dma_takedown()71 dma->bufs[i].seg_count in drm_dma_takedown()
288 dma->bufs[i].seg_count, in _drm_bufs_info()289 dma->bufs[i].seg_count in _drm_bufs_info()291 (dma->bufs[i].seg_count in _drm_bufs_info()
412 int seg_count; member479 int seg_count; member
270 if (entry->seg_count) { in DRM()271 for (i = 0; i < entry->seg_count; i++) { in DRM()277 entry->seg_count * in DRM()281 entry->seg_count = 0; in DRM()597 entry->seglist[entry->seg_count++] = page; in DRM()651 dma->seg_count += entry->seg_count; in DRM()652 dma->page_count += entry->seg_count << page_order; in DRM()653 dma->byte_count += PAGE_SIZE * (entry->seg_count << page_order); in DRM()
79 if (dma->bufs[i].seg_count) { in DRM()84 dma->bufs[i].seg_count); in DRM()85 for (j = 0; j < dma->bufs[i].seg_count; j++) { in DRM()91 dma->bufs[i].seg_count in DRM()
311 dma->bufs[i].seg_count, in DRM()312 dma->bufs[i].seg_count in DRM()314 (dma->bufs[i].seg_count in DRM()
459 int seg_count; member530 int seg_count; member