Home
last modified time | relevance | path

Searched refs:nrpages (Results 1 – 21 of 21) sorted by relevance

/fs/xfs/linux-2.6/
Dxfs_fs_subr.c40 if (mapping->nrpages) in xfs_tosspages()
54 if (mapping->nrpages) { in xfs_flushinval_pages()
Dxfs_vnode.h88 #define VN_CACHED(vp) (vp->i_mapping->nrpages)
Dxfs_lrw.c244 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()
/fs/
Ddrop_caches.c23 if (inode->i_mapping->nrpages == 0) in drop_pagecache_sb()
Dinode.c283 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()
Dfs-writeback.c544 if (mapping->nrpages == 0) in generic_sync_sb_inodes()
Dbuffer.c414 if (mapping->nrpages == 0) in invalidate_bdev()
3399 int nrpages; in buffer_init() local
3410 nrpages = (nr_free_buffer_pages() * 10) / 100; in buffer_init()
3411 max_buffer_heads = nrpages * (PAGE_SIZE / sizeof(struct buffer_head)); in buffer_init()
Dblock_dev.c65 if (bdev->bd_inode->i_mapping->nrpages == 0) in kill_bdev()
415 ret += bdev->bd_inode->i_mapping->nrpages; in nr_blockdev_pages()
Dlibfs.c20 stat->blocks = inode->i_mapping->nrpages << (PAGE_CACHE_SHIFT - 9); in simple_getattr()
/fs/nfs/
Dinode.c121 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()
/fs/gfs2/
Dmeta_io.c110 gfs2_assert_withdraw(sdp, !mapping->nrpages); in gfs2_meta_inval()
Dglops.c282 return !gl->gl_aspace->i_mapping->nrpages; in rgrp_go_demote_ok()
/fs/jffs2/
Ddir.c205 inode->i_mapping->nrpages = 0; in jffs2_create()
229 f->inocache->pino_nlink, inode->i_mapping->nrpages)); in jffs2_create()
Dfs.c309 inode->i_mapping->nrpages = 0; in jffs2_iget()
/fs/btrfs/
Dextent_io.c1161 unsigned long nrpages; in lock_delalloc_pages() local
1170 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()
Dordered-data.c668 .nr_to_write = mapping->nrpages * 2, in btrfs_fdatawrite_range()
Dinode.c4468 WARN_ON(inode->i_data.nrpages); in btrfs_destroy_inode()
/fs/jbd2/
Dcommit.c220 .nr_to_write = mapping->nrpages * 2, in journal_submit_inode_data_buffers()
/fs/hugetlbfs/
Dinode.c382 BUG_ON(!lstart && mapping->nrpages); in truncate_hugepages()
/fs/ubifs/
Ddir.c117 inode->i_mapping->nrpages = 0; in ubifs_new_inode()
/fs/ext4/
Dinode.c2469 if (!mapping->nrpages || !mapping_tagged(mapping, PAGECACHE_TAG_DIRTY)) in ext4_da_writepages()