/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() 652 unsigned long nr_pages, int nid, struct vmem_altmap *altmap) in populate_section_memmap() 657 static void depopulate_section_memmap(unsigned long pfn, unsigned long nr_pages, in depopulate_section_memmap() 673 static int clear_subsection_map(unsigned long pfn, unsigned long nr_pages) in clear_subsection_map() 700 static int fill_subsection_map(unsigned long pfn, unsigned long nr_pages) in fill_subsection_map() 723 unsigned long nr_pages, int nid, struct vmem_altmap *altmap) in populate_section_memmap() 729 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() 609 static void online_pages_range(unsigned long start_pfn, unsigned long nr_pages) in online_pages_range() 628 static void node_states_check_changes_online(unsigned long nr_pages, in node_states_check_changes_online() 660 unsigned long nr_pages) in resize_zone_range() [all …]
|
D | gup.c | 1062 unsigned long start, unsigned long nr_pages, in __get_user_pages() 1293 unsigned long nr_pages, in __get_user_pages_locked() 1443 unsigned long nr_pages = (end - start) / PAGE_SIZE; in populate_vma_page_range() local 1539 unsigned long nr_pages, struct page **pages, in __get_user_pages_locked() 1617 unsigned long nr_pages, in check_and_migrate_cma_pages() 1712 unsigned long nr_pages, in check_and_migrate_cma_pages() 1727 unsigned long nr_pages, in __gup_longterm_locked() 1771 unsigned long start, unsigned long nr_pages, in __get_user_pages_remote() 1860 unsigned long start, unsigned long nr_pages, in get_user_pages_remote() 1874 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 | mlock.c | 62 int nr_pages; in clear_page_mlock() local 100 int nr_pages = thp_nr_pages(page); in mlock_vma_page() local 162 int nr_pages = thp_nr_pages(page); in __munlock_isolation_failed() local 190 int nr_pages; in munlock_vma_page() local 539 int nr_pages; in mlock_fixup() local
|
D | page_isolation.c | 42 unsigned long nr_pages; in set_migratetype_isolate() local 70 unsigned long flags, nr_pages; in unset_migratetype_isolate() local 127 __first_valid_page(unsigned long pfn, unsigned long nr_pages) in __first_valid_page()
|
D | swap.c | 295 void lru_note_cost(struct lruvec *lruvec, bool file, unsigned int nr_pages) in lru_note_cost() 337 int nr_pages = thp_nr_pages(page); in __activate_page() local 510 int nr_pages = thp_nr_pages(page); in __lru_cache_add_inactive_or_unevictable() local 548 int nr_pages = thp_nr_pages(page); in lru_deactivate_file_fn() local 596 int nr_pages = thp_nr_pages(page); in lru_deactivate_fn() local 615 int nr_pages = thp_nr_pages(page); in lru_lazyfree_fn() local 1145 int nr_pages = thp_nr_pages(page); in __pagevec_lru_add_fn() local
|
D | migrate.c | 542 int nr_pages) in __copy_gigantic_page() 561 int nr_pages; in copy_huge_page() local 1677 int start, int i, unsigned long nr_pages) in move_pages_and_store_status() 1706 unsigned long nr_pages, in do_pages_move() 1792 static void do_pages_stat_array(struct mm_struct *mm, unsigned long nr_pages, in do_pages_stat_array() 1831 static int do_pages_stat(struct mm_struct *mm, unsigned long nr_pages, in do_pages_stat() 1912 static int kernel_move_pages(pid_t pid, unsigned long nr_pages, in kernel_move_pages() 1942 SYSCALL_DEFINE6(move_pages, pid_t, pid, unsigned long, nr_pages, in SYSCALL_DEFINE6() argument 1951 COMPAT_SYSCALL_DEFINE6(move_pages, pid_t, pid, compat_ulong_t, nr_pages, in COMPAT_SYSCALL_DEFINE6() argument 2793 long nr_pages = (args->end - args->start) >> PAGE_SHIFT; in migrate_vma_setup() local
|
D | memcontrol.c | 262 unsigned int nr_pages; in obj_cgroup_release() local 671 unsigned long nr_pages = page_counter_read(&memcg->memory); in soft_limit_excess() local 946 int nr_pages) in mem_cgroup_charge_statistics() 1421 int zid, int nr_pages) in mem_cgroup_update_lru_size() 2240 unsigned int nr_pages; member 2281 static bool consume_stock(struct mem_cgroup *memcg, unsigned int nr_pages) in consume_stock() 2347 static void refill_stock(struct mem_cgroup *memcg, unsigned int nr_pages) in refill_stock() 2461 unsigned int nr_pages, in reclaim_high() 2599 unsigned int nr_pages, in calculate_high_delay() 2639 unsigned int nr_pages = current->memcg_nr_pages_over_high; in mem_cgroup_handle_over_high() local [all …]
|
D | cma_sysfs.c | 20 void cma_sysfs_account_success_pages(struct cma *cma, unsigned long nr_pages) in cma_sysfs_account_success_pages() 25 void cma_sysfs_account_fail_pages(struct cma *cma, unsigned long nr_pages) in cma_sysfs_account_fail_pages()
|
D | cma.h | 50 unsigned long nr_pages) {}; in cma_sysfs_account_success_pages() 52 unsigned long nr_pages) {}; in cma_sysfs_account_fail_pages()
|
D | page_ext.c | 201 unsigned long nr_pages; in alloc_node_page_ext() local 378 unsigned long nr_pages, in online_page_ext() 410 unsigned long nr_pages, int nid) in offline_page_ext()
|
D | percpu-vm.c | 134 static void __pcpu_unmap_pages(unsigned long addr, int nr_pages) in __pcpu_unmap_pages() 193 int nr_pages) in __pcpu_map_pages()
|
D | process_vm_access.c | 81 unsigned long nr_pages; in process_vm_rw_single_vec() local 162 unsigned long nr_pages = 0; in process_vm_rw_core() local
|
D | vmscan.c | 1142 unsigned int nr_pages; in shrink_page_list() local 1726 unsigned long scan, total_scan, nr_pages; in isolate_lru_pages() local 1916 int nr_pages, nr_moved = 0; in move_pages_to_lru() local 3429 unsigned long nr_pages, in try_to_free_mem_cgroup_pages() 4325 const unsigned long nr_pages = 1 << order; in __node_reclaim() local 4440 int nr_pages; in check_move_unevictable_pages() local
|
D | page_alloc.c | 723 int nr_pages = 1 << order; in prep_compound_page() local 1630 unsigned int nr_pages = 1 << order; in __free_pages_core() local 1783 unsigned long nr_pages) in deferred_free_range() 1873 unsigned long nr_pages = 0; in deferred_init_pages() local 1938 unsigned long nr_pages = 0; in deferred_init_maxorder() local 2102 unsigned long nr_pages = 0; in deferred_grow_zone() local 6399 unsigned long nr_pages, in memmap_init_zone_device() 8719 unsigned long nr_pages = 0; in alloc_contig_dump_pages() local 8978 unsigned long nr_pages, gfp_t gfp_mask) in __alloc_contig_pages() 8988 unsigned long nr_pages) in pfn_range_valid_contig() [all …]
|
D | page-writeback.c | 282 unsigned long nr_pages = 0; in node_dirtyable_memory() local 317 unsigned long nr_pages; in highmem_dirtyable_memory() local 507 unsigned long nr_pages = 0; in node_dirty_ok() local 2182 int nr_pages; in write_cache_pages() local
|
D | filemap.c | 515 int nr_pages; in __filemap_fdatawait_range() local 1981 pgoff_t end, unsigned int nr_pages, in find_get_pages_range() 2047 unsigned int nr_pages, struct page **pages) in find_get_pages_contig() 2103 pgoff_t end, xa_mark_t tag, unsigned int nr_pages, in find_get_pages_range_tag()
|
D | workingset.c | 227 void workingset_age_nonresident(struct lruvec *lruvec, unsigned long nr_pages) in workingset_age_nonresident()
|
D | sparse-vmemmap.c | 252 unsigned long nr_pages, int nid, struct vmem_altmap *altmap) in __populate_section_memmap()
|
D | percpu-internal.h | 80 int nr_pages; /* # of pages served by this chunk */ member
|
D | hugetlb.c | 1253 int nr_pages = 1 << order; in destroy_compound_gigantic_page() local 1287 unsigned long nr_pages = 1UL << huge_page_order(h); in alloc_gigantic_page() local 1562 int nr_pages = 1 << order; in prep_compound_gigantic_page() local 2113 unsigned long nr_pages; in return_unused_surplus_pages() local 4895 unsigned long *position, unsigned long *nr_pages, in follow_hugetlb_page()
|