Home
last modified time | relevance | path

Searched refs:seg_count (Results 1 – 11 of 11) sorted by relevance

/linux-2.4.37.9/drivers/char/agp/
Dagpgart_fe.c191 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()
/linux-2.4.37.9/include/linux/
Dagpgart.h87 size_t seg_count; /* number of segments */ member
159 size_t seg_count; /* number of segments */ member
/linux-2.4.37.9/drivers/char/drm-4.0/
Dbufs.c247 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()
Dmga_bufs.c306 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()
Ddma.c59 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()
Dproc.c288 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()
DdrmP.h412 int seg_count; member
479 int seg_count; member
/linux-2.4.37.9/drivers/char/drm/
Ddrm_bufs.h270 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()
Ddrm_dma.h79 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()
Ddrm_proc.h311 dma->bufs[i].seg_count, in DRM()
312 dma->bufs[i].seg_count in DRM()
314 (dma->bufs[i].seg_count in DRM()
DdrmP.h459 int seg_count; member
530 int seg_count; member