Home
last modified time | relevance | path

Searched defs:nr_pages (Results 26 – 50 of 309) sorted by relevance

12345678910>>...13

/openbmc/linux/fs/iomap/
H A Dswapfile.c19 unsigned long nr_pages; /* number of pages collected */ member
33 unsigned long nr_pages; in iomap_swapfile_add_extent() local
/openbmc/linux/mm/
H A Dmigrate.c1529 int rc, nr_pages; in migrate_hugetlbs() local
1629 int rc, rc_saved = 0, nr_pages; in migrate_pages_batch() local
1900 int nr_pages; in migrate_pages() local
2141 int start, int i, unsigned long nr_pages) in move_pages_and_store_status()
2170 unsigned long nr_pages, in do_pages_move()
2275 static void do_pages_stat_array(struct mm_struct *mm, unsigned long nr_pages, in do_pages_stat_array()
2338 static int do_pages_stat(struct mm_struct *mm, unsigned long nr_pages, in do_pages_stat()
2422 static int kernel_move_pages(pid_t pid, unsigned long nr_pages, in kernel_move_pages()
2452 SYSCALL_DEFINE6(move_pages, pid_t, pid, unsigned long, nr_pages, in SYSCALL_DEFINE6() argument
2506 int nr_pages = thp_nr_pages(page); in numamigrate_isolate_page() local
[all …]
H A Dmemcontrol.c267 unsigned int nr_pages; in obj_cgroup_release() local
939 int nr_pages) in mem_cgroup_charge_statistics()
1385 int zid, int nr_pages) in mem_cgroup_update_lru_size()
2182 unsigned int nr_pages; member
2384 unsigned int nr_pages, in reclaim_high()
2523 unsigned int nr_pages, in calculate_high_delay()
2638 unsigned int nr_pages) in try_charge_memcg()
3099 unsigned int nr_pages) in obj_cgroup_charge_pages()
3332 unsigned int nr_pages = 0; in refill_obj_stock() local
3850 unsigned long nr_pages; in mem_cgroup_write() local
[all …]
H A Dpage_ext.c180 unsigned long nr_pages; in alloc_node_page_ext() local
355 unsigned long nr_pages, in online_page_ext()
388 unsigned long nr_pages) in offline_page_ext()
H A Dmlock.c124 int nr_pages = folio_nr_pages(folio); in __munlock_folio() local
251 int nr_pages = folio_nr_pages(folio); in mlock_folio() local
271 int nr_pages = folio_nr_pages(folio); in mlock_new_folio() local
418 int nr_pages; in mlock_fixup() local
H A Dpercpu-vm.c135 static void __pcpu_unmap_pages(unsigned long addr, int nr_pages) in __pcpu_unmap_pages()
194 int nr_pages) in __pcpu_map_pages()
/openbmc/linux/drivers/net/ethernet/ibm/ehea/
H A Dehea_qmr.c93 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
/openbmc/linux/include/linux/
H A Dgfp.h193 alloc_pages_bulk_list(gfp_t gfp, unsigned long nr_pages, struct list_head *list) in alloc_pages_bulk_list()
199 alloc_pages_bulk_array(gfp_t gfp, unsigned long nr_pages, struct page **page_array) in alloc_pages_bulk_array()
205 alloc_pages_bulk_array_node(gfp_t gfp, int nid, unsigned long nr_pages, struct page **page_array) in alloc_pages_bulk_array_node()
/openbmc/linux/arch/arm/xen/
H A Dp2m.c25 unsigned long nr_pages; member
151 unsigned long mfn, unsigned long nr_pages) in __set_phys_to_machine_multi()
/openbmc/linux/net/9p/
H A Dtrans_common.c16 void p9_release_pages(struct page **pages, int nr_pages) in p9_release_pages()
/openbmc/linux/drivers/hwtracing/coresight/
H A Dcoresight-tmc-etr.c43 int nr_pages; member
121 tmc_etr_sg_table_entries(int nr_pages) in tmc_etr_sg_table_entries()
193 int i, nr_pages; in tmc_pages_alloc() local
1262 int nr_pages, void **pages, bool snapshot) in alloc_etr_buf()
1300 struct perf_event *event, int nr_pages, in get_perf_etr_buf_cpu_wide()
1364 struct perf_event *event, int nr_pages, in get_perf_etr_buf_per_thread()
1376 int nr_pages, void **pages, bool snapshot) in get_perf_etr_buf()
1388 int nr_pages, void **pages, bool snapshot) in tmc_etr_setup_perf_buf()
1421 int nr_pages, bool snapshot) in tmc_alloc_etr_buffer()
/openbmc/linux/arch/arm/mach-rpc/include/mach/
H A Duncompress.h20 unsigned long nr_pages; member
116 unsigned int nr_pages = 0, page_size = PAGE_SIZE; in arch_decomp_setup() local
/openbmc/linux/fs/
H A Dfs-writeback.c43 long nr_pages; member
927 static long wb_split_bdi_pages(struct bdi_writeback *wb, long nr_pages) in wb_split_bdi_pages()
972 long nr_pages; in bdi_split_work_to_wbs() local
1184 static long wb_split_bdi_pages(struct bdi_writeback *wb, long nr_pages) in wb_split_bdi_pages()
2002 static long writeback_inodes_wb(struct bdi_writeback *wb, long nr_pages, in writeback_inodes_wb()
2042 long nr_pages = work->nr_pages; in wb_writeback() local
2176 long nr_pages; in wb_check_old_data_flush() local
2209 long nr_pages; in wb_check_start_all() local
/openbmc/linux/tools/testing/nvdimm/
H A Dpmem-dax.c12 long nr_pages, enum dax_access_mode mode, void **kaddr, in __pmem_direct_access()
/openbmc/linux/drivers/s390/char/
H A Dvmcp.c63 int nr_pages, order; in vmcp_response_alloc() local
84 int nr_pages, order; in vmcp_response_free() local
/openbmc/linux/arch/loongarch/mm/
H A Dinit.c96 unsigned long nr_pages = size >> PAGE_SHIFT; in arch_add_memory() local
111 unsigned long nr_pages = size >> PAGE_SHIFT; in arch_remove_memory() local
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/
H A Dsetup.c38 unsigned long nr_pages; in divide_memory_pool() local
262 unsigned long nr_pages, reserved_pages, pfn; in __pkvm_init_finalise() local
H A Dmem_protect.c101 unsigned long nr_pages, pfn; in prepare_s2_pool() local
235 unsigned long nr_pages; in kvm_guest_prepare_stage2() local
544 u64 nr_pages; member
1152 int __pkvm_host_donate_hyp(u64 pfn, u64 nr_pages) in __pkvm_host_donate_hyp()
1184 int __pkvm_hyp_donate_host(u64 pfn, u64 nr_pages) in __pkvm_hyp_donate_host()
1261 int __pkvm_host_share_ffa(u64 pfn, u64 nr_pages) in __pkvm_host_share_ffa()
1284 int __pkvm_host_unshare_ffa(u64 pfn, u64 nr_pages) in __pkvm_host_unshare_ffa()
/openbmc/linux/fs/smb/client/
H A Dfscache.h83 pgoff_t first, unsigned int nr_pages, in cifs_fscache_query_occupancy()
135 pgoff_t first, unsigned int nr_pages, in cifs_fscache_query_occupancy()
/openbmc/linux/drivers/nvdimm/
H A Dpmem.c244 long nr_pages, enum dax_access_mode mode, void **kaddr, in __pmem_direct_access()
295 size_t nr_pages) in pmem_dax_zero_page_range()
305 pgoff_t pgoff, long nr_pages, enum dax_access_mode mode, in pmem_dax_direct_access()
435 unsigned long pfn, unsigned long nr_pages, int mf_flags) in pmem_pagemap_memory_failure()
/openbmc/linux/block/
H A Dfops.c47 struct iov_iter *iter, unsigned int nr_pages) in __blkdev_direct_IO_simple()
163 unsigned int nr_pages) in __blkdev_direct_IO()
303 unsigned int nr_pages) in __blkdev_direct_IO_async()
368 unsigned int nr_pages; in blkdev_direct_IO() local
/openbmc/linux/drivers/md/
H A Ddm-linear.c169 long nr_pages, enum dax_access_mode mode, void **kaddr, in linear_dax_direct_access()
178 size_t nr_pages) in linear_dax_zero_page_range()
/openbmc/linux/kernel/power/
H A Dsnapshot.c1655 static unsigned long preallocate_image_pages(unsigned long nr_pages, gfp_t mask) in preallocate_image_pages()
1677 static unsigned long preallocate_image_memory(unsigned long nr_pages, in preallocate_image_memory()
1693 static unsigned long preallocate_image_highmem(unsigned long nr_pages) in preallocate_image_highmem()
1706 static unsigned long preallocate_highmem_fraction(unsigned long nr_pages, in preallocate_highmem_fraction()
1715 static inline unsigned long preallocate_image_highmem(unsigned long nr_pages) in preallocate_image_highmem()
1720 static inline unsigned long preallocate_highmem_fraction(unsigned long nr_pages, in preallocate_highmem_fraction()
2017 static int enough_free_mem(unsigned int nr_pages, unsigned int nr_highmem) in enough_free_mem()
2088 unsigned int nr_pages, unsigned int nr_highmem) in swsusp_alloc()
2119 unsigned int nr_pages, nr_highmem; in swsusp_save() local
2631 unsigned int nr_pages, nr_highmem; in prepare_image() local
/openbmc/linux/drivers/firmware/efi/libstub/
H A Dmem.c123 unsigned long nr_pages; in efi_free() local
/openbmc/linux/drivers/base/
H A Dmemory.c189 unsigned long nr_pages = PAGES_PER_SECTION * sections_per_block; in memory_block_online() local
245 unsigned long nr_pages = PAGES_PER_SECTION * sections_per_block; in memory_block_offline() local
416 unsigned long start_pfn, unsigned long nr_pages, in print_allowed_zone()
433 unsigned long nr_pages = PAGES_PER_SECTION * sections_per_block; in valid_zones_show() local
685 const unsigned long nr_pages = PAGES_PER_SECTION * sections_per_block; in early_node_zone_for_memory_block() local

12345678910>>...13