/linux-2.4.37.9/drivers/char/drm-4.0/ |
D | bufs.c | 166 int page_count; in drm_addbufs() local 233 dma->page_count * sizeof(*dma->pagelist), in drm_addbufs() 234 (dma->page_count + (count << page_order)) in drm_addbufs() 238 dma->page_count + (count << page_order)); in drm_addbufs() 244 page_count = 0; in drm_addbufs() 250 dma->page_count + page_count, in drm_addbufs() 252 dma->pagelist[dma->page_count + page_count++] in drm_addbufs() 292 dma->page_count += entry->seg_count << page_order; in drm_addbufs()
|
D | mga_bufs.c | 224 int page_count; in mga_addbufs_pci() local 292 dma->page_count * sizeof(*dma->pagelist), in mga_addbufs_pci() 293 (dma->page_count + (count << page_order)) in mga_addbufs_pci() 297 dma->page_count + (count << page_order)); in mga_addbufs_pci() 303 page_count = 0; in mga_addbufs_pci() 309 dma->page_count + page_count, in mga_addbufs_pci() 311 dma->pagelist[dma->page_count + page_count++] in mga_addbufs_pci() 351 dma->page_count += entry->seg_count << page_order; in mga_addbufs_pci()
|
D | memory.c | 412 += handle->page_count << PAGE_SHIFT; in drm_bind_agp() 439 += handle->page_count << PAGE_SHIFT; in drm_unbind_agp()
|
/linux-2.4.37.9/drivers/char/agp/ |
D | agpgart_be.c | 220 if (curr->page_count != 0) { in agp_free_memory() 221 for (i = 0; i < curr->page_count; i++) { in agp_free_memory() 234 agp_memory *agp_allocate_memory(size_t page_count, u32 type) in agp_allocate_memory() argument 243 if ((atomic_read(&agp_bridge.current_memory_agp) + page_count) > in agp_allocate_memory() 249 new = agp_bridge.alloc_by_type(page_count, type); in agp_allocate_memory() 258 scratch_pages = (page_count + ENTRIES_PER_PAGE - 1) / ENTRIES_PER_PAGE; in agp_allocate_memory() 266 for (i = 0; i < page_count; i++) { in agp_allocate_memory() 275 new->page_count++; in agp_allocate_memory() 716 if ((pg_start + mem->page_count) > num_entries) { in agp_generic_insert_memory() 721 while (j < (pg_start + mem->page_count)) { in agp_generic_insert_memory() [all …]
|
/linux-2.4.37.9/fs/xfs/linux-2.4/ |
D | xfs_buf.c | 321 int page_count, in _pagebuf_get_pages() argument 327 pb->pb_page_count = page_count; in _pagebuf_get_pages() 328 if (page_count <= PB_PAGES) { in _pagebuf_get_pages() 332 page_count, pb_to_km(flags)); in _pagebuf_get_pages() 336 memset(pb->pb_pages, 0, sizeof(struct page *) * page_count); in _pagebuf_get_pages() 402 unsigned short page_count, i; in _pagebuf_lookup_pages() local 408 page_count = page_buf_btoc(end) - page_buf_btoct(bp->pb_file_offset); in _pagebuf_lookup_pages() 410 error = _pagebuf_get_pages(bp, page_count, flags); in _pagebuf_lookup_pages() 453 page_count--; in _pagebuf_lookup_pages() 466 if (page_count) { in _pagebuf_lookup_pages() [all …]
|
/linux-2.4.37.9/arch/sh64/mm/ |
D | init.c | 81 else if (page_count(mem_map+i)) in show_mem() 82 shared += page_count(mem_map+i) - 1; in show_mem()
|
/linux-2.4.37.9/arch/m68k/mm/ |
D | init.c | 101 else if (!page_count(mem_map+i)) in show_mem() 104 shared += page_count(mem_map+i) - 1; in show_mem()
|
/linux-2.4.37.9/drivers/char/drm/ |
D | drm_bufs.h | 499 int page_count; in DRM() local 569 dma->page_count * sizeof(*dma->pagelist), in DRM() 570 (dma->page_count + (count << page_order)) in DRM() 587 dma->page_count + (count << page_order) ); in DRM() 592 page_count = 0; in DRM() 600 dma->page_count + page_count, in DRM() 602 dma->pagelist[dma->page_count + page_count++] in DRM() 652 dma->page_count += entry->seg_count << page_order; in DRM()
|
D | drm_memory.h | 430 += handle->page_count << PAGE_SHIFT; in DRM() 457 += handle->page_count << PAGE_SHIFT; in DRM()
|
/linux-2.4.37.9/arch/sh/mm/ |
D | init.c | 69 else if (page_count(mem_map+i)) in show_mem() 70 shared += page_count(mem_map+i) - 1; in show_mem()
|
/linux-2.4.37.9/arch/cris/mm/ |
D | init.c | 191 else if (!page_count(mem_map+i)) in show_mem() 193 else if (page_count(mem_map+i) == 1) in show_mem() 196 shared += page_count(mem_map+i) - 1; in show_mem()
|
/linux-2.4.37.9/drivers/media/video/ |
D | vino.c | 84 int page_count; member 588 for (i = 0; i < v->page_count; i++) in vino_waitfor() 656 v->page_count = count; in alloc_buffer() 668 for (i = 0; i < v->page_count; i++) { in free_buffer() 675 PAGE_RATIO * (v->page_count+4) * sizeof(dma_addr_t), in free_buffer() 766 if (size > v->page_count * PAGE_SIZE) { in vino_mmap() 770 for (i = 0; i < v->page_count; i++) { in vino_mmap() 974 buf->size = v->page_count * PAGE_SIZE; in vino_do_ioctl()
|
/linux-2.4.37.9/mm/ |
D | vmscan.c | 146 int freeable = page_count(page) - !!page->buffers <= 2; in try_to_swap_out() 419 if (unlikely(!page_count(page))) in shrink_cache() 428 if (!page->buffers && (page_count(page) != 1 || !page->mapping)) in shrink_cache() 531 if (!page->mapping || page_count(page) > 1) { in shrink_cache()
|
D | swapfile.c | 242 if (page_count(page) - !!page->buffers == 2) in exclusive_swap_page() 265 switch (page_count(page)) { in can_share_swap_page() 297 if (page_count(page) - !!page->buffers != 2) /* 2: us + cache */ in remove_exclusive_swap_page() 310 if (page_count(page) - !!page->buffers == 2) { in remove_exclusive_swap_page() 346 if (page_count(page) - !!page->buffers == 2 || vm_swap_full()) { in free_swap_and_cache()
|
/linux-2.4.37.9/arch/mips64/mm/ |
D | init.c | 165 else if (!page_count(mem_map + i)) in show_mem() 168 shared += page_count(mem_map + i) - 1; in show_mem()
|
/linux-2.4.37.9/include/linux/ |
D | agp_backend.h | 144 size_t page_count; member
|
D | mm.h | 200 #define page_count(p) atomic_read(&(p)->count) macro 541 return page_count(page) - !!page->buffers == 1; in is_page_cache_freeable()
|
/linux-2.4.37.9/arch/mips/mm/ |
D | init.c | 152 else if (!page_count(mem_map + i)) in show_mem() 155 shared += page_count(mem_map + i) - 1; in show_mem()
|
/linux-2.4.37.9/arch/x86_64/mm/ |
D | init.c | 88 else if (page_count(mem_map+i)) in show_mem() 89 shared += page_count(mem_map+i) - 1; in show_mem()
|
D | numa.c | 171 else if (!page_count(lmem_map+i)) in show_mem()
|
/linux-2.4.37.9/arch/s390/mm/ |
D | init.c | 90 else if (page_count(mem_map+i)) in show_mem()
|
/linux-2.4.37.9/arch/i386/mm/ |
D | init.c | 111 else if (page_count(mem_map+i)) in show_mem() 112 shared += page_count(mem_map+i) - 1; in show_mem()
|
/linux-2.4.37.9/arch/ia64/mm/ |
D | init.c | 242 else if (page_count(pgdat->node_mem_map + i)) in show_mem() 243 shared += page_count(pgdat->node_mem_map + i) - 1; in show_mem()
|
/linux-2.4.37.9/arch/s390x/mm/ |
D | init.c | 197 else if (page_count(mem_map+i)) in show_mem()
|
/linux-2.4.37.9/arch/alpha/mm/ |
D | init.c | 138 else if (!page_count(mem_map+i)) in show_mem()
|