Home
last modified time | relevance | path

Searched defs:nr_pages (Results 1 – 25 of 30) sorted by relevance

12

/mm/
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
495 unsigned long nr_pages) in __add_pages()
712 int nr_pages = PAGES_PER_SECTION; in __remove_zone() local
757 unsigned long nr_pages) in __remove_pages()
854 static int online_pages_range(unsigned long start_pfn, unsigned long nr_pages, in online_pages_range()
888 static void node_states_check_changes_online(unsigned long nr_pages, in node_states_check_changes_online()
962 int __ref online_pages(unsigned long pfn, unsigned long nr_pages, int online_type) in online_pages()
1178 u64 nr_pages = size >> PAGE_SHIFT; in check_hotplug_memory_range() local
1321 int is_mem_section_removable(unsigned long start_pfn, unsigned long nr_pages) in is_mem_section_removable()
[all …]
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
Dpage_isolation.c59 unsigned long nr_pages; in set_migratetype_isolate() local
78 unsigned long flags, nr_pages; in unset_migratetype_isolate() local
131 __first_valid_page(unsigned long pfn, unsigned long nr_pages) in __first_valid_page()
Dhugetlb_cgroup.c165 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()
229 void hugetlb_cgroup_uncharge_cgroup(int idx, unsigned long nr_pages, in hugetlb_cgroup_uncharge_cgroup()
Dmigrate.c476 int nr_pages) in __copy_gigantic_page()
495 int nr_pages; in copy_huge_page() local
1305 unsigned long nr_pages, in do_pages_move()
1390 static void do_pages_stat_array(struct mm_struct *mm, unsigned long nr_pages, in do_pages_stat_array()
1433 static int do_pages_stat(struct mm_struct *mm, unsigned long nr_pages, in do_pages_stat()
1467 SYSCALL_DEFINE6(move_pages, pid_t, pid, unsigned long, nr_pages, in SYSCALL_DEFINE6() argument
1625 unsigned long nr_pages) in numamigrate_update_ratelimit()
Dgup.c422 unsigned long start, unsigned long nr_pages, in __get_user_pages()
634 unsigned long start, unsigned long nr_pages, int write, in get_user_pages()
936 int __get_user_pages_fast(unsigned long start, int nr_pages, int write, in __get_user_pages_fast()
996 int get_user_pages_fast(unsigned long start, int nr_pages, int write, in get_user_pages_fast()
Dpage_cgroup.c49 unsigned long nr_pages; in alloc_node_page_cgroup() local
193 unsigned long nr_pages, in online_page_cgroup()
228 unsigned long nr_pages, int nid) in offline_page_cgroup()
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()
Dmlock.c175 unsigned int nr_pages; in munlock_vma_page() local
231 unsigned long nr_pages = (end - start) / PAGE_SIZE; in __mlock_vma_pages_range() local
560 int nr_pages; in mlock_fixup() local
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()
Dmemory-failure.c1041 int nr_pages = 1 << compound_order(hpage); in set_page_hwpoison_huge_page() local
1049 int nr_pages = 1 << compound_order(hpage); in clear_page_hwpoison_huge_page() local
1078 unsigned int nr_pages; in memory_failure() local
1409 unsigned int nr_pages; in unpoison_memory() local
Dutil.c209 int nr_pages, int write, struct page **pages) in __get_user_pages_fast()
240 int nr_pages, int write, struct page **pages) in get_user_pages_fast()
Dswap.c1069 pgoff_t start, unsigned nr_pages, in pagevec_lookup_entries()
1115 pgoff_t start, unsigned nr_pages) in pagevec_lookup()
1123 pgoff_t *index, int tag, unsigned nr_pages) in pagevec_lookup_tag()
Dprocess_vm_access.c87 unsigned long nr_pages; in process_vm_rw_single_vec() local
155 unsigned long nr_pages = 0; in process_vm_rw_core() local
Dmemcontrol.c903 int nr_pages) in mem_cgroup_charge_statistics()
1403 int nr_pages) in mem_cgroup_update_lru_size()
2297 unsigned int nr_pages; member
2316 static bool consume_stock(struct mem_cgroup *memcg, unsigned int nr_pages) in consume_stock()
2377 static void refill_stock(struct mem_cgroup *memcg, unsigned int nr_pages) in refill_stock()
2504 unsigned int nr_pages) in try_charge()
2612 static void cancel_charge(struct mem_cgroup *memcg, unsigned int nr_pages) in cancel_charge()
2629 unsigned int nr_pages) in __mem_cgroup_cancel_local_charge()
3363 unsigned int nr_pages, in mem_cgroup_move_account()
3460 unsigned int nr_pages; in mem_cgroup_move_parent() local
[all …]
Dhugetlb.c687 int nr_pages = 1 << order; in destroy_compound_gigantic_page() local
706 unsigned long nr_pages) in __alloc_gigantic_page()
713 unsigned long nr_pages) in pfn_range_valid_gigantic()
738 unsigned long start_pfn, unsigned long nr_pages) in zone_spans_last_pfn()
746 unsigned long nr_pages = 1 << order; in alloc_gigantic_page() local
938 int nr_pages = 1 << order; in prep_compound_gigantic_page() local
1321 unsigned long nr_pages; in return_unused_surplus_pages() local
3299 unsigned long *position, unsigned long *nr_pages, in follow_hugetlb_page()
Dfilemap.c337 int nr_pages; in filemap_fdatawait_range() local
1221 unsigned int nr_pages, struct page **pages) in find_get_pages()
1288 unsigned int nr_pages, struct page **pages) in find_get_pages_contig()
1364 int tag, unsigned int nr_pages, struct page **pages) in find_get_pages_tag()
Dvmscan.c1321 int nr_pages; in isolate_lru_pages() local
1681 int nr_pages; in move_active_pages_to_lru() local
2801 unsigned long nr_pages, in try_to_free_mem_cgroup_pages()
3643 const unsigned long nr_pages = 1 << order; in __zone_reclaim() local
3799 void check_move_unevictable_pages(struct page **pages, int nr_pages) in check_move_unevictable_pages()
Dpage-writeback.c185 unsigned long nr_pages; in zone_dirtyable_memory() local
1668 int nr_pages = global_page_state(NR_FILE_DIRTY) + in laptop_mode_timer_fn() local
1841 int nr_pages; in write_cache_pages() local
Dreadahead.c112 struct list_head *pages, unsigned nr_pages) in read_pages()
Dinternal.h259 int nr_pages = hpage_nr_pages(page); in mlock_migrate_page() local
Dnommu.c150 unsigned long start, unsigned long nr_pages, in __get_user_pages()
200 unsigned long start, unsigned long nr_pages, in get_user_pages()
Dpage_alloc.c381 int nr_pages = 1 << order; in prep_compound_page() local
400 int nr_pages = 1 << order; in destroy_compound_page() local
820 unsigned int nr_pages = 1 << order; in __free_pages_bootmem() local
1569 int nr_pages; in split_free_page() local
6479 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()
Dmmap.c619 unsigned long nr_pages = 0; in count_vma_pages_range() local
1582 unsigned long nr_pages; in mmap_region() local

12