Searched refs:nrpages (Results 1 - 24 of 24) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/i386/mm/
H A Dboot_ioremap.c50 static void __boot_ioremap(unsigned long phys_addr, unsigned long nrpages, argument
58 for (i=0; i < nrpages; i++, phys_addr += PAGE_SIZE, pte++) {
84 unsigned int nrpages; local
93 nrpages = size >> PAGE_SHIFT;
94 if (nrpages > BOOT_IOREMAP_PAGES)
97 __boot_ioremap(phys_addr, nrpages, boot_ioremap_space);
H A Dioremap.c214 unsigned int nrpages; local
238 nrpages = size >> PAGE_SHIFT;
239 if (nrpages > NR_FIX_BTMAPS)
246 while (nrpages > 0) {
250 --nrpages;
259 unsigned int nrpages; local
266 nrpages = PAGE_ALIGN(offset + size - 1) >> PAGE_SHIFT;
269 while (nrpages > 0) {
272 --nrpages;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/mm/
H A Dfadvise.c35 unsigned long nrpages; local
86 nrpages = end_index - start_index + 1;
87 if (!nrpages)
88 nrpages = ~0UL;
92 max_sane_readahead(nrpages));
H A Dmprotect.c137 long nrpages = (end - start) >> PAGE_SHIFT; local
150 charged = nrpages;
200 vm_stat_account(mm, oldflags, vma->vm_file, -nrpages);
201 vm_stat_account(mm, newflags, vma->vm_file, nrpages);
H A Dtruncate.c167 if (mapping->nrpages == 0)
H A Dfilemap.c118 mapping->nrpages--;
190 .nr_to_write = mapping->nrpages * 2,
372 if (mapping->nrpages) {
406 if (mapping->nrpages) {
447 mapping->nrpages++;
2427 if (rw == WRITE && mapping->nrpages) {
2445 if (rw == WRITE && mapping->nrpages) {
H A Dmmap.c1634 long nrpages = vma_pages(vma); local
1636 mm->total_vm -= nrpages;
1638 mm->locked_vm -= nrpages;
1639 vm_stat_account(mm, vma->vm_flags, vma->vm_file, -nrpages);
H A Dshmem.c214 * But normally info->alloced == inode->i_mapping->nrpages + info->swapped
215 * So mm freed is info->alloced - (inode->i_mapping->nrpages + info->swapped)
224 freed = info->alloced - info->swapped - inode->i_mapping->nrpages;
670 if (inode->i_mapping->nrpages && (info->flags & SHMEM_PAGEIN)) {
736 * nrpages check is efficient enough in that case.
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/gfs2/
H A Dglops.c261 if (!gl->gl_object && !gl->gl_aspace->i_mapping->nrpages)
328 return !gl->gl_aspace->i_mapping->nrpages;
H A Dmeta_io.c107 gfs2_assert_withdraw(sdp, !mapping->nrpages);
H A Dglock.c1885 print_dbg(gi, " aspace = 0x%p nrpages = %lu\n", gl->gl_aspace,
1886 gl->gl_aspace->i_mapping->nrpages);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/
H A Dinode.c239 BUG_ON(inode->i_data.nrpages);
272 if (inode->i_data.nrpages)
364 if (inode->i_data.nrpages)
403 if (inode_has_buffers(inode) || inode->i_data.nrpages) {
1057 if (inode->i_data.nrpages)
H A Dblock_dev.c62 if (bdev->bd_inode->i_mapping->nrpages == 0)
401 ret += bdev->bd_inode->i_mapping->nrpages;
H A Dbuffer.c338 if (mapping->nrpages == 0)
2857 int nrpages; local
2865 nrpages = (nr_free_buffer_pages() * 10) / 100;
2866 max_buffer_heads = nrpages * (PAGE_SIZE / sizeof(struct buffer_head));
H A Dlibfs.c19 stat->blocks = inode->i_mapping->nrpages << (PAGE_CACHE_SHIFT - 9);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dswap.h227 #define total_swapcache_pages swapper_space.nrpages
H A Dfs.h435 unsigned long nrpages; /* number of total pages */ member in struct:address_space
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/nfs/
H A Dinode.c100 if (mapping->nrpages == 0)
140 if (mapping->nrpages != 0) {
681 if (mapping->nrpages != 0) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh64/lib/
H A Ddbg.c427 page->mapping->nrpages);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/jffs2/
H A Ddir.c206 inode->i_mapping->nrpages = 0;
229 D1(printk(KERN_DEBUG "jffs2_create: Created ino #%lu with mode %o, nlink %d(%d). nrpages %ld\n",
230 inode->i_ino, inode->i_mode, inode->i_nlink, f->inocache->nlink, inode->i_mapping->nrpages));
H A Dfs.c294 inode->i_mapping->nrpages = 0;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/ipc/
H A Dshm.c569 *rss += (HPAGE_SIZE/PAGE_SIZE)*mapping->nrpages;
573 *rss += inode->i_mapping->nrpages;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/xfs/linux-2.6/
H A Dxfs_vnode.h551 #define VN_CACHED(vp) (vn_to_inode(vp)->i_mapping->nrpages)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hugetlbfs/
H A Dinode.c221 BUG_ON(!lstart && mapping->nrpages);

Completed in 198 milliseconds