/linux-4.1.27/mm/ |
D | page_counter.c | 20 void page_counter_cancel(struct page_counter *counter, unsigned long nr_pages) in page_counter_cancel() 36 void page_counter_charge(struct page_counter *counter, unsigned long nr_pages) in page_counter_charge() 63 unsigned long nr_pages, in page_counter_try_charge() 116 void page_counter_uncharge(struct page_counter *counter, unsigned long nr_pages) in page_counter_uncharge() 176 unsigned long *nr_pages) in page_counter_memparse()
|
D | percpu-km.c | 50 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
|
D | memory_hotplug.c | 247 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() 963 int __ref online_pages(unsigned long pfn, unsigned long nr_pages, int online_type) in online_pages() 1175 u64 nr_pages = size >> PAGE_SHIFT; in check_hotplug_memory_range() local 1318 int is_mem_section_removable(unsigned long start_pfn, unsigned long nr_pages) in is_mem_section_removable() [all …]
|
D | hugetlb_cgroup.c | 112 unsigned int nr_pages; in hugetlb_cgroup_move_parent() local 165 int hugetlb_cgroup_charge_cgroup(int idx, unsigned long nr_pages, in hugetlb_cgroup_charge_cgroup() 197 void hugetlb_cgroup_commit_charge(int idx, unsigned long nr_pages, in hugetlb_cgroup_commit_charge() 211 void hugetlb_cgroup_uncharge_page(int idx, unsigned long nr_pages, in hugetlb_cgroup_uncharge_page() 227 void hugetlb_cgroup_uncharge_cgroup(int idx, unsigned long nr_pages, in hugetlb_cgroup_uncharge_cgroup() 275 unsigned long nr_pages; in hugetlb_cgroup_write() local
|
D | gup.c | 417 unsigned long start, unsigned long nr_pages, in __get_user_pages() 581 unsigned long nr_pages, in __get_user_pages_locked() 696 unsigned long start, unsigned long nr_pages, in get_user_pages_locked() 716 unsigned long start, unsigned long nr_pages, in __get_user_pages_unlocked() 749 unsigned long start, unsigned long nr_pages, in get_user_pages_unlocked() 813 unsigned long start, unsigned long nr_pages, int write, in get_user_pages() 844 unsigned long nr_pages = (end - start) / PAGE_SIZE; in populate_vma_page_range() local 1279 int __get_user_pages_fast(unsigned long start, int nr_pages, int write, in __get_user_pages_fast() 1349 int get_user_pages_fast(unsigned long start, int nr_pages, int write, in get_user_pages_fast()
|
D | page_isolation.c | 59 unsigned long nr_pages; in set_migratetype_isolate() local 78 unsigned long flags, nr_pages; in unset_migratetype_isolate() local 132 __first_valid_page(unsigned long pfn, unsigned long nr_pages) in __first_valid_page()
|
D | page_ext.c | 124 unsigned long nr_pages; in alloc_node_page_ext() local 276 unsigned long nr_pages, in online_page_ext() 311 unsigned long nr_pages, int nid) in offline_page_ext()
|
D | migrate.c | 442 int nr_pages) in __copy_gigantic_page() 461 int nr_pages; in copy_huge_page() local 1296 unsigned long nr_pages, in do_pages_move() 1381 static void do_pages_stat_array(struct mm_struct *mm, unsigned long nr_pages, in do_pages_stat_array() 1424 static int do_pages_stat(struct mm_struct *mm, unsigned long nr_pages, in do_pages_stat() 1458 SYSCALL_DEFINE6(move_pages, pid_t, pid, unsigned long, nr_pages, in SYSCALL_DEFINE6() argument 1581 unsigned long nr_pages) in numamigrate_update_ratelimit()
|
D | percpu-vm.c | 133 static void __pcpu_unmap_pages(unsigned long addr, int nr_pages) in __pcpu_unmap_pages() 192 int nr_pages) in __pcpu_map_pages()
|
D | sparse.c | 198 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()
|
D | memcontrol.c | 676 unsigned long nr_pages = page_counter_read(&memcg->memory); in soft_limit_excess() local 830 int nr_pages) in mem_cgroup_charge_statistics() 1263 int nr_pages) in mem_cgroup_update_lru_size() 2057 unsigned int nr_pages; member 2076 static bool consume_stock(struct mem_cgroup *memcg, unsigned int nr_pages) in consume_stock() 2125 static void refill_stock(struct mem_cgroup *memcg, unsigned int nr_pages) in refill_stock() 2219 unsigned int nr_pages) in try_charge() 2342 static void cancel_charge(struct mem_cgroup *memcg, unsigned int nr_pages) in cancel_charge() 2455 unsigned long nr_pages) in memcg_charge_kmem() 2492 void memcg_uncharge_kmem(struct mem_cgroup *memcg, unsigned long nr_pages) in memcg_uncharge_kmem() [all …]
|
D | swap.c | 1078 pgoff_t start, unsigned nr_pages, in pagevec_lookup_entries() 1124 pgoff_t start, unsigned nr_pages) in pagevec_lookup() 1132 pgoff_t *index, int tag, unsigned nr_pages) in pagevec_lookup_tag()
|
D | util.c | 247 int nr_pages, int write, struct page **pages) in __get_user_pages_fast() 278 int nr_pages, int write, struct page **pages) in get_user_pages_fast()
|
D | mlock.c | 175 int nr_pages; in munlock_vma_page() local 503 int nr_pages; in mlock_fixup() local
|
D | memory-failure.c | 1068 int nr_pages = 1 << compound_order(hpage); in set_page_hwpoison_huge_page() local 1076 int nr_pages = 1 << compound_order(hpage); in clear_page_hwpoison_huge_page() local 1105 unsigned int nr_pages; in memory_failure() local 1433 unsigned int nr_pages; in unpoison_memory() local
|
D | process_vm_access.c | 87 unsigned long nr_pages; in process_vm_rw_single_vec() local 152 unsigned long nr_pages = 0; in process_vm_rw_core() local
|
D | nommu.c | 152 unsigned long start, unsigned long nr_pages, in __get_user_pages() 202 unsigned long start, unsigned long nr_pages, in get_user_pages() 219 unsigned long start, unsigned long nr_pages, in get_user_pages_locked() 229 unsigned long start, unsigned long nr_pages, in __get_user_pages_unlocked() 243 unsigned long start, unsigned long nr_pages, in get_user_pages_unlocked()
|
D | filemap.c | 335 int nr_pages; in filemap_fdatawait_range() local 1219 unsigned int nr_pages, struct page **pages) in find_get_pages() 1286 unsigned int nr_pages, struct page **pages) in find_get_pages_contig() 1362 int tag, unsigned int nr_pages, struct page **pages) in find_get_pages_tag()
|
D | hugetlb.c | 761 int nr_pages = 1 << order; in destroy_compound_gigantic_page() local 780 unsigned long nr_pages) in __alloc_gigantic_page() 787 unsigned long nr_pages) in pfn_range_valid_gigantic() 812 unsigned long start_pfn, unsigned long nr_pages) in zone_spans_last_pfn() 820 unsigned long nr_pages = 1 << order; in alloc_gigantic_page() local 1019 int nr_pages = 1 << order; in prep_compound_gigantic_page() local 1398 unsigned long nr_pages; in return_unused_surplus_pages() local 3387 unsigned long *position, unsigned long *nr_pages, in follow_hugetlb_page()
|
D | vmscan.c | 1320 int nr_pages; in isolate_lru_pages() local 1680 int nr_pages; in move_active_pages_to_lru() local 2836 unsigned long nr_pages, in try_to_free_mem_cgroup_pages() 3664 const unsigned long nr_pages = 1 << order; in __zone_reclaim() local 3782 void check_move_unevictable_pages(struct page **pages, int nr_pages) in check_move_unevictable_pages()
|
D | page-writeback.c | 185 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
|
D | readahead.c | 112 struct list_head *pages, unsigned nr_pages) in read_pages()
|
D | internal.h | 280 int nr_pages = hpage_nr_pages(page); in mlock_migrate_page() local
|
D | swapfile.c | 162 pgoff_t start_page, pgoff_t nr_pages) in discard_swap_cluster() 1648 unsigned long nr_pages, sector_t start_block) in add_swap_extent()
|
D | page_alloc.c | 368 int nr_pages = 1 << order; in prep_compound_page() local 858 unsigned int nr_pages = 1 << order; in __free_pages_bootmem() local 1708 int nr_pages; in split_free_page() local 6541 void free_contig_range(unsigned long pfn, unsigned nr_pages) in free_contig_range()
|
D | mmap.c | 590 unsigned long nr_pages = 0; in count_vma_pages_range() local 1541 unsigned long nr_pages; in mmap_region() local
|
/linux-4.1.27/include/linux/ |
D | hugetlb_cgroup.h | 87 hugetlb_cgroup_charge_cgroup(int idx, unsigned long nr_pages, in hugetlb_cgroup_charge_cgroup() 94 hugetlb_cgroup_commit_charge(int idx, unsigned long nr_pages, in hugetlb_cgroup_commit_charge() 102 hugetlb_cgroup_uncharge_page(int idx, unsigned long nr_pages, struct page *page) in hugetlb_cgroup_uncharge_page() 108 hugetlb_cgroup_uncharge_cgroup(int idx, unsigned long nr_pages, in hugetlb_cgroup_uncharge_cgroup()
|
D | mm_inline.h | 28 int nr_pages = hpage_nr_pages(page); in add_page_to_lru_list() local 37 int nr_pages = hpage_nr_pages(page); in del_page_from_lru_list() local
|
D | memory.h | 50 unsigned long nr_pages; member 65 unsigned int nr_pages; /* # pages in range to check */ member
|
D | quicklist.h | 18 int nr_pages; member
|
D | memory_hotplug.h | 251 unsigned long nr_pages) in is_mem_section_removable() 258 static inline int offline_pages(unsigned long start_pfn, unsigned long nr_pages) in offline_pages()
|
D | splice.h | 56 int nr_pages; /* number of populated pages in map */ member
|
D | vmalloc.h | 37 unsigned int nr_pages; member
|
D | vmstat.h | 280 static inline void __mod_zone_freepage_state(struct zone *zone, int nr_pages, in __mod_zone_freepage_state()
|
D | fscache.h | 594 unsigned *nr_pages, in fscache_read_or_alloc_pages()
|
D | swap.h | 131 pgoff_t nr_pages; member
|
D | edac.h | 558 u32 nr_pages; /* number of pages on this dimm */ member
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | drm_buffer.c | 46 int nr_pages = size / PAGE_SIZE + 1; in drm_buffer_alloc() local 100 int nr_pages = size / PAGE_SIZE + 1; in drm_buffer_copy_from_user() local 134 int nr_pages = buf->size / PAGE_SIZE + 1; in drm_buffer_free() local
|
/linux-4.1.27/drivers/xen/ |
D | balloon.c | 326 static enum bp_state increase_reservation(unsigned long nr_pages) in increase_reservation() 396 static enum bp_state decrease_reservation(unsigned long nr_pages, gfp_t gfp) in decrease_reservation() 531 int alloc_xenballooned_pages(int nr_pages, struct page **pages, bool highmem) in alloc_xenballooned_pages() 567 void free_xenballooned_pages(int nr_pages, struct page **pages) in free_xenballooned_pages()
|
D | privcmd.c | 425 unsigned long nr_pages; in privcmd_ioctl_mmap_batch() local 639 unsigned long nr_pages) in privcmd_vma_range_is_mapped()
|
D | grant-table.c | 686 int gnttab_alloc_pages(int nr_pages, struct page **pages) in gnttab_alloc_pages() 718 void gnttab_free_pages(int nr_pages, struct page **pages) in gnttab_free_pages()
|
D | swiotlb-xen.c | 115 int nr_pages; in check_pages_physically_contiguous() local
|
/linux-4.1.27/net/rds/ |
D | rdma.c | 157 static int rds_pin_pages(unsigned long user_addr, unsigned int nr_pages, in rds_pin_pages() 177 unsigned int nr_pages; in __rds_rdma_map() local 487 unsigned int nr_pages; in rds_rdma_pages() local 514 unsigned int nr_pages; in rds_rdma_extra_size() local 551 int nr_pages; in rds_cmsg_rdma_args() local
|
D | info.c | 163 unsigned long nr_pages = 0; in rds_info_getsockopt() local
|
/linux-4.1.27/fs/ntfs/ |
D | file.c | 509 pgoff_t index, const unsigned nr_pages, struct page **pages, in __ntfs_grab_cache_pages() 584 unsigned nr_pages, s64 pos, size_t bytes) in ntfs_prepare_pages_for_non_resident_write() 1375 unsigned nr_pages) in ntfs_flush_dcache_pages() 1399 struct page **pages, const unsigned nr_pages, in ntfs_commit_pages_after_non_resident_write() 1554 const unsigned nr_pages, s64 pos, size_t bytes) in ntfs_commit_pages_after_write() 1699 static size_t ntfs_copy_from_user_iter(struct page **pages, unsigned nr_pages, in ntfs_copy_from_user_iter() 1757 unsigned nr_pages; in ntfs_perform_write() local
|
D | compress.c | 517 unsigned int nr_pages = (end_vcn - start_vcn) << in ntfs_read_compressed_block() local
|
/linux-4.1.27/fs/ |
D | fs-writeback.c | 41 long nr_pages; member 138 __bdi_start_writeback(struct backing_dev_info *bdi, long nr_pages, in __bdi_start_writeback() 174 void bdi_start_writeback(struct backing_dev_info *bdi, long nr_pages, in bdi_start_writeback() 814 static long writeback_inodes_wb(struct bdi_writeback *wb, long nr_pages, in writeback_inodes_wb() 879 long nr_pages = work->nr_pages; in wb_writeback() local 1020 long nr_pages; in wb_check_old_data_flush() local 1136 void wakeup_flusher_threads(long nr_pages, enum wb_reason reason) in wakeup_flusher_threads()
|
D | mpage.c | 140 do_mpage_readpage(struct bio *bio, struct page *page, unsigned nr_pages, in do_mpage_readpage() 357 unsigned nr_pages, get_block_t get_block) in mpage_readpages()
|
D | pipe.c | 961 static long pipe_set_size(struct pipe_inode_info *pipe, unsigned long nr_pages) in pipe_set_size() 1012 unsigned long nr_pages; in round_pipe_size() local 1058 unsigned int size, nr_pages; in pipe_fcntl() local
|
D | aio.c | 116 long nr_pages; member 205 static struct file *aio_private_file(struct kioctx *ctx, loff_t nr_pages) in aio_private_file() 433 int nr_pages; in aio_setup_ring() local
|
D | splice.c | 311 unsigned int loff, nr_pages, req_pages; in __generic_file_splice_read() local 610 unsigned int nr_pages; in default_file_splice_read() local
|
D | direct-io.c | 650 int ret, nr_pages; in dio_new_bio() local
|
D | block_dev.c | 294 struct list_head *pages, unsigned nr_pages) in blkdev_readpages()
|
/linux-4.1.27/drivers/media/v4l2-core/ |
D | videobuf-dma-sg.c | 66 int nr_pages) in videobuf_vmalloc_to_sg() 96 int nr_pages, int offset, size_t size) in videobuf_pages_to_sg() 210 int nr_pages) in videobuf_dma_init_kernel() 270 dma_addr_t addr, int nr_pages) in videobuf_dma_init_overlay()
|
/linux-4.1.27/net/ipv4/ |
D | tcp_memcontrol.c | 57 static int tcp_update_limit(struct mem_cgroup *memcg, unsigned long nr_pages) in tcp_update_limit() 119 unsigned long nr_pages; in tcp_cgroup_write() local
|
/linux-4.1.27/net/9p/ |
D | trans_common.c | 21 void p9_release_pages(struct page **pages, int nr_pages) in p9_release_pages()
|
D | trans_virtio.c | 225 struct page **pdata, int nr_pages, size_t offs, int count) in pack_sg_list_p() 321 int nr_pages; in p9_get_mapped_pages() local
|
/linux-4.1.27/drivers/firmware/efi/libstub/ |
D | efi-stub-helper.c | 148 unsigned long nr_pages; in efi_high_alloc() local 234 unsigned long nr_pages; in efi_low_alloc() local 299 unsigned long nr_pages; in efi_free() local 555 unsigned long nr_pages; in efi_relocate_kernel() local
|
/linux-4.1.27/arch/arm/xen/ |
D | p2m.c | 23 unsigned long nr_pages; member 120 unsigned long mfn, unsigned long nr_pages) in __set_phys_to_machine_multi()
|
/linux-4.1.27/fs/9p/ |
D | cache.h | 76 unsigned *nr_pages) in v9fs_readpages_from_fscache() 132 unsigned *nr_pages) in v9fs_readpages_from_fscache()
|
D | cache.c | 159 int loop, nr_pages; in v9fs_cache_inode_now_uncached() local 358 unsigned *nr_pages) in __v9fs_readpages_from_fscache()
|
D | vfs_addr.c | 112 struct list_head *pages, unsigned nr_pages) in v9fs_vfs_readpages()
|
/linux-4.1.27/drivers/net/ethernet/ibm/ehea/ |
D | ehea_qmr.c | 107 int i, nr_pages; in hw_queue_dtor() local 378 int nr_pages, int wqe_size, int act_nr_sges, in ehea_qp_alloc_register() 628 static int ehea_update_busmap(unsigned long pfn, unsigned long nr_pages, int add) in ehea_update_busmap() 671 int ehea_add_sect_bmap(unsigned long pfn, unsigned long nr_pages) in ehea_add_sect_bmap() 681 int ehea_rem_sect_bmap(unsigned long pfn, unsigned long nr_pages) in ehea_rem_sect_bmap() 709 unsigned long pfn, start_pfn, end_pfn, nr_pages; in ehea_create_busmap_callback() local
|
D | ehea.h | 260 u32 nr_pages; member 305 u32 nr_pages; member
|
/linux-4.1.27/arch/powerpc/kvm/ |
D | book3s_hv_builtin.c | 52 struct page *kvm_alloc_hpt(unsigned long nr_pages) in kvm_alloc_hpt() 60 void kvm_release_hpt(struct page *page, unsigned long nr_pages) in kvm_release_hpt()
|
/linux-4.1.27/fs/cifs/ |
D | fscache.h | 80 unsigned *nr_pages) in cifs_readpages_from_fscache() 134 unsigned *nr_pages) in cifs_readpages_from_fscache()
|
D | file.c | 1892 unsigned int nr_pages; in wdata_alloc_and_fillpages() local 1927 unsigned int nr_pages = 0, i; in wdata_prepare_pages() local 2002 wdata_send_pages(struct cifs_writedata *wdata, unsigned int nr_pages, in wdata_send_pages() 2066 unsigned int i, nr_pages, found_pages, wsize, credits; in cifs_writepages() local 2427 unsigned long i, nr_pages = *num_pages; in wdata_fill_from_iovec() local 2471 unsigned long nr_pages, num_pages, i; in cifs_write_from_iter() local 2748 cifs_readdata_alloc(unsigned int nr_pages, work_func_t complete) in cifs_readdata_alloc() 2777 cifs_read_allocate_pages(struct cifs_readdata *rdata, unsigned int nr_pages) in cifs_read_allocate_pages() 2857 unsigned int nr_pages = rdata->nr_pages; in cifs_uncached_read_into_pages() local 3305 unsigned int nr_pages = rdata->nr_pages; in cifs_readpages_read_into_pages() local [all …]
|
D | fscache.c | 187 unsigned *nr_pages) in __cifs_readpages_from_fscache()
|
D | cache.c | 300 int loop, nr_pages; in cifs_fscache_inode_now_uncached() local
|
/linux-4.1.27/arch/arm/mach-rpc/include/mach/ |
D | uncompress.h | 23 unsigned long nr_pages; member 119 unsigned int nr_pages = 0, page_size = PAGE_SIZE; in arch_decomp_setup() local
|
/linux-4.1.27/arch/sh/mm/ |
D | gup.c | 163 int __get_user_pages_fast(unsigned long start, int nr_pages, int write, in __get_user_pages_fast() 217 int get_user_pages_fast(unsigned long start, int nr_pages, int write, in get_user_pages_fast()
|
D | init.c | 492 unsigned long nr_pages = size >> PAGE_SHIFT; in arch_add_memory() local 521 unsigned long nr_pages = size >> PAGE_SHIFT; in arch_remove_memory() local
|
/linux-4.1.27/arch/powerpc/mm/ |
D | mem.c | 121 unsigned long nr_pages = size >> PAGE_SHIFT; in arch_add_memory() local 140 unsigned long nr_pages = size >> PAGE_SHIFT; in arch_remove_memory() local 170 walk_system_ram_range(unsigned long start_pfn, unsigned long nr_pages, in walk_system_ram_range()
|
D | init_64.c | 394 unsigned int nr_pages = in vmemmap_free() local
|
/linux-4.1.27/arch/x86/mm/ |
D | numa_32.c | 67 unsigned long nr_pages = end_pfn - start_pfn; in node_memmap_size_bytes() local
|
D | gup.c | 257 int __get_user_pages_fast(unsigned long start, int nr_pages, int write, in __get_user_pages_fast() 325 int get_user_pages_fast(unsigned long start, int nr_pages, int write, in get_user_pages_fast()
|
D | init_64.c | 696 unsigned long nr_pages = size >> PAGE_SHIFT; in arch_add_memory() local 716 unsigned int nr_pages = 1 << order; in free_pagetable() local 1020 unsigned long nr_pages = size >> PAGE_SHIFT; in arch_remove_memory() local 1316 unsigned int nr_pages; in register_page_bootmem_memmap() local
|
D | tlb.c | 119 unsigned long nr_pages = in flush_tlb_func() local
|
D | init_32.c | 832 unsigned long nr_pages = size >> PAGE_SHIFT; in arch_add_memory() local 841 unsigned long nr_pages = size >> PAGE_SHIFT; in arch_remove_memory() local
|
D | ioremap.c | 53 static int __ioremap_check_ram(unsigned long start_pfn, unsigned long nr_pages, in __ioremap_check_ram()
|
D | mpx.c | 538 int nr_pages = 1; in mpx_resolve_fault() local
|
/linux-4.1.27/fs/btrfs/ |
D | compression.c | 68 unsigned long nr_pages; member 233 unsigned long nr_pages = end_index - index + 1; in end_compressed_writeback() local 333 unsigned long nr_pages) in btrfs_submit_compressed_write() 454 unsigned long nr_pages = 0; in add_ra_bio_pages() local 576 unsigned long nr_pages; in btrfs_submit_compressed_read() local
|
D | zlib.c | 88 int nr_pages = 0; in zlib_compress_pages() local
|
D | raid56.c | 140 int nr_pages; member 1502 int nr_pages = DIV_ROUND_UP(rbio->stripe_len, PAGE_CACHE_SIZE); in raid56_rmw_stripe() local 1798 int nr_pages = DIV_ROUND_UP(rbio->stripe_len, PAGE_CACHE_SIZE); in __raid_recover_end_io() local 2023 int nr_pages = DIV_ROUND_UP(rbio->stripe_len, PAGE_CACHE_SIZE); in __raid56_parity_recover() local
|
D | lzo.c | 101 int nr_pages = 0; in lzo_compress_pages() local
|
D | extent_io.c | 1586 unsigned long nr_pages = end_index - index + 1; in __unlock_for_delalloc() local 1765 unsigned long nr_pages = end_index - index + 1; in extent_clear_unlock_delalloc() local 3126 struct page *pages[], int nr_pages, in __do_contiguous_readpages() 3159 int nr_pages, get_extent_t *get_extent, in __extent_readpages() 3846 int nr_pages; in btree_write_cache_pages() local 3978 int nr_pages; in extent_write_cache_pages() local 4136 unsigned long nr_pages = (end - start + PAGE_CACHE_SIZE) >> in extent_write_locked_range() local 4197 struct list_head *pages, unsigned nr_pages, in extent_readpages()
|
D | inode.c | 323 unsigned long nr_pages; member 342 unsigned long nr_pages, in add_async_extent() 406 unsigned long nr_pages; in compress_file_range() local 1091 unsigned long nr_pages; in async_cow_submit() local 1123 unsigned long nr_pages; in cow_file_range_async() local 8111 int nr_pages = 0; in btrfs_submit_direct_hook() local 8456 struct list_head *pages, unsigned nr_pages) in btrfs_readpages()
|
/linux-4.1.27/arch/s390/mm/ |
D | gup.c | 166 int __get_user_pages_fast(unsigned long start, int nr_pages, int write, in __get_user_pages_fast() 220 int get_user_pages_fast(unsigned long start, int nr_pages, int write, in get_user_pages_fast()
|
D | init.c | 173 unsigned long zone_start_pfn, zone_end_pfn, nr_pages; in arch_add_memory() local
|
/linux-4.1.27/kernel/power/ |
D | snapshot.c | 1378 static unsigned long preallocate_image_pages(unsigned long nr_pages, gfp_t mask) in preallocate_image_pages() 1400 static unsigned long preallocate_image_memory(unsigned long nr_pages, in preallocate_image_memory() 1416 static unsigned long preallocate_image_highmem(unsigned long nr_pages) in preallocate_image_highmem() 1431 static unsigned long preallocate_highmem_fraction(unsigned long nr_pages, in preallocate_highmem_fraction() 1440 static inline unsigned long preallocate_image_highmem(unsigned long nr_pages) in preallocate_image_highmem() 1445 static inline unsigned long preallocate_highmem_fraction(unsigned long nr_pages, in preallocate_highmem_fraction() 1736 static int enough_free_mem(unsigned int nr_pages, unsigned int nr_highmem) in enough_free_mem() 1808 unsigned int nr_pages, unsigned int nr_highmem) in swsusp_alloc() 1839 unsigned int nr_pages, nr_highmem; in swsusp_save() local 2336 unsigned int nr_pages, nr_highmem; in prepare_image() local
|
D | swap.c | 446 int nr_pages; in save_image() local 581 int nr_pages; in save_image_lzo() local 793 static int enough_swap(unsigned int nr_pages, unsigned int flags) in enough_swap() 973 unsigned nr_pages; in load_image() local 1073 unsigned nr_pages; in load_image_lzo() local
|
D | hibernate.c | 237 unsigned nr_pages, char *msg) in swsusp_show_speed()
|
/linux-4.1.27/arch/sparc/mm/ |
D | gup.c | 163 int __get_user_pages_fast(unsigned long start, int nr_pages, int write, in __get_user_pages_fast() 193 int get_user_pages_fast(unsigned long start, int nr_pages, int write, in get_user_pages_fast()
|
/linux-4.1.27/drivers/infiniband/hw/ehca/ |
D | ehca_eq.c | 59 u32 nr_pages; in ehca_create_eq() local
|
D | ipz_pt_fn.c | 258 int i, nr_pages; in ipz_queue_dtor() local
|
D | ehca_mrmw.c | 2316 static int ehca_update_busmap(unsigned long pfn, unsigned long nr_pages) in ehca_update_busmap() 2369 unsigned long pfn, start_pfn, end_pfn, nr_pages; in ehca_create_busmap_callback() local
|
/linux-4.1.27/kernel/events/ |
D | ring_buffer.c | 468 pgoff_t pgoff, int nr_pages, long watermark, int flags) in rb_alloc_aux() 627 struct ring_buffer *rb_alloc(int nr_pages, long watermark, int cpu, int flags) in rb_alloc() 733 struct ring_buffer *rb_alloc(int nr_pages, long watermark, int cpu, int flags) in rb_alloc()
|
D | internal.h | 19 int nr_pages; /* nr of data pages */ member
|
/linux-4.1.27/arch/mips/mm/ |
D | gup.c | 196 int __get_user_pages_fast(unsigned long start, int nr_pages, int write, in __get_user_pages_fast() 263 int get_user_pages_fast(unsigned long start, int nr_pages, int write, in get_user_pages_fast()
|
/linux-4.1.27/fs/logfs/ |
D | dev_bdev.c | 77 size_t nr_pages) in __bdev_writeseg() 171 size_t nr_pages) in do_erase()
|
D | dev_mtd.c | 184 size_t nr_pages) in __logfs_mtd_writeseg()
|
/linux-4.1.27/drivers/media/common/saa7146/ |
D | saa7146_core.c | 149 static struct scatterlist* vmalloc_to_sg(unsigned char *virt, int nr_pages) in vmalloc_to_sg() 251 int nr_pages = 0; in saa7146_pgtable_build_single() local
|
/linux-4.1.27/arch/x86/xen/ |
D | setup.c | 224 unsigned long end_pfn, unsigned long nr_pages, unsigned long *released) in xen_set_identity_and_release_chunk() 360 unsigned long end_pfn, unsigned long nr_pages, unsigned long remap_pfn, in xen_set_identity_and_remap_chunk() 415 const struct e820entry *list, size_t map_size, unsigned long nr_pages, in xen_set_identity_and_remap()
|
/linux-4.1.27/drivers/gpu/drm/exynos/ |
D | exynos_drm_buf.c | 25 unsigned int nr_pages; in lowlevel_buffer_allocate() local
|
D | exynos_drm_fbdev.c | 85 unsigned int nr_pages; in exynos_drm_fbdev_update() local
|
/linux-4.1.27/tools/testing/selftests/vm/ |
D | transhuge-stress.c | 104 int nr_succeed = 0, nr_failed = 0, nr_pages = 0; in main() local
|
/linux-4.1.27/fs/btrfs/tests/ |
D | extent-io-tests.c | 35 unsigned long nr_pages = end_index - index + 1; in process_page_range() local
|
/linux-4.1.27/include/media/ |
D | videobuf-dma-sg.h | 66 int nr_pages; member
|
/linux-4.1.27/fs/ceph/ |
D | cache.c | 151 int loop, nr_pages; in ceph_fscache_inode_now_uncached() local 282 unsigned *nr_pages) in ceph_readpages_from_fscache()
|
D | cache.h | 134 unsigned *nr_pages) in ceph_readpages_from_fscache()
|
D | addr.c | 320 int nr_pages = 0; in start_read() local 398 struct list_head *page_list, unsigned nr_pages) in ceph_readpages()
|
/linux-4.1.27/fs/cachefiles/ |
D | rdwr.c | 680 unsigned *nr_pages, in cachefiles_read_or_alloc_pages() 835 unsigned *nr_pages, in cachefiles_allocate_pages()
|
/linux-4.1.27/drivers/mtd/devices/ |
D | mtd_dataflash.c | 621 static int add_dataflash_otp(struct spi_device *spi, char *name, int nr_pages, in add_dataflash_otp() 681 int nr_pages, int pagesize, int pageoffset) in add_dataflash() 696 unsigned nr_pages; member
|
D | sst25l.c | 60 unsigned nr_pages; member
|
/linux-4.1.27/fs/nfs/ |
D | fscache.h | 133 unsigned *nr_pages) in nfs_readpages_from_fscache() 212 unsigned *nr_pages) in nfs_readpages_from_fscache()
|
D | fscache.c | 370 unsigned *nr_pages) in __nfs_readpages_from_fscache()
|
D | fscache-index.c | 266 int loop, nr_pages; in nfs_fscache_inode_now_uncached() local
|
D | read.c | 369 struct list_head *pages, unsigned nr_pages) in nfs_readpages()
|
/linux-4.1.27/block/ |
D | bio.c | 691 int nr_pages; in bio_get_nr_vecs() local 1161 int nr_pages = 0; in bio_copy_user_iov() local 1286 int nr_pages = 0; in bio_map_user_iov() local 1457 const int nr_pages = end - start; in bio_map_kern() local 1531 int nr_pages = 0; in bio_copy_kern() local
|
D | bio-integrity.c | 266 unsigned int len, nr_pages; in bio_integrity_prep() local
|
/linux-4.1.27/fs/proc/ |
D | kcore.c | 168 unsigned long nr_pages = ent->size >> PAGE_SHIFT; in get_sparsemem_vmemmap_info() local 206 kclist_add_private(unsigned long pfn, unsigned long nr_pages, void *arg) in kclist_add_private()
|
/linux-4.1.27/arch/alpha/mm/ |
D | init.c | 192 unsigned long nr_pages = 0; in callback_init() local
|
/linux-4.1.27/fs/ext4/ |
D | readpage.c | 135 unsigned nr_pages) in ext4_mpage_readpages()
|
D | file.c | 352 unsigned long nr_pages; in ext4_find_unwritten_pgoff() local
|
D | inode.c | 1443 int nr_pages, i; in mpage_release_unused_pages() local 2037 int nr_pages, i; in mpage_map_and_submit_buffers() local 2313 unsigned int nr_pages; in mpage_prepare_extent_to_map() local 2978 struct list_head *pages, unsigned nr_pages) in ext4_readpages()
|
/linux-4.1.27/fs/afs/ |
D | file.c | 241 struct list_head *pages, unsigned nr_pages) in afs_readpages()
|
D | cache.c | 375 int loop, nr_pages; in afs_vnode_cache_now_uncached() local
|
/linux-4.1.27/drivers/misc/carma/ |
D | carma-fpga-program.c | 72 int nr_pages; member 80 static int fpga_dma_init(struct fpga_dev *priv, int nr_pages) in fpga_dma_init() 755 unsigned int nr_pages; in fpga_open() local
|
D | carma-fpga.c | 147 int nr_pages; member 212 static int carma_dma_init(struct data_buf *buf, int nr_pages) in carma_dma_init() 304 unsigned int nr_pages; in data_alloc_buffer() local
|
/linux-4.1.27/fs/gfs2/ |
D | aops.c | 234 int nr_pages, pgoff_t end, in gfs2_write_jdata_pagevec() 350 int nr_pages; in gfs2_write_cache_jdata() local 604 struct list_head *pages, unsigned nr_pages) in gfs2_readpages()
|
/linux-4.1.27/arch/arm64/mm/ |
D | dma-mapping.c | 313 unsigned long nr_pages = PAGE_ALIGN(size) >> PAGE_SHIFT; in __dma_common_mmap() local 359 unsigned long nr_pages = atomic_pool_size >> PAGE_SHIFT; in atomic_pool_init() local
|
/linux-4.1.27/arch/s390/pci/ |
D | pci_dma.c | 145 unsigned int nr_pages = PAGE_ALIGN(size) >> PAGE_SHIFT; in dma_update_trans() local 281 unsigned long nr_pages, iommu_page_index; in s390_dma_map_pages() local
|
/linux-4.1.27/arch/x86/kernel/cpu/ |
D | perf_event_intel_bts.c | 51 unsigned int nr_pages; member 74 bts_buffer_setup_aux(int cpu, void **pages, int nr_pages, bool overwrite) in bts_buffer_setup_aux()
|
D | intel_pt.h | 111 unsigned long nr_pages; member
|
D | perf_event_intel_pt.c | 752 static int pt_buffer_init_topa(struct pt_buffer *buf, unsigned long nr_pages, in pt_buffer_init_topa() 797 pt_buffer_setup_aux(int cpu, void **pages, int nr_pages, bool snapshot) in pt_buffer_setup_aux()
|
/linux-4.1.27/arch/ia64/mm/ |
D | init.c | 660 unsigned long nr_pages = size >> PAGE_SHIFT; in arch_add_memory() local 680 unsigned long nr_pages = size >> PAGE_SHIFT; in arch_remove_memory() local
|
/linux-4.1.27/drivers/edac/ |
D | cell_edac.c | 135 u32 nr_pages; in cell_edac_init_csrows() local
|
D | i3000_edac.c | 317 unsigned long last_cumul_size, nr_pages; in i3000_probe1() local
|
D | i82875p_edac.c | 351 u32 cumul_size, nr_pages; in i82875p_init_csrows() local
|
D | x38_edac.c | 376 unsigned long nr_pages; in x38_probe1() local
|
D | i3200_edac.c | 395 unsigned long nr_pages; in i3200_probe1() local
|
D | ie31200_edac.c | 406 unsigned long nr_pages; in ie31200_probe1() local
|
D | i82975x_edac.c | 376 u32 cumul_size, nr_pages; in i82975x_init_csrows() local
|
D | edac_mc_sysfs.c | 187 u32 nr_pages = 0; in csrow_size_show() local 394 int chan, nr_pages = 0; in nr_pages_per_csrow() local
|
D | e7xxx_edac.c | 361 u32 dra, cumul_size, nr_pages; in e7xxx_init_csrows() local
|
D | edac_mc.c | 736 u32 nr_pages = 0; in edac_mc_add_mc_with_groups() local
|
D | ppc4xx_edac.c | 901 u32 mbxcf, size, nr_pages; in ppc4xx_edac_init_csrows() local
|
D | amd64_edac.c | 2374 u32 cs_mode, nr_pages; in get_csrow_nr_pages() local 2408 int nr_pages = 0; in init_csrows() local
|
D | cpc925_edac.c | 335 unsigned long row_size, nr_pages, last_nr_pages = 0; in cpc925_init_csrows() local
|
/linux-4.1.27/drivers/media/pci/cx25821/ |
D | cx25821-alsa.c | 70 int nr_pages; member 147 static int cx25821_alsa_dma_init(struct cx25821_audio_dev *chip, int nr_pages) in cx25821_alsa_dma_init()
|
/linux-4.1.27/drivers/base/ |
D | memory.c | 228 unsigned long nr_pages = PAGES_PER_SECTION * sections_per_block; in memory_block_action() local 387 unsigned long nr_pages = PAGES_PER_SECTION * sections_per_block; in show_valid_zones() local
|
/linux-4.1.27/fs/hpfs/ |
D | file.c | 123 struct list_head *pages, unsigned nr_pages) in hpfs_readpages()
|
/linux-4.1.27/kernel/trace/ |
D | ring_buffer.c | 464 unsigned long nr_pages; member 1164 static int __rb_allocate_pages(long nr_pages, struct list_head *pages, int cpu) in __rb_allocate_pages() 1204 unsigned long nr_pages) in rb_allocate_pages() 1229 rb_allocate_cpu_buffer(struct ring_buffer *buffer, long nr_pages, int cpu) in rb_allocate_cpu_buffer() 1329 long nr_pages; in __ring_buffer_alloc() local 1457 rb_remove_pages(struct ring_buffer_per_cpu *cpu_buffer, unsigned long nr_pages) in rb_remove_pages() 1679 unsigned long nr_pages; in ring_buffer_resize() local 4653 unsigned long nr_pages; in rb_cpu_notify() local
|
/linux-4.1.27/arch/arm/kernel/ |
D | atags_compat.c | 46 unsigned long nr_pages; /* 4 */ member
|
/linux-4.1.27/fs/jfs/ |
D | inode.c | 299 struct list_head *pages, unsigned nr_pages) in jfs_readpages()
|
/linux-4.1.27/drivers/md/ |
D | dm-kcopyd.c | 285 static int client_reserve_pages(struct dm_kcopyd_client *kc, unsigned nr_pages) in client_reserve_pages() 521 unsigned nr_pages = dm_div_up(job->dests[0].count, PAGE_SIZE >> 9); in run_pages_job() local
|
/linux-4.1.27/drivers/media/pci/cx88/ |
D | cx88-alsa.c | 68 int nr_pages; member 294 static int cx88_alsa_dma_init(struct cx88_audio_dev *chip, int nr_pages) in cx88_alsa_dma_init()
|
/linux-4.1.27/fs/omfs/ |
D | file.c | 293 struct list_head *pages, unsigned nr_pages) in omfs_readpages()
|
/linux-4.1.27/arch/sh/kernel/cpu/sh4/ |
D | sq.c | 376 unsigned int nr_pages = 0x04000000 >> PAGE_SHIFT; in sq_api_init() local
|
/linux-4.1.27/drivers/media/pci/cx23885/ |
D | cx23885-alsa.c | 83 static int cx23885_alsa_dma_init(struct cx23885_audio_dev *chip, int nr_pages) in cx23885_alsa_dma_init()
|
/linux-4.1.27/drivers/misc/genwqe/ |
D | card_base.h | 181 unsigned int nr_pages; /* number of pages */ member 360 unsigned long nr_pages; member
|
D | card_utils.c | 519 static int free_user_pages(struct page **page_list, unsigned int nr_pages, in free_user_pages()
|
/linux-4.1.27/fs/nfs/blocklayout/ |
D | extent_tree.c | 469 int nr_pages = DIV_ROUND_UP(buffer_size, PAGE_SIZE), i; in ext_tree_free_commitdata() local
|
/linux-4.1.27/tools/vm/ |
D | page-types.c | 204 static unsigned long nr_pages[HASH_SIZE]; variable 852 unsigned long nr_pages, pfn, i; in walk_file() local
|
/linux-4.1.27/fs/exofs/ |
D | inode.c | 57 unsigned nr_pages; member 474 struct list_head *pages, unsigned nr_pages) in exofs_readpages()
|
/linux-4.1.27/fs/fscache/ |
D | page.c | 535 unsigned *nr_pages, in __fscache_read_or_alloc_pages()
|
/linux-4.1.27/drivers/staging/lustre/lustre/osc/ |
D | osc_cache.c | 837 int nr_pages = ext->oe_nr_pages; in osc_extent_finish() local 959 int nr_pages = 0; in osc_extent_truncate() local 1445 static void osc_free_grant(struct client_obd *cli, unsigned int nr_pages, in osc_free_grant()
|
/linux-4.1.27/drivers/block/ |
D | brd.c | 165 int nr_pages; in brd_free_pages() local
|
/linux-4.1.27/fs/qnx6/ |
D | inode.c | 102 struct list_head *pages, unsigned nr_pages) in qnx6_readpages()
|
/linux-4.1.27/drivers/gpu/drm/ |
D | drm_prime.c | 676 struct sg_table *drm_prime_pages_to_sg(struct page **pages, unsigned int nr_pages) in drm_prime_pages_to_sg()
|
/linux-4.1.27/include/scsi/ |
D | osd_ore.h | 132 unsigned nr_pages; member
|
/linux-4.1.27/arch/tile/mm/ |
D | init.c | 871 unsigned long nr_pages = size >> PAGE_SHIFT; in arch_add_memory() local
|
/linux-4.1.27/kernel/ |
D | resource.c | 453 int walk_system_ram_range(unsigned long start_pfn, unsigned long nr_pages, in walk_system_ram_range() 481 static int __is_ram(unsigned long pfn, unsigned long nr_pages, void *arg) in __is_ram()
|
D | relay.c | 1218 unsigned int pidx, poff, total_len, subbuf_pages, nr_pages; in subbuf_splice_actor() local
|
/linux-4.1.27/fs/fuse/ |
D | file.c | 825 unsigned nr_pages; member 870 struct list_head *pages, unsigned nr_pages) in fuse_readpages() 1113 unsigned nr_pages = fuse_wr_pages(pos, iov_iter_count(ii)); in fuse_perform_write() local 1226 unsigned index, unsigned nr_pages) in fuse_page_descs_length_init()
|
/linux-4.1.27/drivers/gpu/drm/savage/ |
D | savage_bci.c | 367 unsigned int nr_pages = (n - rest + SAVAGE_DMA_PAGE_SIZE - 1) / in savage_dma_alloc() local
|
/linux-4.1.27/drivers/video/fbdev/ |
D | xen-fbfront.c | 46 int nr_pages; member
|
D | pvr2fb.c | 679 unsigned int nr_pages; in pvr2fb_write() local
|
D | sh_mobile_lcdcfb.c | 453 int nr_pages = 0; in sh_mobile_lcdc_sginit() local 488 unsigned int nr_pages = sh_mobile_lcdc_sginit(info, pagelist); in sh_mobile_lcdc_deferred_io() local
|
/linux-4.1.27/drivers/xen/xenbus/ |
D | xenbus_client.c | 376 unsigned int nr_pages, grant_ref_t *grefs) in xenbus_grant_ring()
|
/linux-4.1.27/drivers/target/ |
D | target_core_pscsi.c | 881 int nr_pages = (cmd->data_length + sgl[0].offset + in pscsi_map_sg() local
|
/linux-4.1.27/fs/f2fs/ |
D | node.c | 1154 int i, nr_pages; in sync_node_pages() local 1256 int i, nr_pages; in wait_on_node_pages_writeback() local
|
D | checkpoint.c | 254 int i, nr_pages; in sync_meta_pages() local
|
D | file.c | 282 int nr_pages; in __get_first_dirty_index() local
|
/linux-4.1.27/arch/x86/kernel/ |
D | e820.c | 1109 u64 nr_pages = 0, nr_free_pages = 0; in memblock_find_dma_reserve() local
|
/linux-4.1.27/drivers/media/pci/saa7134/ |
D | saa7134-alsa.c | 276 static int saa7134_alsa_dma_init(struct saa7134_dev *dev, int nr_pages) in saa7134_alsa_dma_init()
|
/linux-4.1.27/arch/tile/kernel/ |
D | pci_gx.c | 985 unsigned long nr_pages = end_pfn - start_pfn; in pcibios_init() local
|
/linux-4.1.27/arch/s390/kvm/ |
D | gaccess.c | 714 unsigned long *pages, unsigned long nr_pages, in guest_page_range() 758 unsigned long _len, nr_pages, gpa, idx; in access_guest() local
|
/linux-4.1.27/virt/kvm/ |
D | kvm_main.c | 1137 gfn_t *nr_pages, bool write) in __gfn_to_hva_many() 1152 gfn_t *nr_pages) in gfn_to_hva_many() 1433 int nr_pages) in gfn_to_page_many_atomic()
|
/linux-4.1.27/fs/xfs/ |
D | xfs_file.c | 1170 unsigned nr_pages; in xfs_find_get_desired_pgoff() local
|
D | xfs_buf.c | 1140 int nr_pages; in xfs_buf_ioapply_map() local
|
D | xfs_aops.c | 1851 unsigned nr_pages) in xfs_vm_readpages()
|
/linux-4.1.27/fs/nilfs2/ |
D | inode.c | 170 struct list_head *pages, unsigned nr_pages) in nilfs_readpages()
|
/linux-4.1.27/fs/isofs/ |
D | inode.c | 1123 struct list_head *pages, unsigned nr_pages) in isofs_readpages()
|
/linux-4.1.27/fs/ext2/ |
D | inode.c | 797 struct list_head *pages, unsigned nr_pages) in ext2_readpages()
|
/linux-4.1.27/drivers/block/xen-blkback/ |
D | common.h | 346 int nr_pages; member
|
/linux-4.1.27/include/xen/interface/ |
D | xen.h | 616 unsigned long nr_pages; /* Total pages allocated to this domain. */ member
|
/linux-4.1.27/drivers/scsi/ |
D | st.c | 4533 const int nr_pages = end - start; in sgl_map_user_pages() local 4592 const unsigned int nr_pages, int dirtied) in sgl_unmap_user_pages()
|
/linux-4.1.27/arch/arm/mm/ |
D | dma-mapping.c | 703 unsigned long nr_pages = PAGE_ALIGN(size) >> PAGE_SHIFT; in arm_dma_mmap() local 1398 unsigned long nr_pages = PAGE_ALIGN(size) >> PAGE_SHIFT; in arm_iommu_mmap_attrs() local
|
/linux-4.1.27/drivers/iommu/ |
D | intel-iommu.c | 1997 unsigned long nr_pages, int prot) in __domain_mapping() 2106 struct scatterlist *sg, unsigned long nr_pages, in domain_sg_mapping() 2113 unsigned long phys_pfn, unsigned long nr_pages, in domain_pfn_mapping()
|