Home
last modified time | relevance | path

Searched refs:page_order (Results 1 – 20 of 20) sorted by relevance

/linux-2.4.37.9/include/asm-s390x/
Didals.h129 size_t page_order; member
137 idal_buffer_alloc(size_t size, int page_order) in idal_buffer_alloc() argument
143 nr_chunks = (4096 << page_order) >> IDA_SIZE_LOG; in idal_buffer_alloc()
149 ib->page_order = page_order; in idal_buffer_alloc()
156 __get_free_pages(GFP_KERNEL, page_order); in idal_buffer_alloc()
163 ib->page_order); in idal_buffer_alloc()
180 nr_chunks = (4096 << ib->page_order) >> IDA_SIZE_LOG; in idal_buffer_free()
182 free_pages((unsigned long) ib->data[i], ib->page_order); in idal_buffer_free()
193 return ib->size > (4096 << ib->page_order) || in __idal_buffer_is_needed()
196 return ib->size > (4096 << ib->page_order); in __idal_buffer_is_needed()
Ddebug.h70 int page_order; member
/linux-2.4.37.9/include/asm-s390/
Didals.h129 size_t page_order; member
137 idal_buffer_alloc(size_t size, int page_order) in idal_buffer_alloc() argument
143 nr_chunks = (4096 << page_order) >> IDA_SIZE_LOG; in idal_buffer_alloc()
149 ib->page_order = page_order; in idal_buffer_alloc()
156 __get_free_pages(GFP_KERNEL, page_order); in idal_buffer_alloc()
163 ib->page_order); in idal_buffer_alloc()
180 nr_chunks = (4096 << ib->page_order) >> IDA_SIZE_LOG; in idal_buffer_free()
182 free_pages((unsigned long) ib->data[i], ib->page_order); in idal_buffer_free()
193 return ib->size > (4096 << ib->page_order) || in __idal_buffer_is_needed()
196 return ib->size > (4096 << ib->page_order); in __idal_buffer_is_needed()
Ddebug.h70 int page_order; member
/linux-2.4.37.9/drivers/char/drm-4.0/
Dmga_bufs.c53 int page_order; in mga_addbufs_agp() local
70 page_order = order - PAGE_SHIFT > 0 ? order - PAGE_SHIFT : 0; in mga_addbufs_agp()
71 total = PAGE_SIZE << page_order; in mga_addbufs_agp()
79 DRM_DEBUG("page_order: %d\n", page_order); in mga_addbufs_agp()
121 entry->page_order = page_order; in mga_addbufs_agp()
153 byte_count += PAGE_SIZE << page_order; in mga_addbufs_agp()
194 DRM_DEBUG("page_order: %d\n", page_order); in mga_addbufs_agp()
216 int page_order; in mga_addbufs_pci() local
244 page_order = order - PAGE_SHIFT > 0 ? order - PAGE_SHIFT : 0; in mga_addbufs_pci()
245 total = PAGE_SIZE << page_order; in mga_addbufs_pci()
[all …]
Dbufs.c158 int page_order; in drm_addbufs() local
186 page_order = order - PAGE_SHIFT > 0 ? order - PAGE_SHIFT : 0; in drm_addbufs()
187 total = PAGE_SIZE << page_order; in drm_addbufs()
234 (dma->page_count + (count << page_order)) in drm_addbufs()
238 dma->page_count + (count << page_order)); in drm_addbufs()
242 entry->page_order = page_order; in drm_addbufs()
246 if (!(page = drm_alloc_pages(page_order, DRM_MEM_DMA))) break; in drm_addbufs()
248 for (i = 0; i < (1 << page_order); i++) { in drm_addbufs()
279 byte_count += PAGE_SIZE << page_order; in drm_addbufs()
292 dma->page_count += entry->seg_count << page_order; in drm_addbufs()
[all …]
Dr128_bufs.c56 int page_order; in r128_addbufs_agp() local
73 page_order = order - PAGE_SHIFT > 0 ? order - PAGE_SHIFT : 0; in r128_addbufs_agp()
74 total = PAGE_SIZE << page_order; in r128_addbufs_agp()
84 DRM_DEBUG("page_order: %d\n", page_order); in r128_addbufs_agp()
126 entry->page_order = page_order; in r128_addbufs_agp()
157 byte_count += PAGE_SIZE << page_order; in r128_addbufs_agp()
Dradeon_bufs.c55 int page_order; in radeon_addbufs_agp() local
70 page_order = order - PAGE_SHIFT > 0 ? order - PAGE_SHIFT : 0; in radeon_addbufs_agp()
71 total = PAGE_SIZE << page_order; in radeon_addbufs_agp()
81 DRM_DEBUG("page_order: %d\n", page_order); in radeon_addbufs_agp()
122 entry->page_order = page_order; in radeon_addbufs_agp()
158 byte_count += PAGE_SIZE << page_order; in radeon_addbufs_agp()
Di810_bufs.c52 int page_order; in i810_addbufs_agp() local
69 page_order = order - PAGE_SHIFT > 0 ? order - PAGE_SHIFT : 0; in i810_addbufs_agp()
70 total = PAGE_SIZE << page_order; in i810_addbufs_agp()
108 entry->page_order = page_order; in i810_addbufs_agp()
139 byte_count += PAGE_SIZE << page_order; in i810_addbufs_agp()
Dproc.c290 *(1 << dma->bufs[i].page_order), in _drm_bufs_info()
292 * (1 << dma->bufs[i].page_order)) in _drm_bufs_info()
Ddma.c67 dma->bufs[i].page_order, in drm_dma_takedown()
DdrmP.h413 int page_order; member
/linux-2.4.37.9/drivers/char/drm/
Ddrm_bufs.h273 entry->page_order, in DRM()
321 int page_order; in DRM() local
339 page_order = order - PAGE_SHIFT > 0 ? order - PAGE_SHIFT : 0; in DRM()
340 total = PAGE_SIZE << page_order; in DRM()
350 DRM_DEBUG( "page_order: %d\n", page_order ); in DRM()
388 entry->page_order = page_order; in DRM()
429 byte_count += PAGE_SIZE << page_order; in DRM()
491 int page_order; in DRM() local
522 page_order = order - PAGE_SHIFT > 0 ? order - PAGE_SHIFT : 0; in DRM()
523 total = PAGE_SIZE << page_order; in DRM()
[all …]
Ddrm_proc.h313 *(1 << dma->bufs[i].page_order), in DRM()
315 * (1 << dma->bufs[i].page_order)) in DRM()
Ddrm_dma.h87 dma->bufs[i].page_order, in DRM()
DdrmP.h460 int page_order; member
/linux-2.4.37.9/arch/s390/kernel/
Ddebug.c78 static debug_info_t* debug_info_create(char *name, int page_order, int nr_areas, int buf_size);
185 static debug_info_t* debug_info_alloc(char *name, int page_order, in debug_info_alloc() argument
207 page_order); in debug_info_alloc()
211 page_order); in debug_info_alloc()
215 memset(rc->areas[i], 0, PAGE_SIZE << page_order); in debug_info_alloc()
222 rc->page_order = page_order; in debug_info_alloc()
258 db_info->page_order); in debug_info_free()
270 static debug_info_t* debug_info_create(char *name, int page_order, in debug_info_create() argument
275 rc = debug_info_alloc(name, page_order, nr_areas, buf_size); in debug_info_create()
316 rc = debug_info_alloc(in->name, in->page_order, in debug_info_copy()
[all …]
/linux-2.4.37.9/arch/s390x/kernel/
Ddebug.c78 static debug_info_t* debug_info_create(char *name, int page_order, int nr_areas, int buf_size);
185 static debug_info_t* debug_info_alloc(char *name, int page_order, in debug_info_alloc() argument
207 page_order); in debug_info_alloc()
211 page_order); in debug_info_alloc()
215 memset(rc->areas[i], 0, PAGE_SIZE << page_order); in debug_info_alloc()
222 rc->page_order = page_order; in debug_info_alloc()
258 db_info->page_order); in debug_info_free()
270 static debug_info_t* debug_info_create(char *name, int page_order, in debug_info_create() argument
275 rc = debug_info_alloc(name, page_order, nr_areas, buf_size); in debug_info_create()
316 rc = debug_info_alloc(in->name, in->page_order, in debug_info_copy()
[all …]
/linux-2.4.37.9/drivers/char/agp/
Dagp.h49 int page_order; member
56 int page_order; member
63 int page_order; member
76 int page_order; member
Dagpgart_be.c499 int page_order; in agp_generic_create_gatt_table() local
514 size = page_order = num_entries = 0; in agp_generic_create_gatt_table()
521 page_order = in agp_generic_create_gatt_table()
522 A_SIZE_8(temp)->page_order; in agp_generic_create_gatt_table()
528 page_order = A_SIZE_16(temp)->page_order; in agp_generic_create_gatt_table()
533 page_order = A_SIZE_32(temp)->page_order; in agp_generic_create_gatt_table()
540 size = page_order = num_entries = 0; in agp_generic_create_gatt_table()
545 page_order); in agp_generic_create_gatt_table()
577 page_order = ((aper_size_info_fixed *) temp)->page_order; in agp_generic_create_gatt_table()
579 table = (char *) __get_free_pages(GFP_KERNEL, page_order); in agp_generic_create_gatt_table()
[all …]