/linux-3.3/drivers/gpu/drm/ |
D | drm_buffer.c | 46 int nr_pages = size / PAGE_SIZE + 1; in drm_buffer_alloc() local 105 int nr_pages = size / PAGE_SIZE + 1; in drm_buffer_copy_from_user() local 140 int nr_pages = buf->size / PAGE_SIZE + 1; in drm_buffer_free() local
|
/linux-3.3/mm/ |
D | percpu-km.c | 53 const int nr_pages = pcpu_group_sizes[0] >> PAGE_SHIFT; in pcpu_create_chunk() local 78 const int nr_pages = pcpu_group_sizes[0] >> PAGE_SHIFT; in pcpu_destroy_chunk() local 92 size_t nr_pages, alloc_pages; in pcpu_verify_alloc_info() local
|
D | memory_hotplug.c | 163 unsigned long i, pfn, end_pfn, nr_pages; in register_page_bootmem_info_node() local 230 int nr_pages = PAGES_PER_SECTION; in __add_zone() local 257 int nr_pages = PAGES_PER_SECTION; in __add_section() local 313 unsigned long nr_pages) in __add_pages() 351 unsigned long nr_pages) in __remove_pages() 444 static int online_pages_range(unsigned long start_pfn, unsigned long nr_pages, in online_pages_range() 461 int __ref online_pages(unsigned long pfn, unsigned long nr_pages) in online_pages() 693 int is_mem_section_removable(unsigned long start_pfn, unsigned long nr_pages) in is_mem_section_removable() 824 offline_isolated_pages_cb(unsigned long start, unsigned long nr_pages, in offline_isolated_pages_cb() 842 check_pages_isolated_cb(unsigned long start_pfn, unsigned long nr_pages, in check_pages_isolated_cb() [all …]
|
D | sparse.c | 209 unsigned long nr_pages = 0; in node_memmap_size_bytes() local 621 unsigned long nr_pages) in kmalloc_section_memmap() 626 static void __kfree_section_memmap(struct page *memmap, unsigned long nr_pages) in __kfree_section_memmap() 630 static void free_map_bootmem(struct page *page, unsigned long nr_pages) in free_map_bootmem() 634 static struct page *__kmalloc_section_memmap(unsigned long nr_pages) in __kmalloc_section_memmap() 657 unsigned long nr_pages) in kmalloc_section_memmap() 662 static void __kfree_section_memmap(struct page *memmap, unsigned long nr_pages) in __kfree_section_memmap() 671 static void free_map_bootmem(struct page *page, unsigned long nr_pages) in free_map_bootmem() 701 unsigned long nr_pages; in free_section_usemap() local 739 int nr_pages) in sparse_add_one_section()
|
D | mlock.c | 164 int nr_pages = (end - start) / PAGE_SIZE; in __mlock_vma_pages_range() local 221 int nr_pages = (end - start) / PAGE_SIZE; in mlock_vma_pages_range() local 322 int nr_pages; in mlock_fixup() local
|
D | util.c | 258 int nr_pages, int write, struct page **pages) in __get_user_pages_fast() 289 int nr_pages, int write, struct page **pages) in get_user_pages_fast()
|
D | page_cgroup.c | 49 unsigned long nr_pages; in alloc_node_page_cgroup() local 191 unsigned long nr_pages, in online_page_cgroup() 226 unsigned long nr_pages, int nid) in offline_page_cgroup()
|
/linux-3.3/net/9p/ |
D | trans_common.c | 25 void p9_release_pages(struct page **pages, int nr_pages) in p9_release_pages() 57 int p9_payload_gup(char *data, int *nr_pages, struct page **pages, int write) in p9_payload_gup()
|
/linux-3.3/drivers/xen/ |
D | balloon.c | 314 static enum bp_state increase_reservation(unsigned long nr_pages) in increase_reservation() 384 static enum bp_state decrease_reservation(unsigned long nr_pages, gfp_t gfp) in decrease_reservation() 507 int alloc_xenballooned_pages(int nr_pages, struct page **pages, bool highmem) in alloc_xenballooned_pages() 543 void free_xenballooned_pages(int nr_pages, struct page **pages) in free_xenballooned_pages()
|
/linux-3.3/net/rds/ |
D | rdma.c | 157 static int rds_pin_pages(unsigned long user_addr, unsigned int nr_pages, in rds_pin_pages() 177 unsigned int nr_pages; in __rds_rdma_map() local 487 unsigned int nr_pages; in rds_rdma_pages() local 514 unsigned int nr_pages; in rds_rdma_extra_size() local 551 int nr_pages; in rds_cmsg_rdma_args() local
|
/linux-3.3/fs/ |
D | fs-writeback.c | 41 long nr_pages; member 123 __bdi_start_writeback(struct backing_dev_info *bdi, long nr_pages, in __bdi_start_writeback() 161 void bdi_start_writeback(struct backing_dev_info *bdi, long nr_pages, in bdi_start_writeback() 653 long writeback_inodes_wb(struct bdi_writeback *wb, long nr_pages, in writeback_inodes_wb() 718 long nr_pages = work->nr_pages; in wb_writeback() local 857 long nr_pages; in wb_check_old_data_flush() local 996 void wakeup_flusher_threads(long nr_pages, enum wb_reason reason) in wakeup_flusher_threads()
|
/linux-3.3/fs/ntfs/ |
D | file.c | 407 pgoff_t index, const unsigned nr_pages, struct page **pages, in __ntfs_grab_cache_pages() 481 unsigned nr_pages, s64 pos, size_t bytes) in ntfs_prepare_pages_for_non_resident_write() 1277 unsigned nr_pages, unsigned ofs, const char __user *buf, in ntfs_copy_from_user() 1393 unsigned nr_pages, unsigned ofs, const struct iovec **iov, in ntfs_copy_from_user_iovec() 1446 unsigned nr_pages) in ntfs_flush_dcache_pages() 1470 struct page **pages, const unsigned nr_pages, in ntfs_commit_pages_after_non_resident_write() 1625 const unsigned nr_pages, s64 pos, size_t bytes) in ntfs_commit_pages_after_write() 1788 unsigned nr_pages; in ntfs_file_buffered_write() local
|
/linux-3.3/drivers/media/video/ |
D | videobuf-dma-sg.c | 66 int nr_pages) in videobuf_vmalloc_to_sg() 96 int nr_pages, int offset, size_t size) in videobuf_pages_to_sg() 212 int nr_pages) in videobuf_dma_init_kernel() 235 dma_addr_t addr, int nr_pages) in videobuf_dma_init_overlay()
|
/linux-3.3/fs/9p/ |
D | cache.h | 76 unsigned *nr_pages) in v9fs_readpages_from_fscache() 120 unsigned *nr_pages) in v9fs_readpages_from_fscache()
|
/linux-3.3/arch/x86/mm/ |
D | numa_32.c | 65 unsigned long nr_pages = end_pfn - start_pfn; in node_memmap_size_bytes() local 133 unsigned long start_va, start_pfn, nr_pages, pfn; in resume_map_numa_kva() local
|
/linux-3.3/fs/cifs/ |
D | fscache.h | 79 unsigned *nr_pages) in cifs_readpages_from_fscache() 126 unsigned *nr_pages) in cifs_readpages_from_fscache()
|
/linux-3.3/drivers/net/ethernet/ibm/ehea/ |
D | ehea_qmr.c | 108 int i, nr_pages; in hw_queue_dtor() local 383 int nr_pages, int wqe_size, int act_nr_sges, in ehea_qp_alloc_register() 635 static int ehea_update_busmap(unsigned long pfn, unsigned long nr_pages, int add) in ehea_update_busmap() 678 int ehea_add_sect_bmap(unsigned long pfn, unsigned long nr_pages) in ehea_add_sect_bmap() 688 int ehea_rem_sect_bmap(unsigned long pfn, unsigned long nr_pages) in ehea_rem_sect_bmap() 716 unsigned long pfn, start_pfn, end_pfn, nr_pages; in ehea_create_busmap_callback() local
|
/linux-3.3/fs/btrfs/ |
D | compression.c | 69 unsigned long nr_pages; member 235 unsigned long nr_pages = end_index - index + 1; in end_compressed_writeback() local 330 unsigned long nr_pages) in btrfs_submit_compressed_write() 448 unsigned long nr_pages = 0; in add_ra_bio_pages() local 570 unsigned long nr_pages; in btrfs_submit_compressed_read() local
|
/linux-3.3/arch/arm/mach-rpc/include/mach/ |
D | uncompress.h | 23 unsigned long nr_pages; member 119 unsigned int nr_pages = 0, page_size = PAGE_SIZE; in arch_decomp_setup() local
|
/linux-3.3/arch/sh/mm/ |
D | gup.c | 161 int __get_user_pages_fast(unsigned long start, int nr_pages, int write, in __get_user_pages_fast() 215 int get_user_pages_fast(unsigned long start, int nr_pages, int write, in get_user_pages_fast()
|
/linux-3.3/kernel/power/ |
D | snapshot.c | 1126 static unsigned long preallocate_image_pages(unsigned long nr_pages, gfp_t mask) in preallocate_image_pages() 1148 static unsigned long preallocate_image_memory(unsigned long nr_pages, in preallocate_image_memory() 1164 static unsigned long preallocate_image_highmem(unsigned long nr_pages) in preallocate_image_highmem() 1179 static unsigned long preallocate_highmem_fraction(unsigned long nr_pages, in preallocate_highmem_fraction() 1188 static inline unsigned long preallocate_image_highmem(unsigned long nr_pages) in preallocate_image_highmem() 1193 static inline unsigned long preallocate_highmem_fraction(unsigned long nr_pages, in preallocate_highmem_fraction() 1477 static int enough_free_mem(unsigned int nr_pages, unsigned int nr_highmem) in enough_free_mem() 1549 unsigned int nr_pages, unsigned int nr_highmem) in swsusp_alloc() 1580 unsigned int nr_pages, nr_highmem; in swsusp_save() local 2079 unsigned int nr_pages, nr_highmem; in prepare_image() local
|
/linux-3.3/arch/x86/boot/compressed/ |
D | eboot.c | 63 unsigned long nr_pages; in high_alloc() local 141 unsigned long nr_pages; in low_alloc() local 197 unsigned long nr_pages; in low_free() local 882 unsigned long start, nr_pages; in efi_main() local
|
/linux-3.3/include/linux/ |
D | memory.h | 55 unsigned long nr_pages; member 68 unsigned int nr_pages; /* # pages in range to check */ member
|
/linux-3.3/drivers/infiniband/hw/ehca/ |
D | ehca_eq.c | 59 u32 nr_pages; in ehca_create_eq() local
|
/linux-3.3/arch/mips/mm/ |
D | gup.c | 193 int __get_user_pages_fast(unsigned long start, int nr_pages, int write, in __get_user_pages_fast() 260 int get_user_pages_fast(unsigned long start, int nr_pages, int write, in get_user_pages_fast()
|