| /Linux-v5.4/mm/ | 
| D | page_counter.c | 55 void page_counter_cancel(struct page_counter *counter, unsigned long nr_pages)  in page_counter_cancel()72 void page_counter_charge(struct page_counter *counter, unsigned long nr_pages)  in page_counter_charge()
 100 			     unsigned long nr_pages,  in page_counter_try_charge()
 155 void page_counter_uncharge(struct page_counter *counter, unsigned long nr_pages)  in page_counter_uncharge()
 173 int page_counter_set_max(struct page_counter *counter, unsigned long nr_pages)  in page_counter_set_max()
 212 void page_counter_set_min(struct page_counter *counter, unsigned long nr_pages)  in page_counter_set_min()
 229 void page_counter_set_low(struct page_counter *counter, unsigned long nr_pages)  in page_counter_set_low()
 249 			  unsigned long *nr_pages)  in page_counter_memparse()
 
 | 
| D | memory_hotplug.c | 227 	unsigned long i, pfn, end_pfn, nr_pages;  in register_page_bootmem_info_node()  local254 static int check_pfn_span(unsigned long pfn, unsigned long nr_pages,  in check_pfn_span()
 287 int __ref __add_pages(int nid, unsigned long pfn, unsigned long nr_pages,  in __add_pages()
 469 		unsigned long nr_pages)  in __remove_zone()
 491 		unsigned long nr_pages, unsigned long map_offset,  in __remove_section()
 516 		    unsigned long nr_pages, struct vmem_altmap *altmap)  in __remove_pages()
 611 static int online_pages_range(unsigned long start_pfn, unsigned long nr_pages,  in online_pages_range()
 639 static void node_states_check_changes_online(unsigned long nr_pages,  in node_states_check_changes_online()
 671 		unsigned long nr_pages)  in resize_zone_range()
 682                                      unsigned long nr_pages)  in resize_pgdat_range()
 [all …]
 
 | 
| D | sparse.c | 223 		unsigned long nr_pages)  in subsection_mask_set()231 void __init subsection_map_init(unsigned long pfn, unsigned long nr_pages)  in subsection_map_init()
 452 		unsigned long nr_pages, int nid, struct vmem_altmap *altmap)  in __populate_section_memmap()
 651 		unsigned long nr_pages, int nid, struct vmem_altmap *altmap)  in populate_section_memmap()
 656 static void depopulate_section_memmap(unsigned long pfn, unsigned long nr_pages,  in depopulate_section_memmap()
 673 		unsigned long nr_pages, int nid, struct vmem_altmap *altmap)  in populate_section_memmap()
 694 static void depopulate_section_memmap(unsigned long pfn, unsigned long nr_pages,  in depopulate_section_memmap()
 709 	unsigned long magic, nr_pages;  in free_map_bootmem()  local
 737 static void section_deactivate(unsigned long pfn, unsigned long nr_pages,  in section_deactivate()
 793 		unsigned long nr_pages, struct vmem_altmap *altmap)  in section_activate()
 [all …]
 
 | 
| D | percpu-km.c | 49 	const int nr_pages = pcpu_group_sizes[0] >> PAGE_SHIFT;  in pcpu_create_chunk()  local83 	const int nr_pages = pcpu_group_sizes[0] >> PAGE_SHIFT;  in pcpu_destroy_chunk()  local
 103 	size_t nr_pages, alloc_pages;  in pcpu_verify_alloc_info()  local
 
 | 
| D | hugetlb_cgroup.c | 128 	unsigned int nr_pages;  in hugetlb_cgroup_move_parent()  local181 int hugetlb_cgroup_charge_cgroup(int idx, unsigned long nr_pages,  in hugetlb_cgroup_charge_cgroup()
 214 void hugetlb_cgroup_commit_charge(int idx, unsigned long nr_pages,  in hugetlb_cgroup_commit_charge()
 228 void hugetlb_cgroup_uncharge_page(int idx, unsigned long nr_pages,  in hugetlb_cgroup_uncharge_page()
 244 void hugetlb_cgroup_uncharge_cgroup(int idx, unsigned long nr_pages,  in hugetlb_cgroup_uncharge_cgroup()
 292 	unsigned long nr_pages;  in hugetlb_cgroup_write()  local
 
 | 
| D | gup.c | 780 		unsigned long start, unsigned long nr_pages,  in __get_user_pages()1001 						unsigned long nr_pages,  in __get_user_pages_locked()
 1150 		unsigned long start, unsigned long nr_pages,  in get_user_pages_remote()
 1192 	unsigned long nr_pages = (end - start) / PAGE_SIZE;  in populate_vma_page_range()  local
 1318 		unsigned long nr_pages, struct page **pages,  in __get_user_pages_locked()
 1362 static bool check_dax_vmas(struct vm_area_struct **vmas, long nr_pages)  in check_dax_vmas()
 1436 					unsigned long nr_pages,  in check_and_migrate_cma_pages()
 1523 					unsigned long nr_pages,  in check_and_migrate_cma_pages()
 1539 				  unsigned long nr_pages,  in __gup_longterm_locked()
 1590 						  unsigned long nr_pages,  in __gup_longterm_locked()
 [all …]
 
 | 
| D | page_isolation.c | 73 		unsigned long nr_pages;  in set_migratetype_isolate()  local93 	unsigned long flags, nr_pages;  in unset_migratetype_isolate()  local
 147 __first_valid_page(unsigned long pfn, unsigned long nr_pages)  in __first_valid_page()
 
 | 
| D | page_ext.c | 139 	unsigned long nr_pages;  in alloc_node_page_ext()  local287 				unsigned long nr_pages,  in online_page_ext()
 322 				unsigned long nr_pages, int nid)  in offline_page_ext()
 
 | 
| D | memcontrol.c | 586 	unsigned long nr_pages = page_counter_read(&memcg->memory);  in soft_limit_excess()  local834 					 bool compound, int nr_pages)  in mem_cgroup_charge_statistics()
 1278 				int zid, int nr_pages)  in mem_cgroup_update_lru_size()
 2151 	unsigned int nr_pages;  member
 2170 static bool consume_stock(struct mem_cgroup *memcg, unsigned int nr_pages)  in consume_stock()
 2231 static void refill_stock(struct mem_cgroup *memcg, unsigned int nr_pages)  in refill_stock()
 2342 			 unsigned int nr_pages,  in reclaim_high()
 2423 	unsigned int nr_pages = current->memcg_nr_pages_over_high;  in mem_cgroup_handle_over_high()  local
 2503 		      unsigned int nr_pages)  in try_charge()
 2678 static void cancel_charge(struct mem_cgroup *memcg, unsigned int nr_pages)  in cancel_charge()
 [all …]
 
 | 
| /Linux-v5.4/include/linux/ | 
| D | hugetlb_cgroup.h | 85 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()
 99 hugetlb_cgroup_uncharge_page(int idx, unsigned long nr_pages, struct page *page)  in hugetlb_cgroup_uncharge_page()
 104 hugetlb_cgroup_uncharge_cgroup(int idx, unsigned long nr_pages,  in hugetlb_cgroup_uncharge_cgroup()
 
 | 
| D | mm_inline.h | 28 				int nr_pages)  in __update_lru_size()39 				int nr_pages)  in update_lru_size()
 
 | 
| /Linux-v5.4/drivers/misc/mic/scif/ | 
| D | scif_rma.c | 81 scif_create_pinned_pages(int nr_pages, int prot)  in scif_create_pinned_pages()139 struct scif_window *scif_create_window(struct scif_endpt *ep, int nr_pages,  in scif_create_window()
 188 	int nr_pages = window->nr_pages;  in scif_destroy_incomplete_window()  local
 266 			  int nr_pages)  in __scif_dec_pinned_vm_lock()
 276 					     int nr_pages)  in __scif_check_inc_pinned_vm()
 307 	int nr_pages = window->nr_pages;  in scif_destroy_window()  local
 354 	int nr_pages = window->nr_pages;  in scif_create_remote_lookup()  local
 464 scif_create_remote_window(struct scif_dev *scifdev, int nr_pages)  in scif_create_remote_window()
 1045 	int nr_pages = msg->payload[1];  in scif_alloc_req()  local
 1311 	int nr_pages, err = 0, i;  in __scif_pin_pages()  local
 [all …]
 
 | 
| D | scif_mmap.c | 218 	int nr_pages, err, i;  in scif_get_pages()  local373 			      int nr_pages, struct vm_area_struct *vma)  in scif_rma_list_mmap()
 450 				 s64 offset, int nr_pages)  in scif_rma_list_munmap()
 546 	int nr_pages = vma_pages(vma);  in scif_munmap()  local
 608 	int nr_pages = vma_pages(vma);  in scif_mmap()  local
 
 | 
| D | scif_rma.h | 187 	s64 nr_pages;  member256 	s64 nr_pages;  member
 439 static inline void scif_get_window(struct scif_window *window, int nr_pages)  in scif_get_window()
 444 static inline void scif_put_window(struct scif_window *window, int nr_pages)  in scif_put_window()
 449 static inline void scif_set_window_ref(struct scif_window *window, int nr_pages)  in scif_set_window_ref()
 
 | 
| /Linux-v5.4/drivers/xen/ | 
| D | balloon.c | 413 static enum bp_state increase_reservation(unsigned long nr_pages)  in increase_reservation()452 static enum bp_state decrease_reservation(unsigned long nr_pages, gfp_t gfp)  in decrease_reservation()
 565 static int add_ballooned_pages(int nr_pages)  in add_ballooned_pages()
 596 int alloc_xenballooned_pages(int nr_pages, struct page **pages)  in alloc_xenballooned_pages()
 643 void free_xenballooned_pages(int nr_pages, struct page **pages)  in free_xenballooned_pages()
 
 | 
| /Linux-v5.4/net/rds/ | 
| D | rdma.c | 156 static int rds_pin_pages(unsigned long user_addr, unsigned int nr_pages,  in rds_pin_pages()178 	unsigned int nr_pages;  in __rds_rdma_map()  local
 499 	unsigned int nr_pages;  in rds_rdma_pages()  local
 527 	unsigned int nr_pages;  in rds_rdma_extra_size()  local
 578 	int nr_pages;  in rds_cmsg_rdma_args()  local
 
 | 
| /Linux-v5.4/fs/ntfs/ | 
| D | file.c | 495 		pgoff_t index, const unsigned nr_pages, struct page **pages,  in __ntfs_grab_cache_pages()571 		unsigned nr_pages, s64 pos, size_t bytes)  in ntfs_prepare_pages_for_non_resident_write()
 1361 		unsigned nr_pages)  in ntfs_flush_dcache_pages()
 1385 		struct page **pages, const unsigned nr_pages,  in ntfs_commit_pages_after_non_resident_write()
 1540 		const unsigned nr_pages, s64 pos, size_t bytes)  in ntfs_commit_pages_after_write()
 1685 static size_t ntfs_copy_from_user_iter(struct page **pages, unsigned nr_pages,  in ntfs_copy_from_user_iter()
 1743 	unsigned nr_pages;  in ntfs_perform_write()  local
 
 | 
| /Linux-v5.4/drivers/media/v4l2-core/ | 
| D | videobuf-dma-sg.c | 63 						  int nr_pages)  in videobuf_vmalloc_to_sg()93 					int nr_pages, int offset, size_t size)  in videobuf_pages_to_sg()
 211 			     int nr_pages)  in videobuf_dma_init_kernel()
 270 			      dma_addr_t addr, int nr_pages)  in videobuf_dma_init_overlay()
 
 | 
| /Linux-v5.4/drivers/staging/android/ion/ | 
| D | ion_cma_heap.c | 35 	unsigned long nr_pages = size >> PAGE_SHIFT;  in ion_cma_allocate()  local87 	unsigned long nr_pages = PAGE_ALIGN(buffer->size) >> PAGE_SHIFT;  in ion_cma_free()  local
 
 | 
| /Linux-v5.4/fs/iomap/ | 
| D | swapfile.c | 19 	unsigned long nr_pages;		/* number of pages collected */  member32 	unsigned long nr_pages;  in iomap_swapfile_add_extent()  local
 
 | 
| /Linux-v5.4/arch/x86/xen/ | 
| D | setup.c | 255 			unsigned long end_pfn, unsigned long nr_pages)  in xen_set_identity_and_release_chunk()388 	unsigned long start_pfn, unsigned long end_pfn, unsigned long nr_pages,  in xen_set_identity_and_remap_chunk()
 444 	unsigned long start_pfn, unsigned long end_pfn, unsigned long nr_pages,  in xen_count_remap_pages()
 453 static unsigned long __init xen_foreach_remap_area(unsigned long nr_pages,  in xen_foreach_remap_area()
 
 | 
| /Linux-v5.4/drivers/net/ethernet/ibm/ehea/ | 
| D | ehea_qmr.c | 93 	int i, nr_pages;  in hw_queue_dtor()  local358 			   int nr_pages, int wqe_size, int act_nr_sges,  in ehea_qp_alloc_register()
 608 static int ehea_update_busmap(unsigned long pfn, unsigned long nr_pages, int add)  in ehea_update_busmap()
 651 int ehea_add_sect_bmap(unsigned long pfn, unsigned long nr_pages)  in ehea_add_sect_bmap()
 661 int ehea_rem_sect_bmap(unsigned long pfn, unsigned long nr_pages)  in ehea_rem_sect_bmap()
 689 	unsigned long pfn, start_pfn, end_pfn, nr_pages;  in ehea_create_busmap_callback()  local
 
 | 
| /Linux-v5.4/drivers/hwtracing/coresight/ | 
| D | coresight-tmc-etr.c | 45 	int			nr_pages;  member122 tmc_etr_sg_table_entries(int nr_pages)  in tmc_etr_sg_table_entries()
 194 	int i, nr_pages;  in tmc_pages_alloc()  local
 1204 	      int nr_pages, void **pages, bool snapshot)  in alloc_etr_buf()
 1242 			  struct perf_event *event, int nr_pages,  in get_perf_etr_buf_cpu_wide()
 1306 			    struct perf_event *event, int nr_pages,  in get_perf_etr_buf_per_thread()
 1318 		 int nr_pages, void **pages, bool snapshot)  in get_perf_etr_buf()
 1330 		       int nr_pages, void **pages, bool snapshot)  in tmc_etr_setup_perf_buf()
 1363 				  int nr_pages, bool snapshot)  in tmc_alloc_etr_buffer()
 
 | 
| /Linux-v5.4/arch/arm/xen/ | 
| D | p2m.c | 24 	unsigned long nr_pages;  member122 		unsigned long mfn, unsigned long nr_pages)  in __set_phys_to_machine_multi()
 
 | 
| /Linux-v5.4/fs/9p/ | 
| D | cache.h | 62 					      unsigned *nr_pages)  in v9fs_readpages_from_fscache()118 					      unsigned *nr_pages)  in v9fs_readpages_from_fscache()
 
 |