Home
last modified time | relevance | path

Searched defs:nr_pages (Results 1 – 200 of 237) sorted by relevance

12

/linux-4.4.14/mm/
Dpage_counter.c20 void page_counter_cancel(struct page_counter *counter, unsigned long nr_pages) in page_counter_cancel()
36 void page_counter_charge(struct page_counter *counter, unsigned long nr_pages) in page_counter_charge()
63 unsigned long nr_pages, in page_counter_try_charge()
116 void page_counter_uncharge(struct page_counter *counter, unsigned long nr_pages) in page_counter_uncharge()
176 unsigned long *nr_pages) in page_counter_memparse()
Dpercpu-km.c50 const int nr_pages = pcpu_group_sizes[0] >> PAGE_SHIFT; in pcpu_create_chunk() local
80 const int nr_pages = pcpu_group_sizes[0] >> PAGE_SHIFT; in pcpu_destroy_chunk() local
94 size_t nr_pages, alloc_pages; in pcpu_verify_alloc_info() local
Dhugetlb_cgroup.c112 unsigned int nr_pages; in hugetlb_cgroup_move_parent() local
165 int hugetlb_cgroup_charge_cgroup(int idx, unsigned long nr_pages, in hugetlb_cgroup_charge_cgroup()
198 void hugetlb_cgroup_commit_charge(int idx, unsigned long nr_pages, in hugetlb_cgroup_commit_charge()
212 void hugetlb_cgroup_uncharge_page(int idx, unsigned long nr_pages, in hugetlb_cgroup_uncharge_page()
228 void hugetlb_cgroup_uncharge_cgroup(int idx, unsigned long nr_pages, in hugetlb_cgroup_uncharge_cgroup()
276 unsigned long nr_pages; in hugetlb_cgroup_write() local
Dmemory_hotplug.c247 unsigned long i, pfn, end_pfn, nr_pages; in register_page_bootmem_info_node() local
446 int nr_pages = PAGES_PER_SECTION; in __add_zone() local
503 unsigned long nr_pages) in __add_pages()
721 int nr_pages = PAGES_PER_SECTION; in __remove_zone() local
766 unsigned long nr_pages) in __remove_pages()
866 static int online_pages_range(unsigned long start_pfn, unsigned long nr_pages, in online_pages_range()
900 static void node_states_check_changes_online(unsigned long nr_pages, in node_states_check_changes_online()
975 int __ref online_pages(unsigned long pfn, unsigned long nr_pages, int online_type) in online_pages()
1187 u64 nr_pages = size >> PAGE_SHIFT; in check_hotplug_memory_range() local
1357 int is_mem_section_removable(unsigned long start_pfn, unsigned long nr_pages) in is_mem_section_removable()
[all …]
Dgup.c454 unsigned long start, unsigned long nr_pages, in __get_user_pages()
624 unsigned long nr_pages, in __get_user_pages_locked()
739 unsigned long start, unsigned long nr_pages, in get_user_pages_locked()
759 unsigned long start, unsigned long nr_pages, in __get_user_pages_unlocked()
792 unsigned long start, unsigned long nr_pages, in get_user_pages_unlocked()
856 unsigned long start, unsigned long nr_pages, int write, in get_user_pages()
887 unsigned long nr_pages = (end - start) / PAGE_SIZE; in populate_vma_page_range() local
1325 int __get_user_pages_fast(unsigned long start, int nr_pages, int write, in __get_user_pages_fast()
1395 int get_user_pages_fast(unsigned long start, int nr_pages, int write, in get_user_pages_fast()
Dpage_isolation.c60 unsigned long nr_pages; in set_migratetype_isolate() local
79 unsigned long flags, nr_pages; in unset_migratetype_isolate() local
133 __first_valid_page(unsigned long pfn, unsigned long nr_pages) in __first_valid_page()
Dpage_ext.c128 unsigned long nr_pages; in alloc_node_page_ext() local
280 unsigned long nr_pages, in online_page_ext()
315 unsigned long nr_pages, int nid) in offline_page_ext()
Dmigrate.c479 int nr_pages) in __copy_gigantic_page()
498 int nr_pages; in copy_huge_page() local
1321 unsigned long nr_pages, in do_pages_move()
1406 static void do_pages_stat_array(struct mm_struct *mm, unsigned long nr_pages, in do_pages_stat_array()
1445 static int do_pages_stat(struct mm_struct *mm, unsigned long nr_pages, in do_pages_stat()
1479 SYSCALL_DEFINE6(move_pages, pid_t, pid, unsigned long, nr_pages, in SYSCALL_DEFINE6() argument
1602 unsigned long nr_pages) in numamigrate_update_ratelimit()
Dmemcontrol.c551 unsigned long nr_pages = page_counter_read(&memcg->memory); in soft_limit_excess() local
700 int nr_pages) in mem_cgroup_charge_statistics()
1126 int nr_pages) in mem_cgroup_update_lru_size()
1869 unsigned int nr_pages; member
1888 static bool consume_stock(struct mem_cgroup *memcg, unsigned int nr_pages) in consume_stock()
1937 static void refill_stock(struct mem_cgroup *memcg, unsigned int nr_pages) in refill_stock()
2008 unsigned int nr_pages = current->memcg_nr_pages_over_high; in mem_cgroup_handle_over_high() local
2028 unsigned int nr_pages) in try_charge()
2166 static void cancel_charge(struct mem_cgroup *memcg, unsigned int nr_pages) in cancel_charge()
2408 unsigned int nr_pages = 1 << order; in __memcg_kmem_charge_memcg() local
[all …]
Dpercpu-vm.c133 static void __pcpu_unmap_pages(unsigned long addr, int nr_pages) in __pcpu_unmap_pages()
192 int nr_pages) in __pcpu_map_pages()
Dsparse.c198 unsigned long nr_pages = 0; in node_memmap_size_bytes() local
659 unsigned long magic, nr_pages; in free_map_bootmem() local
744 static void clear_hwpoisoned_pages(struct page *memmap, int nr_pages) in clear_hwpoisoned_pages()
759 static inline void clear_hwpoisoned_pages(struct page *memmap, int nr_pages) in clear_hwpoisoned_pages()
Dswap.c1080 pgoff_t start, unsigned nr_pages, in pagevec_lookup_entries()
1126 pgoff_t start, unsigned nr_pages) in pagevec_lookup()
1134 pgoff_t *index, int tag, unsigned nr_pages) in pagevec_lookup_tag()
Dutil.c247 int nr_pages, int write, struct page **pages) in __get_user_pages_fast()
278 int nr_pages, int write, struct page **pages) in get_user_pages_fast()
Dmemory-failure.c1037 int nr_pages = 1 << compound_order(hpage); in set_page_hwpoison_huge_page() local
1045 int nr_pages = 1 << compound_order(hpage); in clear_page_hwpoison_huge_page() local
1075 unsigned int nr_pages; in memory_failure() local
1423 unsigned int nr_pages; in unpoison_memory() local
Dmlock.c175 int nr_pages; in munlock_vma_page() local
503 int nr_pages; in mlock_fixup() local
Dprocess_vm_access.c87 unsigned long nr_pages; in process_vm_rw_single_vec() local
152 unsigned long nr_pages = 0; in process_vm_rw_core() local
Dnommu.c136 unsigned long start, unsigned long nr_pages, in __get_user_pages()
186 unsigned long start, unsigned long nr_pages, in get_user_pages()
203 unsigned long start, unsigned long nr_pages, in get_user_pages_locked()
213 unsigned long start, unsigned long nr_pages, in __get_user_pages_unlocked()
227 unsigned long start, unsigned long nr_pages, in get_user_pages_unlocked()
Dfilemap.c340 int nr_pages; in __filemap_fdatawait_range() local
1286 unsigned int nr_pages, struct page **pages) in find_get_pages()
1353 unsigned int nr_pages, struct page **pages) in find_get_pages_contig()
1429 int tag, unsigned int nr_pages, struct page **pages) in find_get_pages_tag()
Dvmscan.c1368 int nr_pages; in isolate_lru_pages() local
1728 int nr_pages; in move_active_pages_to_lru() local
2901 unsigned long nr_pages, in try_to_free_mem_cgroup_pages()
3729 const unsigned long nr_pages = 1 << order; in __zone_reclaim() local
3847 void check_move_unevictable_pages(struct page **pages, int nr_pages) in check_move_unevictable_pages()
Dhugetlb.c1010 int nr_pages = 1 << order; in destroy_compound_gigantic_page() local
1028 unsigned long nr_pages) in __alloc_gigantic_page()
1035 unsigned long nr_pages) in pfn_range_valid_gigantic()
1060 unsigned long start_pfn, unsigned long nr_pages) in zone_spans_last_pfn()
1068 unsigned long nr_pages = 1 << order; in alloc_gigantic_page() local
1266 int nr_pages = 1 << order; in prep_compound_gigantic_page() local
1733 unsigned long nr_pages; in return_unused_surplus_pages() local
3824 unsigned long *position, unsigned long *nr_pages, in follow_hugetlb_page()
Dreadahead.c112 struct list_head *pages, unsigned nr_pages) in read_pages()
Dpage-writeback.c278 unsigned long nr_pages; in zone_dirtyable_memory() local
1969 int nr_pages = global_page_state(NR_FILE_DIRTY) + in laptop_mode_timer_fn() local
2151 int nr_pages; in write_cache_pages() local
Dinternal.h301 int nr_pages = hpage_nr_pages(page); in mlock_migrate_page() local
Dpage_alloc.c468 int nr_pages = 1 << order; in prep_compound_page() local
1029 unsigned int nr_pages = 1 << order; in __free_pages_boot_core() local
1109 unsigned long pfn, int nr_pages) in deferred_free_range()
1145 unsigned long nr_pages = 0; in deferred_init_memmap() local
2193 int nr_pages; in split_free_page() local
6808 void free_contig_range(unsigned long pfn, unsigned nr_pages) in free_contig_range()
Dswapfile.c162 pgoff_t start_page, pgoff_t nr_pages) in discard_swap_cluster()
1690 unsigned long nr_pages, sector_t start_block) in add_swap_extent()
/linux-4.4.14/include/linux/
Dhugetlb_cgroup.h85 hugetlb_cgroup_charge_cgroup(int idx, unsigned long nr_pages, in hugetlb_cgroup_charge_cgroup()
92 hugetlb_cgroup_commit_charge(int idx, unsigned long nr_pages, in hugetlb_cgroup_commit_charge()
100 hugetlb_cgroup_uncharge_page(int idx, unsigned long nr_pages, struct page *page) in hugetlb_cgroup_uncharge_page()
106 hugetlb_cgroup_uncharge_cgroup(int idx, unsigned long nr_pages, in hugetlb_cgroup_uncharge_cgroup()
Dmm_inline.h28 int nr_pages = hpage_nr_pages(page); in add_page_to_lru_list() local
37 int nr_pages = hpage_nr_pages(page); in del_page_from_lru_list() local
Dmemory.h50 unsigned long nr_pages; member
65 unsigned int nr_pages; /* # pages in range to check */ member
Dquicklist.h18 int nr_pages; member
Dmemory_hotplug.h252 unsigned long nr_pages) in is_mem_section_removable()
259 static inline int offline_pages(unsigned long start_pfn, unsigned long nr_pages) in offline_pages()
Dsplice.h56 int nr_pages; /* number of populated pages in map */ member
Dscif.h112 int nr_pages; member
Dvmalloc.h37 unsigned int nr_pages; member
Dvmstat.h257 static inline void __mod_zone_freepage_state(struct zone *zone, int nr_pages, in __mod_zone_freepage_state()
Dfscache.h594 unsigned *nr_pages, in fscache_read_or_alloc_pages()
Dswap.h131 pgoff_t nr_pages; member
/linux-4.4.14/drivers/gpu/drm/radeon/
Ddrm_buffer.c46 int nr_pages = size / PAGE_SIZE + 1; in drm_buffer_alloc() local
100 int nr_pages = size / PAGE_SIZE + 1; in drm_buffer_copy_from_user() local
134 int nr_pages = buf->size / PAGE_SIZE + 1; in drm_buffer_free() local
/linux-4.4.14/drivers/misc/mic/scif/
Dscif_rma.c88 scif_create_pinned_pages(int nr_pages, int prot) in scif_create_pinned_pages()
146 struct scif_window *scif_create_window(struct scif_endpt *ep, int nr_pages, in scif_create_window()
195 int nr_pages = window->nr_pages; in scif_destroy_incomplete_window() local
273 int nr_pages, bool try_lock) in __scif_dec_pinned_vm_lock()
292 int nr_pages) in __scif_check_inc_pinned_vm()
323 int nr_pages = window->nr_pages; in scif_destroy_window() local
370 int nr_pages = window->nr_pages; in scif_create_remote_lookup() local
480 scif_create_remote_window(struct scif_dev *scifdev, int nr_pages) in scif_create_remote_window()
1061 int nr_pages = msg->payload[1]; in scif_alloc_req() local
1327 int nr_pages, err = 0, i; in __scif_pin_pages() local
[all …]
Dscif_mmap.c227 int nr_pages, err, i; in scif_get_pages() local
382 int nr_pages, struct vm_area_struct *vma) in scif_rma_list_mmap()
459 s64 offset, int nr_pages) in scif_rma_list_munmap()
555 int nr_pages = (vma->vm_end - vma->vm_start) >> PAGE_SHIFT; in scif_munmap() local
617 int nr_pages = (vma->vm_end - vma->vm_start) >> PAGE_SHIFT; in scif_mmap() local
Dscif_rma.h187 s64 nr_pages; member
243 s64 nr_pages; member
426 static inline void scif_get_window(struct scif_window *window, int nr_pages) in scif_get_window()
431 static inline void scif_put_window(struct scif_window *window, int nr_pages) in scif_put_window()
436 static inline void scif_set_window_ref(struct scif_window *window, int nr_pages) in scif_set_window_ref()
Dscif_rma_list.c204 s64 offset, int nr_pages) in scif_rma_list_unregister()
/linux-4.4.14/drivers/xen/
Dballoon.c412 static enum bp_state increase_reservation(unsigned long nr_pages) in increase_reservation()
483 static enum bp_state decrease_reservation(unsigned long nr_pages, gfp_t gfp) in decrease_reservation()
613 static int add_ballooned_pages(int nr_pages) in add_ballooned_pages()
641 int alloc_xenballooned_pages(int nr_pages, struct page **pages) in alloc_xenballooned_pages()
686 void free_xenballooned_pages(int nr_pages, struct page **pages) in free_xenballooned_pages()
Dprivcmd.c425 unsigned long nr_pages; in privcmd_ioctl_mmap_batch() local
641 unsigned long nr_pages) in privcmd_vma_range_is_mapped()
Dgrant-table.c685 int gnttab_alloc_pages(int nr_pages, struct page **pages) in gnttab_alloc_pages()
717 void gnttab_free_pages(int nr_pages, struct page **pages) in gnttab_free_pages()
Dswiotlb-xen.c115 int nr_pages; in check_pages_physically_contiguous() local
/linux-4.4.14/net/rds/
Drdma.c157 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
488 unsigned int nr_pages; in rds_rdma_pages() local
515 unsigned int nr_pages; in rds_rdma_extra_size() local
552 int nr_pages; in rds_cmsg_rdma_args() local
Dinfo.c163 unsigned long nr_pages = 0; in rds_info_getsockopt() local
/linux-4.4.14/fs/ntfs/
Dfile.c509 pgoff_t index, const unsigned nr_pages, struct page **pages, in __ntfs_grab_cache_pages()
585 unsigned nr_pages, s64 pos, size_t bytes) in ntfs_prepare_pages_for_non_resident_write()
1376 unsigned nr_pages) in ntfs_flush_dcache_pages()
1400 struct page **pages, const unsigned nr_pages, in ntfs_commit_pages_after_non_resident_write()
1555 const unsigned nr_pages, s64 pos, size_t bytes) in ntfs_commit_pages_after_write()
1700 static size_t ntfs_copy_from_user_iter(struct page **pages, unsigned nr_pages, in ntfs_copy_from_user_iter()
1758 unsigned nr_pages; in ntfs_perform_write() local
Dcompress.c517 unsigned int nr_pages = (end_vcn - start_vcn) << in ntfs_read_compressed_block() local
/linux-4.4.14/drivers/media/v4l2-core/
Dvideobuf-dma-sg.c66 int nr_pages) in videobuf_vmalloc_to_sg()
96 int nr_pages, int offset, size_t size) in videobuf_pages_to_sg()
210 int nr_pages) in videobuf_dma_init_kernel()
270 dma_addr_t addr, int nr_pages) in videobuf_dma_init_overlay()
/linux-4.4.14/net/ipv4/
Dtcp_memcontrol.c57 static int tcp_update_limit(struct mem_cgroup *memcg, unsigned long nr_pages) in tcp_update_limit()
119 unsigned long nr_pages; in tcp_cgroup_write() local
/linux-4.4.14/drivers/firmware/efi/libstub/
Defi-stub-helper.c148 unsigned long nr_pages; in efi_high_alloc() local
234 unsigned long nr_pages; in efi_low_alloc() local
299 unsigned long nr_pages; in efi_free() local
555 unsigned long nr_pages; in efi_relocate_kernel() local
Darm64-stub.c26 unsigned long nr_pages; in handle_kernel_image() local
/linux-4.4.14/fs/
Dfs-writeback.c46 long nr_pages; member
757 static long wb_split_bdi_pages(struct bdi_writeback *wb, long nr_pages) in wb_split_bdi_pages()
802 long nr_pages; in bdi_split_work_to_wbs() local
905 static long wb_split_bdi_pages(struct bdi_writeback *wb, long nr_pages) in wb_split_bdi_pages()
924 void wb_start_writeback(struct bdi_writeback *wb, long nr_pages, in wb_start_writeback()
1617 static long writeback_inodes_wb(struct bdi_writeback *wb, long nr_pages, in writeback_inodes_wb()
1658 long nr_pages = work->nr_pages; in wb_writeback() local
1801 long nr_pages; in wb_check_old_data_flush() local
1912 void wakeup_flusher_threads(long nr_pages, enum wb_reason reason) in wakeup_flusher_threads()
Dmpage.c140 do_mpage_readpage(struct bio *bio, struct page *page, unsigned nr_pages, in do_mpage_readpage()
357 unsigned nr_pages, get_block_t get_block) in mpage_readpages()
Dpipe.c1000 static long pipe_set_size(struct pipe_inode_info *pipe, unsigned long nr_pages) in pipe_set_size()
1052 unsigned long nr_pages; in round_pipe_size() local
1098 unsigned int size, nr_pages; in pipe_fcntl() local
Daio.c116 long nr_pages; member
205 static struct file *aio_private_file(struct kioctx *ctx, loff_t nr_pages) in aio_private_file()
442 int nr_pages; in aio_setup_ring() local
Dsplice.c312 unsigned int loff, nr_pages, req_pages; in __generic_file_splice_read() local
611 unsigned int nr_pages; in default_file_splice_read() local
Ddirect-io.c660 int ret, nr_pages; in dio_new_bio() local
/linux-4.4.14/arch/arm/xen/
Dp2m.c23 unsigned long nr_pages; member
120 unsigned long mfn, unsigned long nr_pages) in __set_phys_to_machine_multi()
/linux-4.4.14/net/9p/
Dtrans_common.c21 void p9_release_pages(struct page **pages, int nr_pages) in p9_release_pages()
Dtrans_virtio.c225 struct page **pdata, int nr_pages, size_t offs, int count) in pack_sg_list_p()
321 int nr_pages; in p9_get_mapped_pages() local
/linux-4.4.14/drivers/net/ethernet/ibm/ehea/
Dehea_qmr.c107 int i, nr_pages; in hw_queue_dtor() local
378 int nr_pages, int wqe_size, int act_nr_sges, in ehea_qp_alloc_register()
628 static int ehea_update_busmap(unsigned long pfn, unsigned long nr_pages, int add) in ehea_update_busmap()
671 int ehea_add_sect_bmap(unsigned long pfn, unsigned long nr_pages) in ehea_add_sect_bmap()
681 int ehea_rem_sect_bmap(unsigned long pfn, unsigned long nr_pages) in ehea_rem_sect_bmap()
709 unsigned long pfn, start_pfn, end_pfn, nr_pages; in ehea_create_busmap_callback() local
Dehea.h260 u32 nr_pages; member
305 u32 nr_pages; member
/linux-4.4.14/fs/9p/
Dcache.h77 unsigned *nr_pages) in v9fs_readpages_from_fscache()
133 unsigned *nr_pages) in v9fs_readpages_from_fscache()
Dcache.c159 int loop, nr_pages; in v9fs_cache_inode_now_uncached() local
358 unsigned *nr_pages) in __v9fs_readpages_from_fscache()
Dvfs_addr.c112 struct list_head *pages, unsigned nr_pages) in v9fs_vfs_readpages()
/linux-4.4.14/fs/cifs/
Dfscache.h80 unsigned *nr_pages) in cifs_readpages_from_fscache()
134 unsigned *nr_pages) in cifs_readpages_from_fscache()
Dfile.c1892 unsigned int nr_pages; in wdata_alloc_and_fillpages() local
1927 unsigned int nr_pages = 0, i; in wdata_prepare_pages() local
2002 wdata_send_pages(struct cifs_writedata *wdata, unsigned int nr_pages, in wdata_send_pages()
2066 unsigned int i, nr_pages, found_pages, wsize, credits; in cifs_writepages() local
2427 unsigned long i, nr_pages = *num_pages; in wdata_fill_from_iovec() local
2471 unsigned long nr_pages, num_pages, i; in cifs_write_from_iter() local
2748 cifs_readdata_alloc(unsigned int nr_pages, work_func_t complete) in cifs_readdata_alloc()
2777 cifs_read_allocate_pages(struct cifs_readdata *rdata, unsigned int nr_pages) in cifs_read_allocate_pages()
2857 unsigned int nr_pages = rdata->nr_pages; in cifs_uncached_read_into_pages() local
3305 unsigned int nr_pages = rdata->nr_pages; in cifs_readpages_read_into_pages() local
[all …]
Dfscache.c187 unsigned *nr_pages) in __cifs_readpages_from_fscache()
Dcache.c300 int loop, nr_pages; in cifs_fscache_inode_now_uncached() local
/linux-4.4.14/arch/powerpc/kvm/
Dbook3s_hv_builtin.c52 struct page *kvm_alloc_hpt(unsigned long nr_pages) in kvm_alloc_hpt()
60 void kvm_release_hpt(struct page *page, unsigned long nr_pages) in kvm_release_hpt()
/linux-4.4.14/arch/arm/mach-rpc/include/mach/
Duncompress.h23 unsigned long nr_pages; member
119 unsigned int nr_pages = 0, page_size = PAGE_SIZE; in arch_decomp_setup() local
/linux-4.4.14/arch/x86/xen/
Dsetup.c254 unsigned long end_pfn, unsigned long nr_pages) in xen_set_identity_and_release_chunk()
389 unsigned long start_pfn, unsigned long end_pfn, unsigned long nr_pages, in xen_set_identity_and_remap_chunk()
445 unsigned long start_pfn, unsigned long end_pfn, unsigned long nr_pages, in xen_count_remap_pages()
454 static unsigned long __init xen_foreach_remap_area(unsigned long nr_pages, in xen_foreach_remap_area()
/linux-4.4.14/arch/sh/mm/
Dgup.c163 int __get_user_pages_fast(unsigned long start, int nr_pages, int write, in __get_user_pages_fast()
217 int get_user_pages_fast(unsigned long start, int nr_pages, int write, in get_user_pages_fast()
Dinit.c492 unsigned long nr_pages = size >> PAGE_SHIFT; in arch_add_memory() local
522 unsigned long nr_pages = size >> PAGE_SHIFT; in arch_remove_memory() local
/linux-4.4.14/arch/powerpc/mm/
Dmem.c121 unsigned long nr_pages = size >> PAGE_SHIFT; in arch_add_memory() local
140 unsigned long nr_pages = size >> PAGE_SHIFT; in arch_remove_memory() local
170 walk_system_ram_range(unsigned long start_pfn, unsigned long nr_pages, in walk_system_ram_range()
Dinit_64.c394 unsigned int nr_pages = in vmemmap_free() local
/linux-4.4.14/fs/btrfs/
Dcompression.c68 unsigned long nr_pages; member
230 unsigned long nr_pages = end_index - index + 1; in end_compressed_writeback() local
330 unsigned long nr_pages) in btrfs_submit_compressed_write()
451 unsigned long nr_pages = 0; in add_ra_bio_pages() local
572 unsigned long nr_pages; in btrfs_submit_compressed_read() local
Dzlib.c88 int nr_pages = 0; in zlib_compress_pages() local
Draid56.c141 int nr_pages; member
1511 int nr_pages = DIV_ROUND_UP(rbio->stripe_len, PAGE_CACHE_SIZE); in raid56_rmw_stripe() local
1806 int nr_pages = DIV_ROUND_UP(rbio->stripe_len, PAGE_CACHE_SIZE); in __raid_recover_end_io() local
2036 int nr_pages = DIV_ROUND_UP(rbio->stripe_len, PAGE_CACHE_SIZE); in __raid56_parity_recover() local
Dlzo.c101 int nr_pages = 0; in lzo_compress_pages() local
Dextent_io.c1654 unsigned long nr_pages = end_index - index + 1; in __unlock_for_delalloc() local
1833 unsigned long nr_pages = end_index - index + 1; in extent_clear_unlock_delalloc() local
3197 struct page *pages[], int nr_pages, in __do_contiguous_readpages()
3230 int nr_pages, get_extent_t *get_extent, in __extent_readpages()
3918 int nr_pages; in btree_write_cache_pages() local
4050 int nr_pages; in extent_write_cache_pages() local
4208 unsigned long nr_pages = (end - start + PAGE_CACHE_SIZE) >> in extent_write_locked_range() local
4269 struct list_head *pages, unsigned nr_pages, in extent_readpages()
Dinode.c330 unsigned long nr_pages; member
349 unsigned long nr_pages, in add_async_extent()
413 unsigned long nr_pages; in compress_file_range() local
1098 unsigned long nr_pages; in async_cow_submit() local
1133 unsigned long nr_pages; in cow_file_range_async() local
8205 int nr_pages = 0; in btrfs_submit_direct_hook() local
8584 struct list_head *pages, unsigned nr_pages) in btrfs_readpages()
/linux-4.4.14/arch/x86/mm/
Dnuma_32.c67 unsigned long nr_pages = end_pfn - start_pfn; in node_memmap_size_bytes() local
Dgup.c255 int __get_user_pages_fast(unsigned long start, int nr_pages, int write, in __get_user_pages_fast()
323 int get_user_pages_fast(unsigned long start, int nr_pages, int write, in get_user_pages_fast()
Dinit_64.c696 unsigned long nr_pages = size >> PAGE_SHIFT; in arch_add_memory() local
716 unsigned int nr_pages = 1 << order; in free_pagetable() local
1020 unsigned long nr_pages = size >> PAGE_SHIFT; in arch_remove_memory() local
1318 unsigned int nr_pages; in register_page_bootmem_memmap() local
Dtlb.c117 unsigned long nr_pages = in flush_tlb_func() local
Dinit_32.c832 unsigned long nr_pages = size >> PAGE_SHIFT; in arch_add_memory() local
841 unsigned long nr_pages = size >> PAGE_SHIFT; in arch_remove_memory() local
Dioremap.c56 static int __ioremap_check_ram(unsigned long start_pfn, unsigned long nr_pages, in __ioremap_check_ram()
Dmpx.c546 int nr_pages = 1; in mpx_resolve_fault() local
/linux-4.4.14/arch/s390/mm/
Dgup.c176 int __get_user_pages_fast(unsigned long start, int nr_pages, int write, in __get_user_pages_fast()
230 int get_user_pages_fast(unsigned long start, int nr_pages, int write, in get_user_pages_fast()
Dinit.c155 unsigned long nr_pages; in arch_add_memory() local
/linux-4.4.14/kernel/power/
Dsnapshot.c1378 static unsigned long preallocate_image_pages(unsigned long nr_pages, gfp_t mask) in preallocate_image_pages()
1400 static unsigned long preallocate_image_memory(unsigned long nr_pages, in preallocate_image_memory()
1416 static unsigned long preallocate_image_highmem(unsigned long nr_pages) in preallocate_image_highmem()
1431 static unsigned long preallocate_highmem_fraction(unsigned long nr_pages, in preallocate_highmem_fraction()
1440 static inline unsigned long preallocate_image_highmem(unsigned long nr_pages) in preallocate_image_highmem()
1445 static inline unsigned long preallocate_highmem_fraction(unsigned long nr_pages, in preallocate_highmem_fraction()
1736 static int enough_free_mem(unsigned int nr_pages, unsigned int nr_highmem) in enough_free_mem()
1808 unsigned int nr_pages, unsigned int nr_highmem) in swsusp_alloc()
1839 unsigned int nr_pages, nr_highmem; in swsusp_save() local
2336 unsigned int nr_pages, nr_highmem; in prepare_image() local
Dswap.c519 int nr_pages; in save_image() local
655 int nr_pages; in save_image_lzo() local
868 static int enough_swap(unsigned int nr_pages, unsigned int flags) in enough_swap()
1048 unsigned nr_pages; in load_image() local
1149 unsigned nr_pages; in load_image_lzo() local
Dhibernate.c237 unsigned nr_pages, char *msg) in swsusp_show_speed()
/linux-4.4.14/arch/sparc/mm/
Dgup.c163 int __get_user_pages_fast(unsigned long start, int nr_pages, int write, in __get_user_pages_fast()
193 int get_user_pages_fast(unsigned long start, int nr_pages, int write, in get_user_pages_fast()
/linux-4.4.14/kernel/events/
Dring_buffer.c471 pgoff_t pgoff, int nr_pages, long watermark, int flags) in rb_alloc_aux()
630 struct ring_buffer *rb_alloc(int nr_pages, long watermark, int cpu, int flags) in rb_alloc()
736 struct ring_buffer *rb_alloc(int nr_pages, long watermark, int cpu, int flags) in rb_alloc()
Dinternal.h19 int nr_pages; /* nr of data pages */ member
/linux-4.4.14/drivers/staging/rdma/ehca/
Dehca_eq.c59 u32 nr_pages; in ehca_create_eq() local
Dipz_pt_fn.c255 int i, nr_pages; in ipz_queue_dtor() local
Dehca_mrmw.c2316 static int ehca_update_busmap(unsigned long pfn, unsigned long nr_pages) in ehca_update_busmap()
2369 unsigned long pfn, start_pfn, end_pfn, nr_pages; in ehca_create_busmap_callback() local
/linux-4.4.14/arch/mips/mm/
Dgup.c196 int __get_user_pages_fast(unsigned long start, int nr_pages, int write, in __get_user_pages_fast()
263 int get_user_pages_fast(unsigned long start, int nr_pages, int write, in get_user_pages_fast()
/linux-4.4.14/fs/logfs/
Ddev_bdev.c75 size_t nr_pages) in __bdev_writeseg()
167 size_t nr_pages) in do_erase()
Ddev_mtd.c184 size_t nr_pages) in __logfs_mtd_writeseg()
/linux-4.4.14/drivers/media/common/saa7146/
Dsaa7146_core.c149 static struct scatterlist* vmalloc_to_sg(unsigned char *virt, int nr_pages) in vmalloc_to_sg()
251 int nr_pages = 0; in saa7146_pgtable_build_single() local
/linux-4.4.14/tools/testing/selftests/vm/
Dtranshuge-stress.c104 int nr_succeed = 0, nr_failed = 0, nr_pages = 0; in main() local
Duserfaultfd.c71 static unsigned long nr_cpus, nr_pages, nr_pages_per_cpu, page_size; variable
/linux-4.4.14/fs/btrfs/tests/
Dextent-io-tests.c35 unsigned long nr_pages = end_index - index + 1; in process_page_range() local
/linux-4.4.14/fs/ceph/
Dcache.c151 int loop, nr_pages; in ceph_fscache_inode_now_uncached() local
282 unsigned *nr_pages) in ceph_readpages_from_fscache()
Dcache.h134 unsigned *nr_pages) in ceph_readpages_from_fscache()
Daddr.c324 int nr_pages = 0; in start_read() local
402 struct list_head *page_list, unsigned nr_pages) in ceph_readpages()
/linux-4.4.14/fs/cachefiles/
Drdwr.c677 unsigned *nr_pages, in cachefiles_read_or_alloc_pages()
829 unsigned *nr_pages, in cachefiles_allocate_pages()
/linux-4.4.14/include/media/
Dvideobuf-dma-sg.h66 int nr_pages; member
/linux-4.4.14/drivers/mtd/devices/
Dmtd_dataflash.c622 static int add_dataflash_otp(struct spi_device *spi, char *name, int nr_pages, in add_dataflash_otp()
681 int nr_pages, int pagesize, int pageoffset) in add_dataflash()
696 unsigned nr_pages; member
Dsst25l.c60 unsigned nr_pages; member
/linux-4.4.14/drivers/gpu/drm/virtio/
Dvirtgpu_object.c124 int nr_pages = bo->tbo.num_pages; in virtio_gpu_object_get_sg_table() local
/linux-4.4.14/fs/nfs/
Dfscache.h133 unsigned *nr_pages) in nfs_readpages_from_fscache()
212 unsigned *nr_pages) in nfs_readpages_from_fscache()
Dfscache.c370 unsigned *nr_pages) in __nfs_readpages_from_fscache()
Dfscache-index.c266 int loop, nr_pages; in nfs_fscache_inode_now_uncached() local
Dread.c376 struct list_head *pages, unsigned nr_pages) in nfs_readpages()
/linux-4.4.14/fs/proc/
Dkcore.c168 unsigned long nr_pages = ent->size >> PAGE_SHIFT; in get_sparsemem_vmemmap_info() local
206 kclist_add_private(unsigned long pfn, unsigned long nr_pages, void *arg) in kclist_add_private()
/linux-4.4.14/arch/alpha/mm/
Dinit.c192 unsigned long nr_pages = 0; in callback_init() local
/linux-4.4.14/fs/ext4/
Dreadpage.c135 unsigned nr_pages) in ext4_mpage_readpages()
Dfile.c461 unsigned long nr_pages; in ext4_find_unwritten_pgoff() local
Dinode.c1464 int nr_pages, i; in mpage_release_unused_pages() local
2069 int nr_pages, i; in mpage_map_and_submit_buffers() local
2345 unsigned int nr_pages; in mpage_prepare_extent_to_map() local
3009 struct list_head *pages, unsigned nr_pages) in ext4_readpages()
/linux-4.4.14/drivers/xen/xenbus/
Dxenbus_client.c381 unsigned int nr_pages, grant_ref_t *grefs) in xenbus_grant_ring()
634 unsigned int nr_pages = XENBUS_PAGES(nr_grefs); in xenbus_map_ring_valloc_hvm() local
836 unsigned int nr_pages; in xenbus_unmap_ring_vfree_hvm() local
/linux-4.4.14/fs/gfs2/
Daops.c236 int nr_pages, pgoff_t end, in gfs2_write_jdata_pagevec()
350 int nr_pages; in gfs2_write_cache_jdata() local
608 struct list_head *pages, unsigned nr_pages) in gfs2_readpages()
/linux-4.4.14/fs/afs/
Dfile.c241 struct list_head *pages, unsigned nr_pages) in afs_readpages()
Dcache.c375 int loop, nr_pages; in afs_vnode_cache_now_uncached() local
/linux-4.4.14/arch/ia64/mm/
Dinit.c653 unsigned long nr_pages = size >> PAGE_SHIFT; in arch_add_memory() local
673 unsigned long nr_pages = size >> PAGE_SHIFT; in arch_remove_memory() local
/linux-4.4.14/arch/s390/pci/
Dpci_dma.c135 unsigned int nr_pages = PAGE_ALIGN(size) >> PAGE_SHIFT; in dma_update_trans() local
288 unsigned long nr_pages, iommu_page_index; in s390_dma_map_pages() local
/linux-4.4.14/arch/x86/kernel/cpu/
Dperf_event_intel_bts.c51 unsigned int nr_pages; member
71 bts_buffer_setup_aux(int cpu, void **pages, int nr_pages, bool overwrite) in bts_buffer_setup_aux()
Dintel_pt.h96 unsigned long nr_pages; member
Dperf_event_intel_pt.c820 static int pt_buffer_init_topa(struct pt_buffer *buf, unsigned long nr_pages, in pt_buffer_init_topa()
865 pt_buffer_setup_aux(int cpu, void **pages, int nr_pages, bool snapshot) in pt_buffer_setup_aux()
/linux-4.4.14/block/
Dbio.c1129 int nr_pages = 0; in bio_copy_user_iov() local
1254 int nr_pages = 0; in bio_map_user_iov() local
1425 const int nr_pages = end - start; in bio_map_kern() local
1499 int nr_pages = 0; in bio_copy_kern() local
Dbio-integrity.c276 unsigned int len, nr_pages; in bio_integrity_prep() local
/linux-4.4.14/drivers/gpu/drm/exynos/
Dexynos_drm_fbdev.c84 unsigned int nr_pages; in exynos_drm_fbdev_update() local
Dexynos_drm_gem.c27 unsigned int nr_pages; in exynos_drm_alloc_buf() local
/linux-4.4.14/drivers/edac/
Dcell_edac.c135 u32 nr_pages; in cell_edac_init_csrows() local
Di3000_edac.c317 unsigned long last_cumul_size, nr_pages; in i3000_probe1() local
Di82875p_edac.c351 u32 cumul_size, nr_pages; in i82875p_init_csrows() local
Dx38_edac.c376 unsigned long nr_pages; in x38_probe1() local
Dedac_mc_sysfs.c187 u32 nr_pages = 0; in csrow_size_show() local
399 int chan, nr_pages = 0; in nr_pages_per_csrow() local
Die31200_edac.c406 unsigned long nr_pages; in ie31200_probe1() local
Di3200_edac.c395 unsigned long nr_pages; in i3200_probe1() local
Di82975x_edac.c376 u32 cumul_size, nr_pages; in i82975x_init_csrows() local
De7xxx_edac.c361 u32 dra, cumul_size, nr_pages; in e7xxx_init_csrows() local
Dedac_mc.c741 u32 nr_pages = 0; in edac_mc_add_mc_with_groups() local
Dppc4xx_edac.c902 u32 mbxcf, size, nr_pages; in ppc4xx_edac_init_csrows() local
Damd64_edac.c2389 u32 cs_mode, nr_pages; in get_csrow_nr_pages() local
2423 int nr_pages = 0; in init_csrows() local
Dcpc925_edac.c335 unsigned long row_size, nr_pages, last_nr_pages = 0; in cpc925_init_csrows() local
/linux-4.4.14/drivers/base/
Dmemory.c228 unsigned long nr_pages = PAGES_PER_SECTION * sections_per_block; in memory_block_action() local
391 unsigned long nr_pages = PAGES_PER_SECTION * sections_per_block; in show_valid_zones() local
/linux-4.4.14/drivers/media/pci/cx25821/
Dcx25821-alsa.c70 int nr_pages; member
147 static int cx25821_alsa_dma_init(struct cx25821_audio_dev *chip, int nr_pages) in cx25821_alsa_dma_init()
/linux-4.4.14/fs/f2fs/
Ddata.c875 unsigned nr_pages) in f2fs_mpage_readpages()
1031 struct list_head *pages, unsigned nr_pages) in f2fs_read_data_pages()
1214 int nr_pages; in f2fs_write_cache_pages() local
Dnode.c1168 int i, nr_pages; in sync_node_pages() local
1266 int i, nr_pages; in wait_on_node_pages_writeback() local
Dcheckpoint.c289 int i, nr_pages; in sync_meta_pages() local
/linux-4.4.14/fs/hpfs/
Dfile.c128 struct list_head *pages, unsigned nr_pages) in hpfs_readpages()
/linux-4.4.14/kernel/trace/
Dring_buffer.c440 unsigned long nr_pages; member
1140 static int __rb_allocate_pages(long nr_pages, struct list_head *pages, int cpu) in __rb_allocate_pages()
1180 unsigned long nr_pages) in rb_allocate_pages()
1205 rb_allocate_cpu_buffer(struct ring_buffer *buffer, long nr_pages, int cpu) in rb_allocate_cpu_buffer()
1305 long nr_pages; in __ring_buffer_alloc() local
1433 rb_remove_pages(struct ring_buffer_per_cpu *cpu_buffer, unsigned long nr_pages) in rb_remove_pages()
1655 unsigned long nr_pages; in ring_buffer_resize() local
4650 unsigned long nr_pages; in rb_cpu_notify() local
/linux-4.4.14/drivers/hwtracing/intel_th/
Dmsu.c113 unsigned long nr_pages; member
841 static int msc_buffer_multi_alloc(struct msc *msc, unsigned long *nr_pages, in msc_buffer_multi_alloc()
892 static int msc_buffer_alloc(struct msc *msc, unsigned long *nr_pages, in msc_buffer_alloc()
/linux-4.4.14/arch/arm/kernel/
Datags_compat.c46 unsigned long nr_pages; /* 4 */ member
/linux-4.4.14/fs/jfs/
Dinode.c300 struct list_head *pages, unsigned nr_pages) in jfs_readpages()
/linux-4.4.14/drivers/md/
Ddm-kcopyd.c285 static int client_reserve_pages(struct dm_kcopyd_client *kc, unsigned nr_pages) in client_reserve_pages()
521 unsigned nr_pages = dm_div_up(job->dests[0].count, PAGE_SIZE >> 9); in run_pages_job() local
/linux-4.4.14/drivers/media/pci/cx88/
Dcx88-alsa.c68 int nr_pages; member
294 static int cx88_alsa_dma_init(struct cx88_audio_dev *chip, int nr_pages) in cx88_alsa_dma_init()
/linux-4.4.14/arch/sh/kernel/cpu/sh4/
Dsq.c375 unsigned int nr_pages = 0x04000000 >> PAGE_SHIFT; in sq_api_init() local
/linux-4.4.14/drivers/iommu/
Ds390-iommu.c218 unsigned long irq_flags, nr_pages, i; in s390_iommu_update_trans() local
/linux-4.4.14/fs/omfs/
Dfile.c293 struct list_head *pages, unsigned nr_pages) in omfs_readpages()
/linux-4.4.14/drivers/media/pci/cx23885/
Dcx23885-alsa.c83 static int cx23885_alsa_dma_init(struct cx23885_audio_dev *chip, int nr_pages) in cx23885_alsa_dma_init()
/linux-4.4.14/drivers/misc/genwqe/
Dcard_base.h181 unsigned int nr_pages; /* number of pages */ member
360 unsigned long nr_pages; member
Dcard_utils.c520 static int free_user_pages(struct page **page_list, unsigned int nr_pages, in free_user_pages()
/linux-4.4.14/fs/nfs/blocklayout/
Dextent_tree.c475 int nr_pages = DIV_ROUND_UP(buffer_size, PAGE_SIZE), i; in ext_tree_free_commitdata() local
/linux-4.4.14/fs/exofs/
Dinode.c57 unsigned nr_pages; member
474 struct list_head *pages, unsigned nr_pages) in exofs_readpages()
/linux-4.4.14/tools/vm/
Dpage-types.c202 static unsigned long nr_pages[HASH_SIZE]; variable
854 unsigned long nr_pages, pfn, i; in walk_file() local
/linux-4.4.14/fs/fscache/
Dpage.c541 unsigned *nr_pages, in __fscache_read_or_alloc_pages()
/linux-4.4.14/drivers/staging/lustre/lustre/osc/
Dosc_cache.c838 int nr_pages = ext->oe_nr_pages; in osc_extent_finish() local
961 int nr_pages = 0; in osc_extent_truncate() local
1446 static void osc_free_grant(struct client_obd *cli, unsigned int nr_pages, in osc_free_grant()
/linux-4.4.14/drivers/block/
Dbrd.c165 int nr_pages; in brd_free_pages() local
/linux-4.4.14/fs/qnx6/
Dinode.c102 struct list_head *pages, unsigned nr_pages) in qnx6_readpages()
/linux-4.4.14/drivers/lightnvm/
Drrpc.h96 unsigned long long nr_pages; member
/linux-4.4.14/include/scsi/
Dosd_ore.h132 unsigned nr_pages; member
/linux-4.4.14/drivers/gpu/drm/
Ddrm_prime.c678 struct sg_table *drm_prime_pages_to_sg(struct page **pages, unsigned int nr_pages) in drm_prime_pages_to_sg()
/linux-4.4.14/arch/tile/mm/
Dinit.c871 unsigned long nr_pages = size >> PAGE_SHIFT; in arch_add_memory() local
/linux-4.4.14/kernel/
Dresource.c453 int walk_system_ram_range(unsigned long start_pfn, unsigned long nr_pages, in walk_system_ram_range()
481 static int __is_ram(unsigned long pfn, unsigned long nr_pages, void *arg) in __is_ram()
Drelay.c1215 unsigned int pidx, poff, total_len, subbuf_pages, nr_pages; in subbuf_splice_actor() local
/linux-4.4.14/arch/arm64/mm/
Ddma-mapping.c311 unsigned long nr_pages = PAGE_ALIGN(size) >> PAGE_SHIFT; in __swiotlb_mmap() local
364 unsigned long nr_pages = atomic_pool_size >> PAGE_SHIFT; in atomic_pool_init() local
/linux-4.4.14/fs/fuse/
Dfile.c825 unsigned nr_pages; member
870 struct list_head *pages, unsigned nr_pages) in fuse_readpages()
1113 unsigned nr_pages = fuse_wr_pages(pos, iov_iter_count(ii)); in fuse_perform_write() local
1226 unsigned index, unsigned nr_pages) in fuse_page_descs_length_init()
/linux-4.4.14/drivers/gpu/drm/savage/
Dsavage_bci.c367 unsigned int nr_pages = (n - rest + SAVAGE_DMA_PAGE_SIZE - 1) / in savage_dma_alloc() local
/linux-4.4.14/drivers/video/fbdev/
Dxen-fbfront.c46 int nr_pages; member
Dpvr2fb.c679 unsigned int nr_pages; in pvr2fb_write() local
/linux-4.4.14/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_sriov.c305 u32 nr_pages, size, i, j, k = 0; in bnxt_alloc_vf_resources() local
/linux-4.4.14/drivers/target/
Dtarget_core_pscsi.c886 int nr_pages = (cmd->data_length + sgl[0].offset + in pscsi_map_sg() local
/linux-4.4.14/arch/x86/kernel/
De820.c1129 u64 nr_pages = 0, nr_free_pages = 0; in memblock_find_dma_reserve() local
/linux-4.4.14/drivers/media/pci/saa7134/
Dsaa7134-alsa.c268 static int saa7134_alsa_dma_init(struct saa7134_dev *dev, int nr_pages) in saa7134_alsa_dma_init()
/linux-4.4.14/arch/tile/kernel/
Dpci_gx.c985 unsigned long nr_pages = end_pfn - start_pfn; in pcibios_init() local
/linux-4.4.14/arch/s390/kvm/
Dgaccess.c714 unsigned long *pages, unsigned long nr_pages, in guest_page_range()
758 unsigned long _len, nr_pages, gpa, idx; in access_guest() local
/linux-4.4.14/fs/nilfs2/
Dinode.c170 struct list_head *pages, unsigned nr_pages) in nilfs_readpages()
/linux-4.4.14/fs/xfs/
Dxfs_file.c1208 unsigned nr_pages; in xfs_find_get_desired_pgoff() local
Dxfs_buf.c1138 int nr_pages; in xfs_buf_ioapply_map() local
/linux-4.4.14/virt/kvm/
Dkvm_main.c1210 gfn_t *nr_pages, bool write) in __gfn_to_hva_many()
1225 gfn_t *nr_pages) in gfn_to_hva_many()
1512 struct page **pages, int nr_pages) in gfn_to_page_many_atomic()
/linux-4.4.14/fs/ext2/
Dinode.c798 struct list_head *pages, unsigned nr_pages) in ext2_readpages()
/linux-4.4.14/fs/isofs/
Dinode.c1123 struct list_head *pages, unsigned nr_pages) in isofs_readpages()

12