Home
last modified time | relevance | path

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

12

/fs/f2fs/
Ddebug.c54 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()
/fs/xfs/
Dxfs_vnode.h58 #define VN_CACHED(vp) (vp->i_mapping->nrpages)
Dxfs_file.c289 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()
/fs/nilfs2/
Dpage.c346 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()
Dinode.c786 if (inode->i_data.nrpages) in nilfs_evict_inode()
794 if (inode->i_data.nrpages) in nilfs_evict_inode()
/fs/
Ddrop_caches.c24 (inode->i_mapping->nrpages == 0)) { in drop_pagecache_sb()
Dblock_dev.c79 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()
Dinode.c511 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()
Dbuffer.c3383 unsigned long nrpages; in buffer_init() local
3394 nrpages = (nr_free_buffer_pages() * 10) / 100; in buffer_init()
3395 max_buffer_heads = nrpages * (PAGE_SIZE / sizeof(struct buffer_head)); in buffer_init()
Dlibfs.c31 stat->blocks = inode->i_mapping->nrpages << (PAGE_CACHE_SHIFT - 9); in simple_getattr()
Dfs-writeback.c1237 (mapping->nrpages == 0)) { in wait_sb_inodes()
/fs/9p/
Dvfs_file.c485 if (inode->i_mapping && inode->i_mapping->nrpages) in v9fs_file_write_internal()
691 if (mapping->nrpages) { in v9fs_direct_write()
/fs/gfs2/
Dlog.c510 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()
Dfile.c641 if (mapping->nrpages) { in gfs2_fsync()
659 if (mapping->nrpages) in gfs2_fsync()
/fs/ext4/
Dfile.c148 !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()
/fs/exofs/
Dinode.c798 start + mapping->nrpages : in exofs_writepages()
804 expected_pages = mapping->nrpages; in exofs_writepages()
812 mapping->nrpages, start, end, expected_pages); in exofs_writepages()
/fs/jffs2/
Ddir.c205 inode->i_mapping->nrpages = 0; in jffs2_create()
227 f->inocache->pino_nlink, inode->i_mapping->nrpages); in jffs2_create()
Dfs.c319 inode->i_mapping->nrpages = 0; in jffs2_iget()
/fs/nfs/
Dinode.c143 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()
/fs/btrfs/
Dextent_io.c1520 unsigned long nrpages; in lock_delalloc_pages() local
1529 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()
/fs/fscache/
Dpage.c1093 if (!mapping || mapping->nrpages == 0) { in __fscache_uncache_all_inode_pages()
/fs/ceph/
Dcaps.c834 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()
/fs/jbd2/
Dcommit.c200 .nr_to_write = mapping->nrpages * 2, in journal_submit_inode_data_buffers()
/fs/cifs/
Dinode.c1687 if (inode->i_mapping && inode->i_mapping->nrpages != 0) {
1799 inode->i_mapping->nrpages != 0) {
Dcifsfs.c746 inode->i_mapping->nrpages != 0) { in cifs_llseek()

12