Searched refs:nrpages (Results 1 – 25 of 31) sorted by relevance
12
54 si->node_pages = sbi->node_inode->i_mapping->nrpages; in update_general_status()55 si->meta_pages = sbi->meta_inode->i_mapping->nrpages; in update_general_status()168 npages = sbi->node_inode->i_mapping->nrpages; in update_mem_info()170 npages = sbi->meta_inode->i_mapping->nrpages; in update_mem_info()
58 #define VN_CACHED(vp) (vp->i_mapping->nrpages)
289 if ((ioflags & IO_ISDIRECT) && inode->i_mapping->nrpages) { in xfs_file_aio_read()293 if (inode->i_mapping->nrpages) { in xfs_file_aio_read()654 if (unaligned_io || mapping->nrpages) in xfs_file_dio_aio_write()665 if (mapping->nrpages && iolock == XFS_IOLOCK_SHARED) { in xfs_file_dio_aio_write()675 if (mapping->nrpages) { in xfs_file_dio_aio_write()
346 smap->nrpages--; in nilfs_copy_back_pages()357 dmap->nrpages++; in nilfs_copy_back_pages()527 if (inode->i_mapping->nrpages == 0) in nilfs_find_uncommitted_extent()
786 if (inode->i_data.nrpages) in nilfs_evict_inode()794 if (inode->i_data.nrpages) in nilfs_evict_inode()
24 (inode->i_mapping->nrpages == 0)) { in drop_pagecache_sb()
79 if (mapping->nrpages == 0) in kill_bdev()92 if (mapping->nrpages == 0) in invalidate_bdev()563 ret += bdev->bd_inode->i_mapping->nrpages; in nr_blockdev_pages()1691 mapping->nrpages == 0) { in iterate_bdevs()
511 BUG_ON(inode->i_data.nrpages); in clear_inode()557 if (inode->i_data.nrpages) in evict()684 if (inode->i_data.nrpages) in can_unuse()752 if (inode_has_buffers(inode) || inode->i_data.nrpages) { in prune_icache_sb()
3383 unsigned long nrpages; in buffer_init() local3394 nrpages = (nr_free_buffer_pages() * 10) / 100; in buffer_init()3395 max_buffer_heads = nrpages * (PAGE_SIZE / sizeof(struct buffer_head)); in buffer_init()
31 stat->blocks = inode->i_mapping->nrpages << (PAGE_CACHE_SHIFT - 9); in simple_getattr()
1237 (mapping->nrpages == 0)) { in wait_sb_inodes()
485 if (inode->i_mapping && inode->i_mapping->nrpages) in v9fs_file_write_internal()691 if (mapping->nrpages) { in v9fs_direct_write()
510 if (ip->i_inode.i_mapping->nrpages == 0) in gfs2_ordered_write()529 if (ip->i_inode.i_mapping->nrpages == 0) in gfs2_ordered_wait()
641 if (mapping->nrpages) { in gfs2_fsync()659 if (mapping->nrpages) in gfs2_fsync()
148 !file->f_mapping->nrpages && pos + length <= i_size_read(inode)) {254 !file->f_mapping->nrpages && pos + length <= i_size_read(inode)) { in ext4_file_dio_write()
798 start + mapping->nrpages : in exofs_writepages()804 expected_pages = mapping->nrpages; in exofs_writepages()812 mapping->nrpages, start, end, expected_pages); in exofs_writepages()
205 inode->i_mapping->nrpages = 0; in jffs2_create()227 f->inocache->pino_nlink, inode->i_mapping->nrpages); in jffs2_create()
319 inode->i_mapping->nrpages = 0; in jffs2_iget()
143 if (mapping->nrpages != 0) { in nfs_sync_mapping()181 if (mapping->nrpages != 0) { in nfs_zap_mapping()877 if (mapping->nrpages != 0) { in nfs_invalidate_mapping()
1520 unsigned long nrpages; in lock_delalloc_pages() local1529 nrpages = end_index - index + 1; in lock_delalloc_pages()1530 while (nrpages > 0) { in lock_delalloc_pages()1533 nrpages, ARRAY_SIZE(pages)), pages); in lock_delalloc_pages()1557 nrpages -= ret; in lock_delalloc_pages()
1093 if (!mapping || mapping->nrpages == 0) { in __fscache_uncache_all_inode_pages()
834 if (ci->i_rdcache_ref || ci->vfs_inode.i_data.nrpages) in __ceph_caps_used()1447 if (inode->i_data.nrpages == 0 && in try_nonblocking_invalidate()1544 inode->i_data.nrpages && /* have cached pages */ in ceph_check_caps()
200 .nr_to_write = mapping->nrpages * 2, in journal_submit_inode_data_buffers()
1687 if (inode->i_mapping && inode->i_mapping->nrpages != 0) {1799 inode->i_mapping->nrpages != 0) {
746 inode->i_mapping->nrpages != 0) { in cifs_llseek()