/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() local 254 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() 470 unsigned long nr_pages) in remove_pfn_range_from_zone() 495 static void __remove_section(unsigned long pfn, unsigned long nr_pages, in __remove_section() 518 void __remove_pages(unsigned long pfn, unsigned long nr_pages, in __remove_pages() 610 static int online_pages_range(unsigned long start_pfn, unsigned long nr_pages, in online_pages_range() 638 static void node_states_check_changes_online(unsigned long nr_pages, in node_states_check_changes_online() 670 unsigned long nr_pages) in resize_zone_range() 681 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() 800 unsigned long nr_pages, struct vmem_altmap *altmap) in section_activate() [all …]
|
D | hugetlb_cgroup.c | 128 unsigned int nr_pages; in hugetlb_cgroup_move_parent() local 181 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 | percpu-km.c | 49 const int nr_pages = pcpu_group_sizes[0] >> PAGE_SHIFT; in pcpu_create_chunk() local 83 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 | 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() local 93 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 | memcontrol.c | 586 unsigned long nr_pages = page_counter_read(&memcg->memory); in soft_limit_excess() local 834 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 …]
|
D | page_ext.c | 139 unsigned long nr_pages; in alloc_node_page_ext() local 287 unsigned long nr_pages, in online_page_ext() 322 unsigned long nr_pages, int nid) in offline_page_ext()
|
D | migrate.c | 549 int nr_pages) in __copy_gigantic_page() 568 int nr_pages; in copy_huge_page() local 1595 unsigned long nr_pages, in do_pages_move() 1692 static void do_pages_stat_array(struct mm_struct *mm, unsigned long nr_pages, in do_pages_stat_array() 1731 static int do_pages_stat(struct mm_struct *mm, unsigned long nr_pages, in do_pages_stat() 1765 static int kernel_move_pages(pid_t pid, unsigned long nr_pages, in kernel_move_pages() 1827 SYSCALL_DEFINE6(move_pages, pid_t, pid, unsigned long, nr_pages, in SYSCALL_DEFINE6() argument 1836 COMPAT_SYSCALL_DEFINE6(move_pages, pid_t, pid, compat_ulong_t, nr_pages, in COMPAT_SYSCALL_DEFINE6() argument 2644 long nr_pages = (args->end - args->start) >> PAGE_SHIFT; in migrate_vma_setup() local
|
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 | readahead.c | 117 struct list_head *pages, unsigned int nr_pages, gfp_t gfp) in read_pages() 164 unsigned int nr_pages = 0; in __do_page_cache_readahead() local
|
D | process_vm_access.c | 84 unsigned long nr_pages; in process_vm_rw_single_vec() local 162 unsigned long nr_pages = 0; in process_vm_rw_core() local
|
D | mlock.c | 184 int nr_pages; in munlock_vma_page() local 524 int nr_pages; in mlock_fixup() local
|
D | gup_benchmark.c | 26 unsigned long i, nr_pages, addr, next; in __gup_benchmark_ioctl() local
|
D | vmscan.c | 1140 unsigned int nr_pages; in shrink_page_list() local 1693 unsigned long scan, total_scan, nr_pages; in isolate_lru_pages() local 1882 int nr_pages, nr_moved = 0; in move_pages_to_lru() local 3347 unsigned long nr_pages, in try_to_free_mem_cgroup_pages() 4209 const unsigned long nr_pages = 1 << order; in __node_reclaim() local
|
D | page-writeback.c | 279 unsigned long nr_pages = 0; in node_dirtyable_memory() local 314 unsigned long nr_pages; in highmem_dirtyable_memory() local 505 unsigned long nr_pages = 0; in node_dirty_ok() local 2166 int nr_pages; in write_cache_pages() local
|
D | hugetlb.c | 1054 int nr_pages = 1 << order; in destroy_compound_gigantic_page() local 1074 unsigned long nr_pages, gfp_t gfp_mask) in __alloc_gigantic_page() 1082 unsigned long start_pfn, unsigned long nr_pages) in pfn_range_valid_gigantic() 1109 unsigned long start_pfn, unsigned long nr_pages) in zone_spans_last_pfn() 1119 unsigned long nr_pages = 1 << order; in alloc_gigantic_page() local 1384 int nr_pages = 1 << order; in prep_compound_gigantic_page() local 1917 unsigned long nr_pages; in return_unused_surplus_pages() local 4389 unsigned long *position, unsigned long *nr_pages, in follow_hugetlb_page()
|
D | filemap.c | 509 int nr_pages; in __filemap_fdatawait_range() local 1792 pgoff_t end, unsigned int nr_pages, in find_get_pages_range() 1858 unsigned int nr_pages, struct page **pages) in find_get_pages_contig() 1914 pgoff_t end, xa_mark_t tag, unsigned int nr_pages, in find_get_pages_range_tag()
|
D | sparse-vmemmap.c | 249 unsigned long nr_pages, int nid, struct vmem_altmap *altmap) in __populate_section_memmap()
|
D | percpu-internal.h | 58 int nr_pages; /* # of pages served by this chunk */ member
|
D | page_alloc.c | 692 int nr_pages = 1 << order; in prep_compound_page() local 1444 unsigned int nr_pages = 1 << order; in __free_pages_core() local 1583 unsigned long nr_pages) in deferred_free_range() 1674 unsigned long nr_pages = 0; in deferred_init_pages() local 1740 unsigned long nr_pages = 0; in deferred_init_maxorder() local 1783 unsigned long spfn = 0, epfn = 0, nr_pages = 0; in deferred_init_memmap() local 1861 unsigned long nr_pages = 0; in deferred_grow_zone() local 8519 void free_contig_range(unsigned long pfn, unsigned int nr_pages) in free_contig_range()
|
D | internal.h | 330 int nr_pages = hpage_nr_pages(page); in mlock_migrate_page() local
|
D | swap_state.c | 597 int init_swap_address_space(unsigned int type, unsigned long nr_pages) in init_swap_address_space()
|
D | mmap.c | 565 unsigned long nr_pages = 0; in count_vma_pages_range() local 1736 unsigned long nr_pages; in mmap_region() local
|