Home
last modified time | relevance | path

Searched refs:pg_count (Results 1 – 8 of 8) sorted by relevance

/linux-2.4.37.9/include/linux/
Dagpgart.h81 size_t pg_count; /* number of pages */ member
93 size_t pg_count; /* number of pages */ member
147 size_t pg_count; /* number of pages */ member
153 size_t pg_count; member
165 size_t pg_count; /* number of pages */ member
/linux-2.4.37.9/arch/alpha/kernel/
Dpci_iommu.c798 iommu_reserve(struct pci_iommu_arena *arena, long pg_count, long align_mask) in iommu_reserve() argument
810 p = iommu_arena_find_pages(arena, pg_count, align_mask); in iommu_reserve()
819 for (i = 0; i < pg_count; ++i) in iommu_reserve()
822 arena->next_entry = p + pg_count; in iommu_reserve()
829 iommu_release(struct pci_iommu_arena *arena, long pg_start, long pg_count) in iommu_release() argument
839 for(i = pg_start; i < pg_start + pg_count; i++) in iommu_release()
843 iommu_arena_free(arena, pg_start, pg_count); in iommu_release()
848 iommu_bind(struct pci_iommu_arena *arena, long pg_start, long pg_count, in iommu_bind() argument
861 for(j = pg_start; j < pg_start + pg_count; j++) { in iommu_bind()
868 for(i = 0, j = pg_start; i < pg_count; i++, j++) in iommu_bind()
[all …]
Dcore_titan.c613 long pg_count; member
629 aper->pg_count = alpha_agpgart_size / PAGE_SIZE; in titan_agp_setup()
630 aper->pg_start = iommu_reserve(aper->arena, aper->pg_count, in titan_agp_setup()
631 aper->pg_count - 1); in titan_agp_setup()
640 agp->aperture.size = aper->pg_count * PAGE_SIZE; in titan_agp_setup()
652 status = iommu_release(aper->arena, aper->pg_start, aper->pg_count); in titan_agp_cleanup()
656 iommu_unbind(aper->arena, aper->pg_start, aper->pg_count); in titan_agp_cleanup()
658 aper->pg_count); in titan_agp_cleanup()
Dcore_marvel.c883 long pg_count; member
898 aper->pg_count = alpha_agpgart_size / PAGE_SIZE; in marvel_agp_setup()
899 aper->pg_start = iommu_reserve(aper->arena, aper->pg_count, in marvel_agp_setup()
900 aper->pg_count - 1); in marvel_agp_setup()
910 agp->aperture.size = aper->pg_count * PAGE_SIZE; in marvel_agp_setup()
922 status = iommu_release(aper->arena, aper->pg_start, aper->pg_count); in marvel_agp_cleanup()
926 iommu_unbind(aper->arena, aper->pg_start, aper->pg_count); in marvel_agp_cleanup()
928 aper->pg_count); in marvel_agp_cleanup()
/linux-2.4.37.9/drivers/char/agp/
Dagpgart_fe.c111 int num_segments, pg_start, pg_count, i; in agp_find_seg_in_client() local
114 pg_count = size / 4096; in agp_find_seg_in_client()
120 (seg[i].pg_count == pg_count) && in agp_find_seg_in_client()
202 seg[i].pg_count = user_seg[i].pg_count; in agp_create_segment()
299 static agp_memory *agp_allocate_memory_wrap(size_t pg_count, u32 type) in agp_allocate_memory_wrap() argument
303 memory = agp_allocate_memory(pg_count, type); in agp_allocate_memory_wrap()
928 memory = agp_allocate_memory_wrap(alloc.pg_count, alloc.type); in agpioc_allocate_wrap()
Dagpgart_be.c1045 static agp_memory *intel_i810_alloc_by_type(size_t pg_count, int type) in intel_i810_alloc_by_type() argument
1050 if (pg_count != intel_i810_private.num_dcache_entries) { in intel_i810_alloc_by_type()
1059 new->page_count = pg_count; in intel_i810_alloc_by_type()
1073 if (pg_count != 1 && pg_count != 4) return(NULL); in intel_i810_alloc_by_type()
1075 new = agp_create_memory(pg_count); in intel_i810_alloc_by_type()
1080 if (pg_count == 1) in intel_i810_alloc_by_type()
1098 if (pg_count == 4) { in intel_i810_alloc_by_type()
1104 new->page_count = pg_count; in intel_i810_alloc_by_type()
1105 new->num_scratch_pages = pg_count; in intel_i810_alloc_by_type()
1494 static agp_memory *intel_i830_alloc_by_type(size_t pg_count,int type) in intel_i830_alloc_by_type() argument
[all …]
/linux-2.4.37.9/arch/ppc64/kernel/
Dpmc.c216 unsigned long pa, pg_count, page, vsid, slot, va, rpn, vpn; in btmalloc() local
231 pg_count = (size >> PAGE_SHIFT); in btmalloc()
234 for(page = 0; page < pg_count; page++) { in btmalloc()
/linux-2.4.37.9/fs/xfs/linux-2.4/
Dxfs_aops.c1247 int pg_count; in linvfs_direct_IO() local
1249 pg_count = (size + page_offset + PAGE_CACHE_SIZE - 1) in linvfs_direct_IO()
1259 pb->pb_page_count = pg_count; in linvfs_direct_IO()
1276 pg_count--; in linvfs_direct_IO()
1277 pg_index += pg_count; in linvfs_direct_IO()