Searched refs:nrpages (Results 1 – 21 of 21) sorted by relevance
40 if (mapping->nrpages) in xfs_tosspages()54 if (mapping->nrpages) { in xfs_flushinval_pages()
88 #define VN_CACHED(vp) (vp->i_mapping->nrpages)
244 if (inode->i_mapping->nrpages) in xfs_read()656 if (!need_i_mutex && (mapping->nrpages || pos > xip->i_size)) { in xfs_write()714 if (mapping->nrpages) { in xfs_write()
23 if (inode->i_mapping->nrpages == 0) in drop_pagecache_sb()
283 BUG_ON(inode->i_data.nrpages); in clear_inode()316 if (inode->i_data.nrpages) in dispose_list()409 if (inode->i_data.nrpages) in can_unuse()448 if (inode_has_buffers(inode) || inode->i_data.nrpages) { in prune_icache()1209 if (inode->i_data.nrpages) in generic_forget_inode()
544 if (mapping->nrpages == 0) in generic_sync_sb_inodes()
414 if (mapping->nrpages == 0) in invalidate_bdev()3399 int nrpages; in buffer_init() local3410 nrpages = (nr_free_buffer_pages() * 10) / 100; in buffer_init()3411 max_buffer_heads = nrpages * (PAGE_SIZE / sizeof(struct buffer_head)); in buffer_init()
65 if (bdev->bd_inode->i_mapping->nrpages == 0) in kill_bdev()415 ret += bdev->bd_inode->i_mapping->nrpages; in nr_blockdev_pages()
20 stat->blocks = inode->i_mapping->nrpages << (PAGE_CACHE_SHIFT - 9); in simple_getattr()
121 if (mapping->nrpages == 0) in nfs_sync_mapping()161 if (mapping->nrpages != 0) { in nfs_zap_mapping()737 if (mapping->nrpages != 0) { in nfs_invalidate_mapping_nolock()
110 gfs2_assert_withdraw(sdp, !mapping->nrpages); in gfs2_meta_inval()
282 return !gl->gl_aspace->i_mapping->nrpages; in rgrp_go_demote_ok()
205 inode->i_mapping->nrpages = 0; in jffs2_create()229 f->inocache->pino_nlink, inode->i_mapping->nrpages)); in jffs2_create()
309 inode->i_mapping->nrpages = 0; in jffs2_iget()
1161 unsigned long nrpages; in lock_delalloc_pages() local1170 nrpages = end_index - index + 1; in lock_delalloc_pages()1171 while (nrpages > 0) { in lock_delalloc_pages()1174 nrpages, ARRAY_SIZE(pages)), pages); in lock_delalloc_pages()1198 nrpages -= ret; in lock_delalloc_pages()
668 .nr_to_write = mapping->nrpages * 2, in btrfs_fdatawrite_range()
4468 WARN_ON(inode->i_data.nrpages); in btrfs_destroy_inode()
220 .nr_to_write = mapping->nrpages * 2, in journal_submit_inode_data_buffers()
382 BUG_ON(!lstart && mapping->nrpages); in truncate_hugepages()
117 inode->i_mapping->nrpages = 0; in ubifs_new_inode()
2469 if (!mapping->nrpages || !mapping_tagged(mapping, PAGECACHE_TAG_DIRTY)) in ext4_da_writepages()