/Linux-v5.10/mm/ |
D | page_counter.c | 50 void page_counter_cancel(struct page_counter *counter, unsigned long nr_pages) in page_counter_cancel() 67 void page_counter_charge(struct page_counter *counter, unsigned long nr_pages) in page_counter_charge() 95 unsigned long nr_pages, in page_counter_try_charge() 151 void page_counter_uncharge(struct page_counter *counter, unsigned long nr_pages) in page_counter_uncharge() 169 int page_counter_set_max(struct page_counter *counter, unsigned long nr_pages) in page_counter_set_max() 208 void page_counter_set_min(struct page_counter *counter, unsigned long nr_pages) in page_counter_set_min() 225 void page_counter_set_low(struct page_counter *counter, unsigned long nr_pages) in page_counter_set_low() 245 unsigned long *nr_pages) in page_counter_memparse()
|
D | sparse.c | 212 unsigned long nr_pages) in subsection_mask_set() 220 void __init subsection_map_init(unsigned long pfn, unsigned long nr_pages) in subsection_map_init() 246 void __init subsection_map_init(unsigned long pfn, unsigned long nr_pages) in subsection_map_init() 446 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() 672 static int clear_subsection_map(unsigned long pfn, unsigned long nr_pages) in clear_subsection_map() 699 static int fill_subsection_map(unsigned long pfn, unsigned long nr_pages) in fill_subsection_map() 722 unsigned long nr_pages, int nid, struct vmem_altmap *altmap) in populate_section_memmap() 728 static void depopulate_section_memmap(unsigned long pfn, unsigned long nr_pages, in depopulate_section_memmap() [all …]
|
D | hugetlb_cgroup.c | 164 unsigned int nr_pages; in hugetlb_cgroup_move_parent() local 231 static int __hugetlb_cgroup_charge_cgroup(int idx, unsigned long nr_pages, in __hugetlb_cgroup_charge_cgroup() 274 int hugetlb_cgroup_charge_cgroup(int idx, unsigned long nr_pages, in hugetlb_cgroup_charge_cgroup() 280 int hugetlb_cgroup_charge_cgroup_rsvd(int idx, unsigned long nr_pages, in hugetlb_cgroup_charge_cgroup_rsvd() 287 static void __hugetlb_cgroup_commit_charge(int idx, unsigned long nr_pages, in __hugetlb_cgroup_commit_charge() 298 void hugetlb_cgroup_commit_charge(int idx, unsigned long nr_pages, in hugetlb_cgroup_commit_charge() 305 void hugetlb_cgroup_commit_charge_rsvd(int idx, unsigned long nr_pages, in hugetlb_cgroup_commit_charge_rsvd() 315 static void __hugetlb_cgroup_uncharge_page(int idx, unsigned long nr_pages, in __hugetlb_cgroup_uncharge_page() 338 void hugetlb_cgroup_uncharge_page(int idx, unsigned long nr_pages, in hugetlb_cgroup_uncharge_page() 344 void hugetlb_cgroup_uncharge_page_rsvd(int idx, unsigned long nr_pages, in hugetlb_cgroup_uncharge_page_rsvd() [all …]
|
D | memory_hotplug.c | 233 unsigned long i, pfn, end_pfn, nr_pages; in register_page_bootmem_info_node() local 260 static int check_pfn_span(unsigned long pfn, unsigned long nr_pages, in check_pfn_span() 288 unsigned long nr_pages) in check_hotplug_memory_addressable() 309 int __ref __add_pages(int nid, unsigned long pfn, unsigned long nr_pages, in __add_pages() 472 unsigned long nr_pages) in remove_pfn_range_from_zone() 509 static void __remove_section(unsigned long pfn, unsigned long nr_pages, in __remove_section() 532 void __remove_pages(unsigned long pfn, unsigned long nr_pages, in __remove_pages() 610 static void online_pages_range(unsigned long start_pfn, unsigned long nr_pages) in online_pages_range() 629 static void node_states_check_changes_online(unsigned long nr_pages, in node_states_check_changes_online() 661 unsigned long nr_pages) in resize_zone_range() [all …]
|
D | gup.c | 1022 unsigned long start, unsigned long nr_pages, in __get_user_pages() 1249 unsigned long nr_pages, in __get_user_pages_locked() 1399 unsigned long nr_pages = (end - start) / PAGE_SIZE; in populate_vma_page_range() local 1495 unsigned long nr_pages, struct page **pages, in __get_user_pages_locked() 1571 static bool check_dax_vmas(struct vm_area_struct **vmas, long nr_pages) in check_dax_vmas() 1593 unsigned long nr_pages, in check_and_migrate_cma_pages() 1688 unsigned long nr_pages, in check_and_migrate_cma_pages() 1703 unsigned long nr_pages, in __gup_longterm_locked() 1756 unsigned long nr_pages, in __gup_longterm_locked() 1787 unsigned long start, unsigned long nr_pages, in __get_user_pages_remote() [all …]
|
D | percpu-km.c | 50 const int nr_pages = pcpu_group_sizes[0] >> PAGE_SHIFT; in pcpu_create_chunk() local 84 const int nr_pages = pcpu_group_sizes[0] >> PAGE_SHIFT; in pcpu_destroy_chunk() local 104 size_t nr_pages, alloc_pages; in pcpu_verify_alloc_info() local
|
D | gup_benchmark.c | 25 unsigned long nr_pages) in put_back_pages() 45 unsigned long nr_pages) in verify_dma_pinned() 71 unsigned long i, nr_pages, addr, next; in __gup_benchmark_ioctl() local
|
D | page_isolation.c | 42 unsigned long nr_pages; in set_migratetype_isolate() local 71 unsigned long flags, nr_pages; in unset_migratetype_isolate() local 128 __first_valid_page(unsigned long pfn, unsigned long nr_pages) in __first_valid_page()
|
D | mlock.c | 61 int nr_pages; in clear_page_mlock() local 99 int nr_pages = thp_nr_pages(page); in mlock_vma_page() local 161 int nr_pages = thp_nr_pages(page); in __munlock_isolation_failed() local 189 int nr_pages; in munlock_vma_page() local 529 int nr_pages; in mlock_fixup() local
|
D | swap.c | 281 void lru_note_cost(struct lruvec *lruvec, bool file, unsigned int nr_pages) in lru_note_cost() 323 int nr_pages = thp_nr_pages(page); in __activate_page() local 495 int nr_pages = thp_nr_pages(page); in lru_cache_add_inactive_or_unevictable() local 533 int nr_pages = thp_nr_pages(page); in lru_deactivate_file_fn() local 581 int nr_pages = thp_nr_pages(page); in lru_deactivate_fn() local 600 int nr_pages = thp_nr_pages(page); in lru_lazyfree_fn() local 1015 int nr_pages = thp_nr_pages(page); in __pagevec_lru_add_fn() local
|
D | page_ext.c | 139 unsigned long nr_pages; in alloc_node_page_ext() local 287 unsigned long nr_pages, in online_page_ext() 319 unsigned long nr_pages, int nid) in offline_page_ext()
|
D | memcontrol.c | 260 unsigned int nr_pages; in obj_cgroup_release() local 669 unsigned long nr_pages = page_counter_read(&memcg->memory); in soft_limit_excess() local 943 int nr_pages) in mem_cgroup_charge_statistics() 1390 int zid, int nr_pages) in mem_cgroup_update_lru_size() 2208 unsigned int nr_pages; member 2249 static bool consume_stock(struct mem_cgroup *memcg, unsigned int nr_pages) in consume_stock() 2315 static void refill_stock(struct mem_cgroup *memcg, unsigned int nr_pages) in refill_stock() 2429 unsigned int nr_pages, in reclaim_high() 2567 unsigned int nr_pages, in calculate_high_delay() 2607 unsigned int nr_pages = current->memcg_nr_pages_over_high; in mem_cgroup_handle_over_high() local [all …]
|
/Linux-v5.10/include/linux/ |
D | hugetlb_cgroup.h | 150 unsigned long nr_pages) in hugetlb_cgroup_uncharge_file_region() 188 static inline int hugetlb_cgroup_charge_cgroup(int idx, unsigned long nr_pages, in hugetlb_cgroup_charge_cgroup() 195 unsigned long nr_pages, in hugetlb_cgroup_charge_cgroup_rsvd() 201 static inline void hugetlb_cgroup_commit_charge(int idx, unsigned long nr_pages, in hugetlb_cgroup_commit_charge() 208 hugetlb_cgroup_commit_charge_rsvd(int idx, unsigned long nr_pages, in hugetlb_cgroup_commit_charge_rsvd() 214 static inline void hugetlb_cgroup_uncharge_page(int idx, unsigned long nr_pages, in hugetlb_cgroup_uncharge_page() 220 unsigned long nr_pages, in hugetlb_cgroup_uncharge_page_rsvd() 225 unsigned long nr_pages, in hugetlb_cgroup_uncharge_cgroup() 231 hugetlb_cgroup_uncharge_cgroup_rsvd(int idx, unsigned long nr_pages, in hugetlb_cgroup_uncharge_cgroup_rsvd()
|
D | mm_inline.h | 29 int nr_pages) in __update_lru_size() 40 int nr_pages) in update_lru_size()
|
/Linux-v5.10/drivers/xen/ |
D | unpopulated-alloc.c | 18 static int fill_list(unsigned int nr_pages) in fill_list() 109 int xen_alloc_unpopulated_pages(unsigned int nr_pages, struct page **pages) in xen_alloc_unpopulated_pages() 157 void xen_free_unpopulated_pages(unsigned int nr_pages, struct page **pages) in xen_free_unpopulated_pages()
|
D | balloon.c | 397 static enum bp_state increase_reservation(unsigned long nr_pages) in increase_reservation() 436 static enum bp_state decrease_reservation(unsigned long nr_pages, gfp_t gfp) in decrease_reservation() 549 static int add_ballooned_pages(int nr_pages) in add_ballooned_pages() 582 int alloc_xenballooned_pages(int nr_pages, struct page **pages) in alloc_xenballooned_pages() 635 void free_xenballooned_pages(int nr_pages, struct page **pages) in free_xenballooned_pages()
|
/Linux-v5.10/net/rds/ |
D | rdma.c | 154 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 532 unsigned int nr_pages; in rds_rdma_pages() local 560 unsigned int nr_pages; in rds_rdma_extra_size() local 611 int nr_pages; in rds_cmsg_rdma_args() local
|
/Linux-v5.10/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.10/drivers/firmware/efi/libstub/ |
D | relocate.c | 29 unsigned long nr_pages; in efi_low_alloc_above() local 129 unsigned long nr_pages; in efi_relocate_kernel() local
|
/Linux-v5.10/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 unsigned long nr_pages) in videobuf_dma_init_kernel() 270 dma_addr_t addr, unsigned long nr_pages) in videobuf_dma_init_overlay()
|
/Linux-v5.10/drivers/staging/android/ion/ |
D | ion_cma_heap.c | 35 unsigned long nr_pages = size >> PAGE_SHIFT; in ion_cma_allocate() local 87 unsigned long nr_pages = PAGE_ALIGN(buffer->size) >> PAGE_SHIFT; in ion_cma_free() local
|
/Linux-v5.10/drivers/dma-buf/heaps/ |
D | cma_heap.c | 32 unsigned long nr_pages = buffer->pagecount; in cma_heap_free() local 52 unsigned long nr_pages = size >> PAGE_SHIFT; in cma_heap_allocate() local
|
/Linux-v5.10/fs/iomap/ |
D | swapfile.c | 19 unsigned long nr_pages; /* number of pages collected */ member 32 unsigned long nr_pages; in iomap_swapfile_add_extent() local
|
/Linux-v5.10/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.10/drivers/net/ethernet/ibm/ehea/ |
D | ehea_qmr.c | 93 int i, nr_pages; in hw_queue_dtor() local 358 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() 686 unsigned long pfn, start_pfn, end_pfn, nr_pages; in ehea_create_busmap_callback() local
|