Home
last modified time | relevance | path

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

12345678910>>...12

/linux/mm/
A Dpage_counter.c50 void page_counter_cancel(struct page_counter *counter, unsigned long nr_pages) in page_counter_cancel()
71 void page_counter_charge(struct page_counter *counter, unsigned long nr_pages) in page_counter_charge()
99 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()
A Dsparse.c186 unsigned long nr_pages) in subsection_mask_set()
194 void __init subsection_map_init(unsigned long pfn, unsigned long nr_pages) in subsection_map_init()
220 void __init subsection_map_init(unsigned long pfn, unsigned long nr_pages) in subsection_map_init()
430 unsigned long nr_pages, int nid, struct vmem_altmap *altmap) in __populate_section_memmap()
632 unsigned long nr_pages, int nid, struct vmem_altmap *altmap) in populate_section_memmap()
703 unsigned long nr_pages, int nid, struct vmem_altmap *altmap) in populate_section_memmap()
718 unsigned long magic, nr_pages; in free_map_bootmem() local
826 unsigned long nr_pages, struct vmem_altmap *altmap) in section_activate()
886 unsigned long nr_pages, struct vmem_altmap *altmap) in sparse_add_section()
920 static void clear_hwpoisoned_pages(struct page *memmap, int nr_pages) in clear_hwpoisoned_pages()
[all …]
A Dhugetlb_cgroup.c161 unsigned int nr_pages; in hugetlb_cgroup_move_parent() local
228 static int __hugetlb_cgroup_charge_cgroup(int idx, unsigned long nr_pages, in __hugetlb_cgroup_charge_cgroup()
271 int hugetlb_cgroup_charge_cgroup(int idx, unsigned long nr_pages, in hugetlb_cgroup_charge_cgroup()
277 int hugetlb_cgroup_charge_cgroup_rsvd(int idx, unsigned long nr_pages, in hugetlb_cgroup_charge_cgroup_rsvd()
295 void hugetlb_cgroup_commit_charge(int idx, unsigned long nr_pages, in hugetlb_cgroup_commit_charge()
302 void hugetlb_cgroup_commit_charge_rsvd(int idx, unsigned long nr_pages, in hugetlb_cgroup_commit_charge_rsvd()
335 void hugetlb_cgroup_uncharge_page(int idx, unsigned long nr_pages, in hugetlb_cgroup_uncharge_page()
341 void hugetlb_cgroup_uncharge_page_rsvd(int idx, unsigned long nr_pages, in hugetlb_cgroup_uncharge_page_rsvd()
365 void hugetlb_cgroup_uncharge_cgroup(int idx, unsigned long nr_pages, in hugetlb_cgroup_uncharge_cgroup()
391 unsigned long nr_pages, in hugetlb_cgroup_uncharge_file_region()
[all …]
A Dmemory_hotplug.c462 unsigned long nr_pages) in remove_pfn_range_from_zone()
641 unsigned long nr_pages) in resize_zone_range()
652 unsigned long nr_pages) in resize_pgdat_range()
680 unsigned long nr_pages, in move_pfn_range_to_zone()
773 unsigned long nr_pages) in auto_movable_can_online_movable()
827 unsigned long nr_pages) in default_kernel_zone_for_pfn()
895 unsigned long nr_pages) in auto_movable_zone_for_pfn()
954 unsigned long nr_pages) in default_zone_for_pfn()
979 unsigned long nr_pages) in zone_for_pfn_range()
998 long nr_pages) in adjust_present_page_count()
[all …]
A Dgup_test.c10 unsigned long nr_pages, unsigned int gup_test_flags) in put_back_pages()
39 unsigned long nr_pages) in verify_dma_pinned()
68 unsigned long nr_pages) in dump_pages_test()
102 unsigned long i, nr_pages, addr, next; in __gup_test_ioctl() local
A Dgup.c1082 unsigned long start, unsigned long nr_pages, in __get_user_pages()
1311 unsigned long nr_pages, in __get_user_pages_locked()
1461 unsigned long nr_pages = (end - start) / PAGE_SIZE; in populate_vma_page_range() local
1523 unsigned long nr_pages = (end - start) / PAGE_SIZE; in faultin_vma_page_range() local
1618 unsigned long nr_pages, struct page **pages, in __get_user_pages_locked()
1727 unsigned long nr_pages; in fault_in_safe_writeable() local
1921 unsigned long nr_pages, in __gup_longterm_locked()
2055 unsigned long start, unsigned long nr_pages, in get_user_pages_remote()
2069 unsigned long start, unsigned long nr_pages, in get_user_pages_remote()
2835 unsigned long nr_pages, in internal_get_user_pages_fast()
[all …]
A Dpercpu-km.c55 const int nr_pages = pcpu_group_sizes[0] >> PAGE_SHIFT; in pcpu_create_chunk() local
89 const int nr_pages = pcpu_group_sizes[0] >> PAGE_SHIFT; in pcpu_destroy_chunk() local
109 size_t nr_pages, alloc_pages; in pcpu_verify_alloc_info() local
A Dswap.c266 void lru_note_cost(struct lruvec *lruvec, bool file, unsigned int nr_pages) in lru_note_cost()
315 long nr_pages = folio_nr_pages(folio); in __folio_activate() local
491 int nr_pages = thp_nr_pages(page); in lru_cache_add_inactive_or_unevictable() local
527 int nr_pages = thp_nr_pages(page); in lru_deactivate_file_fn() local
567 int nr_pages = thp_nr_pages(page); in lru_deactivate_fn() local
584 int nr_pages = thp_nr_pages(page); in lru_lazyfree_fn() local
1008 long nr_pages = folio_nr_pages(folio); in __pagevec_lru_add_fn() local
A Dpage_isolation.c42 unsigned long nr_pages; in set_migratetype_isolate() local
70 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()
A Dmlock.c62 int nr_pages; in clear_page_mlock() local
100 int nr_pages = thp_nr_pages(page); in mlock_vma_page() local
142 int nr_pages = thp_nr_pages(page); in __munlock_isolation_failed() local
170 int nr_pages; in munlock_vma_page() local
501 int nr_pages; in mlock_fixup() local
A Dcma_sysfs.c17 void cma_sysfs_account_success_pages(struct cma *cma, unsigned long nr_pages) in cma_sysfs_account_success_pages()
22 void cma_sysfs_account_fail_pages(struct cma *cma, unsigned long nr_pages) in cma_sysfs_account_fail_pages()
A Dcma.h48 unsigned long nr_pages) {}; in cma_sysfs_account_success_pages()
50 unsigned long nr_pages) {}; in cma_sysfs_account_fail_pages()
A Dmemcontrol.c271 unsigned int nr_pages; in obj_cgroup_release() local
811 int nr_pages) in mem_cgroup_charge_statistics()
1258 int zid, int nr_pages) in mem_cgroup_update_lru_size()
2095 unsigned int nr_pages; member
2278 unsigned int nr_pages, in reclaim_high()
2416 unsigned int nr_pages, in calculate_high_delay()
2531 unsigned int nr_pages) in try_charge_memcg()
2998 unsigned int nr_pages) in obj_cgroup_charge_pages()
3214 unsigned int nr_pages = 0; in refill_obj_stock() local
3723 unsigned long nr_pages; in mem_cgroup_write() local
[all …]
A Dpage_ext.c156 unsigned long nr_pages; in alloc_node_page_ext() local
303 unsigned long nr_pages, in online_page_ext()
335 unsigned long nr_pages, int nid) in offline_page_ext()
/linux/include/linux/
A Dhugetlb_cgroup.h173 unsigned long nr_pages, in hugetlb_cgroup_uncharge_file_region()
226 static inline int hugetlb_cgroup_charge_cgroup(int idx, unsigned long nr_pages, in hugetlb_cgroup_charge_cgroup()
233 unsigned long nr_pages, in hugetlb_cgroup_charge_cgroup_rsvd()
239 static inline void hugetlb_cgroup_commit_charge(int idx, unsigned long nr_pages, in hugetlb_cgroup_commit_charge()
246 hugetlb_cgroup_commit_charge_rsvd(int idx, unsigned long nr_pages, in hugetlb_cgroup_commit_charge_rsvd()
252 static inline void hugetlb_cgroup_uncharge_page(int idx, unsigned long nr_pages, in hugetlb_cgroup_uncharge_page()
258 unsigned long nr_pages, in hugetlb_cgroup_uncharge_page_rsvd()
263 unsigned long nr_pages, in hugetlb_cgroup_uncharge_cgroup()
269 hugetlb_cgroup_uncharge_cgroup_rsvd(int idx, unsigned long nr_pages, in hugetlb_cgroup_uncharge_cgroup_rsvd()
/linux/drivers/xen/
A Dunpopulated-alloc.c18 static int fill_list(unsigned int nr_pages) in fill_list()
111 int xen_alloc_unpopulated_pages(unsigned int nr_pages, struct page **pages) in xen_alloc_unpopulated_pages()
159 void xen_free_unpopulated_pages(unsigned int nr_pages, struct page **pages) in xen_free_unpopulated_pages()
A Dballoon.c403 static enum bp_state increase_reservation(unsigned long nr_pages) in increase_reservation()
442 static enum bp_state decrease_reservation(unsigned long nr_pages, gfp_t gfp) in decrease_reservation()
585 static int add_ballooned_pages(unsigned int nr_pages) in add_ballooned_pages()
618 int xen_alloc_unpopulated_pages(unsigned int nr_pages, struct page **pages) in xen_alloc_unpopulated_pages()
671 void xen_free_unpopulated_pages(unsigned int nr_pages, struct page **pages) in xen_free_unpopulated_pages()
/linux/fs/ntfs/
A Dfile.c493 pgoff_t index, const unsigned nr_pages, struct page **pages, in __ntfs_grab_cache_pages()
569 unsigned nr_pages, s64 pos, size_t bytes) in ntfs_prepare_pages_for_non_resident_write()
1359 unsigned nr_pages) in ntfs_flush_dcache_pages()
1383 struct page **pages, const unsigned nr_pages, in ntfs_commit_pages_after_non_resident_write()
1538 const unsigned nr_pages, s64 pos, size_t bytes) in ntfs_commit_pages_after_write()
1683 static size_t ntfs_copy_from_user_iter(struct page **pages, unsigned nr_pages, in ntfs_copy_from_user_iter()
1738 unsigned nr_pages; in ntfs_perform_write() local
/linux/net/rds/
A Drdma.c154 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
614 int nr_pages; in rds_cmsg_rdma_args() local
/linux/arch/arm64/kvm/hyp/include/nvhe/
A Dmm.h33 unsigned long nr_pages = size >> PAGE_SHIFT; in hyp_vmemmap_range() local
42 static inline unsigned long __hyp_pgtable_max_pages(unsigned long nr_pages) in __hyp_pgtable_max_pages()
/linux/drivers/firmware/efi/libstub/
A Drelocate.c29 unsigned long nr_pages; in efi_low_alloc_above() local
129 unsigned long nr_pages; in efi_relocate_kernel() local
/linux/drivers/media/v4l2-core/
A Dvideobuf-dma-sg.c63 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/arch/powerpc/platforms/powernv/
A Dmemtrace.c92 unsigned long nr_pages) in memtrace_clear_range()
113 const unsigned long nr_pages = PHYS_PFN(size); in memtrace_alloc_node() local
216 const unsigned long nr_pages = PHYS_PFN(size); in memtrace_free() local
/linux/drivers/virtio/
A Dvirtio_mem.c889 const unsigned long nr_pages = PFN_DOWN(vm->sbm.sb_size); in virtio_mem_sbm_notify_going_offline() local
905 const unsigned long nr_pages = PFN_DOWN(vm->sbm.sb_size); in virtio_mem_sbm_notify_cancel_offline() local
921 unsigned long nr_pages) in virtio_mem_bbm_notify_going_offline()
936 unsigned long nr_pages) in virtio_mem_bbm_notify_cancel_offline()
1085 unsigned long nr_pages, bool onlined) in virtio_mem_set_fake_offline()
1106 unsigned long nr_pages, bool onlined) in virtio_mem_clear_fake_offline()
1194 unsigned long nr_pages) in virtio_mem_fake_offline_going_offline()
1218 unsigned long nr_pages) in virtio_mem_fake_offline_cancel_offline()
1617 unsigned long pfn, nr_pages; in virtio_mem_sbm_plug_any_sb() local
2066 const unsigned long nr_pages = PFN_DOWN(vm->bbm.bb_size); in virtio_mem_bbm_offline_remove_and_unplug_bb() local
[all …]
/linux/fs/iomap/
A Dswapfile.c19 unsigned long nr_pages; /* number of pages collected */ member
33 unsigned long nr_pages; in iomap_swapfile_add_extent() local

Completed in 103 milliseconds

12345678910>>...12