nrpages 52 arch/sh/mm/ioremap_fixed.c unsigned int nrpages; nrpages 79 arch/sh/mm/ioremap_fixed.c nrpages = size >> PAGE_SHIFT; nrpages 80 arch/sh/mm/ioremap_fixed.c if (nrpages > FIX_N_IOREMAPS) nrpages 88 arch/sh/mm/ioremap_fixed.c while (nrpages > 0) { nrpages 93 arch/sh/mm/ioremap_fixed.c --nrpages; nrpages 104 arch/sh/mm/ioremap_fixed.c unsigned int nrpages; nrpages 122 arch/sh/mm/ioremap_fixed.c nrpages = map->size >> PAGE_SHIFT; nrpages 124 arch/sh/mm/ioremap_fixed.c idx = FIX_IOREMAP_BEGIN + slot + nrpages - 1; nrpages 125 arch/sh/mm/ioremap_fixed.c while (nrpages > 0) { nrpages 128 arch/sh/mm/ioremap_fixed.c --nrpages; nrpages 46 arch/x86/mm/ioremap.c unsigned long nrpages = size >> PAGE_SHIFT; nrpages 52 arch/x86/mm/ioremap.c err = _set_memory_uc(vaddr, nrpages); nrpages 55 arch/x86/mm/ioremap.c err = _set_memory_wc(vaddr, nrpages); nrpages 58 arch/x86/mm/ioremap.c err = _set_memory_wt(vaddr, nrpages); nrpages 61 arch/x86/mm/ioremap.c err = _set_memory_wb(vaddr, nrpages); nrpages 1319 drivers/block/loop.c if (lo->lo_device->bd_inode->i_mapping->nrpages) { nrpages 1323 drivers/block/loop.c lo->lo_device->bd_inode->i_mapping->nrpages); nrpages 1568 drivers/block/loop.c lo->lo_device->bd_inode->i_mapping->nrpages) { nrpages 1572 drivers/block/loop.c lo->lo_device->bd_inode->i_mapping->nrpages); nrpages 3370 drivers/iommu/intel-iommu.c unsigned long nrpages, uint64_t dma_mask) nrpages 3377 drivers/iommu/intel-iommu.c nrpages = __roundup_pow_of_two(nrpages); nrpages 3385 drivers/iommu/intel-iommu.c iova_pfn = alloc_iova_fast(&domain->iovad, nrpages, nrpages 3390 drivers/iommu/intel-iommu.c iova_pfn = alloc_iova_fast(&domain->iovad, nrpages, nrpages 3394 drivers/iommu/intel-iommu.c nrpages); nrpages 3576 drivers/iommu/intel-iommu.c unsigned long nrpages; nrpages 3589 drivers/iommu/intel-iommu.c nrpages = aligned_nrpages(dev_addr, size); nrpages 3591 drivers/iommu/intel-iommu.c last_pfn = start_pfn + nrpages - 1; nrpages 3600 drivers/iommu/intel-iommu.c nrpages, !freelist, 0); nrpages 3602 drivers/iommu/intel-iommu.c free_iova_fast(&domain->iovad, iova_pfn, dma_to_mm_pfn(nrpages)); nrpages 3605 drivers/iommu/intel-iommu.c queue_iova(&domain->iovad, iova_pfn, nrpages, nrpages 3692 drivers/iommu/intel-iommu.c unsigned long nrpages = 0; nrpages 3700 drivers/iommu/intel-iommu.c nrpages += aligned_nrpages(sg_dma_address(sg), sg_dma_len(sg)); nrpages 3703 drivers/iommu/intel-iommu.c intel_unmap(dev, startaddr, nrpages << VTD_PAGE_SHIFT); nrpages 3705 drivers/iommu/intel-iommu.c trace_unmap_sg(dev, startaddr, nrpages << VTD_PAGE_SHIFT); nrpages 3815 drivers/iommu/intel-iommu.c unsigned long nrpages; nrpages 3828 drivers/iommu/intel-iommu.c nrpages = aligned_nrpages(0, size); nrpages 3830 drivers/iommu/intel-iommu.c dma_to_mm_pfn(nrpages), dma_mask); nrpages 3873 drivers/iommu/intel-iommu.c tlb_addr >> VTD_PAGE_SHIFT, nrpages, prot); nrpages 3886 drivers/iommu/intel-iommu.c free_iova_fast(&domain->iovad, iova_pfn, dma_to_mm_pfn(nrpages)); nrpages 3341 drivers/staging/exfat/exfat_super.c inode->i_mapping->nrpages = 0; nrpages 427 fs/9p/vfs_file.c if (inode->i_mapping && inode->i_mapping->nrpages) nrpages 83 fs/block_dev.c if (mapping->nrpages == 0 && mapping->nrexceptional == 0) nrpages 96 fs/block_dev.c if (mapping->nrpages) { nrpages 953 fs/block_dev.c ret += bdev->bd_inode->i_mapping->nrpages; nrpages 2225 fs/block_dev.c mapping->nrpages == 0) { nrpages 9458 fs/btrfs/inode.c WARN_ON(inode->i_data.nrpages); nrpages 3439 fs/buffer.c unsigned long nrpages; nrpages 3451 fs/buffer.c nrpages = (nr_free_buffer_pages() * 10) / 100; nrpages 3452 fs/buffer.c max_buffer_heads = nrpages * (PAGE_SIZE / sizeof(struct buffer_head)); nrpages 961 fs/ceph/caps.c ci->vfs_inode.i_data.nrpages)) nrpages 1779 fs/ceph/caps.c if (inode->i_data.nrpages == 0 && nrpages 1909 fs/ceph/caps.c inode->i_data.nrpages && /* have cached pages */ nrpages 1400 fs/ceph/mds_client.c if (inode->i_data.nrpages > 0) nrpages 957 fs/cifs/cifsfs.c inode->i_mapping->nrpages != 0) { nrpages 1935 fs/cifs/inode.c if (inode->i_mapping && inode->i_mapping->nrpages != 0) { nrpages 2090 fs/cifs/inode.c inode->i_mapping->nrpages != 0) { nrpages 2150 fs/cifs/inode.c inode->i_mapping->nrpages != 0) { nrpages 310 fs/direct-io.c dio->inode->i_mapping->nrpages) { nrpages 377 fs/direct-io.c dio->inode->i_mapping->nrpages); nrpages 30 fs/drop_caches.c (inode->i_mapping->nrpages == 0 && !need_resched())) { nrpages 231 fs/ext4/inode.c inode->i_data.nrpages) { nrpages 2745 fs/ext4/inode.c if (!mapping->nrpages || !mapping_tagged(mapping, PAGECACHE_TAG_DIRTY)) nrpages 211 fs/f2fs/checkpoint.c int f2fs_ra_meta_pages(struct f2fs_sb_info *sbi, block_t start, int nrpages, nrpages 231 fs/f2fs/checkpoint.c for (; nrpages-- > 0; blkno++) { nrpages 107 fs/f2fs/debug.c si->node_pages = NODE_MAPPING(sbi)->nrpages; nrpages 109 fs/f2fs/debug.c si->meta_pages = META_MAPPING(sbi)->nrpages; nrpages 270 fs/f2fs/debug.c unsigned npages = NODE_MAPPING(sbi)->nrpages; nrpages 274 fs/f2fs/debug.c unsigned npages = META_MAPPING(sbi)->nrpages; nrpages 3166 fs/f2fs/f2fs.h int f2fs_ra_meta_pages(struct f2fs_sb_info *sbi, block_t start, int nrpages, nrpages 1226 fs/f2fs/file.c pgoff_t nrpages = DIV_ROUND_UP(i_size_read(inode), PAGE_SIZE); nrpages 1240 fs/f2fs/file.c ret = __exchange_data_block(inode, inode, end, start, nrpages - end, true); nrpages 2667 fs/f2fs/node.c int i, idx, last_offset, nrpages; nrpages 2674 fs/f2fs/node.c for (i = 0; i < last_offset; i += nrpages, addr += nrpages) { nrpages 2675 fs/f2fs/node.c nrpages = min(last_offset - i, BIO_MAX_PAGES); nrpages 2678 fs/f2fs/node.c f2fs_ra_meta_pages(sbi, addr, nrpages, META_POR, true); nrpages 2680 fs/f2fs/node.c for (idx = addr; idx < addr + nrpages; idx++) { nrpages 2695 fs/f2fs/node.c addr + nrpages); nrpages 1225 fs/fscache/page.c if (!mapping || mapping->nrpages == 0) { nrpages 718 fs/gfs2/file.c if (mapping->nrpages) { nrpages 740 fs/gfs2/file.c if (mapping->nrpages) nrpages 247 fs/gfs2/glock.c GLOCK_BUG_ON(gl, mapping && mapping->nrpages); nrpages 498 fs/gfs2/glops.c unsigned long nrpages; nrpages 504 fs/gfs2/glops.c nrpages = inode->i_data.nrpages; nrpages 513 fs/gfs2/glops.c (unsigned long long)i_size_read(inode), nrpages); nrpages 554 fs/gfs2/log.c if (ip->i_inode.i_mapping->nrpages == 0) { nrpages 577 fs/gfs2/log.c if (ip->i_inode.i_mapping->nrpages == 0) nrpages 529 fs/inode.c BUG_ON(inode->i_data.nrpages); nrpages 764 fs/inode.c if (inode_has_buffers(inode) || inode->i_data.nrpages) { nrpages 106 fs/iomap/direct-io.c (dio->flags & IOMAP_DIO_WRITE) && inode->i_mapping->nrpages) { nrpages 196 fs/jbd2/commit.c .nr_to_write = mapping->nrpages * 2, nrpages 188 fs/jffs2/dir.c inode->i_mapping->nrpages = 0; nrpages 210 fs/jffs2/dir.c f->inocache->pino_nlink, inode->i_mapping->nrpages); nrpages 320 fs/jffs2/fs.c inode->i_mapping->nrpages = 0; nrpages 32 fs/libfs.c stat->blocks = inode->i_mapping->nrpages << (PAGE_SHIFT - 9); nrpages 897 fs/nfs/blocklayout/blocklayout.c if (end != inode->i_mapping->nrpages) { nrpages 1004 fs/nfs/direct.c if (mapping->nrpages) { nrpages 154 fs/nfs/inode.c if (mapping->nrpages != 0) { nrpages 211 fs/nfs/inode.c if (inode->i_mapping->nrpages == 0) nrpages 255 fs/nfs/inode.c if (mapping->nrpages != 0) { nrpages 944 fs/nfs/inode.c if (inode->i_mapping->nrpages == 0) nrpages 1219 fs/nfs/inode.c if (mapping->nrpages != 0) { nrpages 2180 fs/nfs/pnfs.c (i_size_read(ino) == 0 || ino->i_mapping->nrpages != 0)) nrpages 328 fs/nilfs2/page.c smap->nrpages--; nrpages 339 fs/nilfs2/page.c dmap->nrpages++; nrpages 503 fs/nilfs2/page.c if (inode->i_mapping->nrpages == 0) nrpages 484 fs/orangefs/file.c #define mapping_nrpages(idata) ((idata)->nrpages) nrpages 113 fs/ubifs/dir.c inode->i_mapping->nrpages = 0; nrpages 750 fs/xfs/xfs_bmap_util.c VFS_I(ip)->i_mapping->nrpages == 0 && nrpages 1459 fs/xfs/xfs_bmap_util.c if (VFS_I(ip)->i_mapping->nrpages) nrpages 456 include/linux/fs.h unsigned long nrpages; nrpages 842 ipc/shm.c *rss_add += pages_per_huge_page(h) * mapping->nrpages; nrpages 848 ipc/shm.c *rss_add += inode->i_mapping->nrpages; nrpages 852 ipc/shm.c *rss_add += inode->i_mapping->nrpages; nrpages 110 mm/early_ioremap.c unsigned int nrpages; nrpages 144 mm/early_ioremap.c nrpages = size >> PAGE_SHIFT; nrpages 145 mm/early_ioremap.c if (WARN_ON(nrpages > NR_FIX_BTMAPS)) nrpages 152 mm/early_ioremap.c while (nrpages > 0) { nrpages 159 mm/early_ioremap.c --nrpages; nrpages 172 mm/early_ioremap.c unsigned int nrpages; nrpages 201 mm/early_ioremap.c nrpages = PAGE_ALIGN(offset + size) >> PAGE_SHIFT; nrpages 204 mm/early_ioremap.c while (nrpages > 0) { nrpages 210 mm/early_ioremap.c --nrpages; nrpages 38 mm/fadvise.c unsigned long nrpages; nrpages 101 mm/fadvise.c nrpages = end_index - start_index + 1; nrpages 102 mm/fadvise.c if (!nrpages) nrpages 103 mm/fadvise.c nrpages = ~0UL; nrpages 109 mm/fadvise.c force_page_cache_readahead(mapping, file, start_index, nrpages); nrpages 153 mm/filemap.c mapping->nrpages -= nr; nrpages 339 mm/filemap.c mapping->nrpages -= total_pages; nrpages 632 mm/filemap.c return mapping->nrpages; nrpages 890 mm/filemap.c mapping->nrpages++; nrpages 3202 mm/filemap.c if (mapping->nrpages) nrpages 1772 mm/khugepaged.c mapping->nrpages -= nr_none; nrpages 2589 mm/mmap.c long nrpages = vma_pages(vma); nrpages 2592 mm/mmap.c nr_accounted += nrpages; nrpages 2593 mm/mmap.c vm_stat_account(mm, vma->vm_flags, -nrpages); nrpages 378 mm/mprotect.c long nrpages = (end - start) >> PAGE_SHIFT; nrpages 413 mm/mprotect.c if (!may_expand_vm(mm, newflags, nrpages) && nrpages 414 mm/mprotect.c may_expand_vm(mm, oldflags, nrpages)) nrpages 418 mm/mprotect.c charged = nrpages; nrpages 473 mm/mprotect.c vm_stat_account(mm, oldflags, -nrpages); nrpages 474 mm/mprotect.c vm_stat_account(mm, newflags, nrpages); nrpages 306 mm/shmem.c freed = info->alloced - info->swapped - inode->i_mapping->nrpages; nrpages 323 mm/shmem.c inode->i_mapping->nrpages += pages; nrpages 643 mm/shmem.c mapping->nrpages += nr; nrpages 672 mm/shmem.c mapping->nrpages--; nrpages 1004 mm/shmem.c if (info->alloced - info->swapped != inode->i_mapping->nrpages) { nrpages 91 mm/swap_state.c ret += spaces[j].nrpages; nrpages 139 mm/swap_state.c address_space->nrpages += nr; nrpages 176 mm/swap_state.c address_space->nrpages -= nr; nrpages 303 mm/truncate.c if (mapping->nrpages == 0 && mapping->nrexceptional == 0) nrpages 492 mm/truncate.c unsigned long nrpages; nrpages 508 mm/truncate.c nrpages = mapping->nrpages; nrpages 512 mm/truncate.c if (nrpages || nrexceptional) { nrpages 695 mm/truncate.c if (mapping->nrpages == 0 && mapping->nrexceptional == 0)