Home
last modified time | relevance | path

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

12

/fs/gfs2/
Dglops.c473 unsigned long nrpages; in inode_go_dump() local
479 nrpages = inode->i_data.nrpages; in inode_go_dump()
488 (unsigned long long)i_size_read(inode), nrpages); in inode_go_dump()
Dlog.c554 if (ip->i_inode.i_mapping->nrpages == 0) { in gfs2_ordered_write()
577 if (ip->i_inode.i_mapping->nrpages == 0) in gfs2_ordered_wait()
Dfile.c718 if (mapping->nrpages) { in gfs2_fsync()
740 if (mapping->nrpages) in gfs2_fsync()
/fs/nilfs2/
Dpage.c328 smap->nrpages--; in nilfs_copy_back_pages()
339 dmap->nrpages++; in nilfs_copy_back_pages()
503 if (inode->i_mapping->nrpages == 0) in nilfs_find_uncommitted_extent()
/fs/
Ddrop_caches.c30 (inode->i_mapping->nrpages == 0 && !need_resched())) { in drop_pagecache_sb()
Dblock_dev.c82 if (mapping->nrpages == 0 && mapping->nrexceptional == 0) in kill_bdev()
95 if (mapping->nrpages) { in invalidate_bdev()
952 ret += bdev->bd_inode->i_mapping->nrpages; in nr_blockdev_pages()
2223 mapping->nrpages == 0) { in iterate_bdevs()
Ddirect-io.c311 dio->inode->i_mapping->nrpages) { in dio_complete()
378 dio->inode->i_mapping->nrpages); in dio_bio_end_aio()
Dinode.c528 BUG_ON(inode->i_data.nrpages); in clear_inode()
763 if (inode_has_buffers(inode) || inode->i_data.nrpages) { in inode_lru_isolate()
Dbuffer.c3431 unsigned long nrpages; in buffer_init() local
3443 nrpages = (nr_free_buffer_pages() * 10) / 100; in buffer_init()
3444 max_buffer_heads = nrpages * (PAGE_SIZE / sizeof(struct buffer_head)); in buffer_init()
Dlibfs.c32 stat->blocks = inode->i_mapping->nrpages << (PAGE_SHIFT - 9); in simple_getattr()
/fs/f2fs/
Ddebug.c107 si->node_pages = NODE_MAPPING(sbi)->nrpages; in update_general_status()
109 si->meta_pages = META_MAPPING(sbi)->nrpages; in update_general_status()
270 unsigned npages = NODE_MAPPING(sbi)->nrpages; in update_mem_info()
274 unsigned npages = META_MAPPING(sbi)->nrpages; in update_mem_info()
Dnode.c2665 int i, idx, last_offset, nrpages; in f2fs_restore_node_summary() local
2672 for (i = 0; i < last_offset; i += nrpages, addr += nrpages) { in f2fs_restore_node_summary()
2673 nrpages = min(last_offset - i, BIO_MAX_PAGES); in f2fs_restore_node_summary()
2676 f2fs_ra_meta_pages(sbi, addr, nrpages, META_POR, true); in f2fs_restore_node_summary()
2678 for (idx = addr; idx < addr + nrpages; idx++) { in f2fs_restore_node_summary()
2693 addr + nrpages); in f2fs_restore_node_summary()
Dcheckpoint.c211 int f2fs_ra_meta_pages(struct f2fs_sb_info *sbi, block_t start, int nrpages, in f2fs_ra_meta_pages() argument
231 for (; nrpages-- > 0; blkno++) { in f2fs_ra_meta_pages()
/fs/nfs/
Dinode.c154 if (mapping->nrpages != 0) { in nfs_sync_mapping()
211 if (inode->i_mapping->nrpages == 0) in nfs_set_cache_invalid()
255 if (mapping->nrpages != 0) { in nfs_zap_mapping()
944 if (inode->i_mapping->nrpages == 0) in nfs_close_context()
1219 if (mapping->nrpages != 0) { in nfs_invalidate_mapping()
Ddirect.c1002 if (mapping->nrpages) { in nfs_file_direct_write()
/fs/jffs2/
Ddir.c188 inode->i_mapping->nrpages = 0; in jffs2_create()
210 f->inocache->pino_nlink, inode->i_mapping->nrpages); in jffs2_create()
Dfs.c320 inode->i_mapping->nrpages = 0; in jffs2_iget()
/fs/orangefs/
Dfile.c484 #define mapping_nrpages(idata) ((idata)->nrpages)
/fs/iomap/
Ddirect-io.c107 (dio->flags & IOMAP_DIO_WRITE) && inode->i_mapping->nrpages) { in iomap_dio_complete()
/fs/9p/
Dvfs_file.c427 if (inode->i_mapping && inode->i_mapping->nrpages) in v9fs_file_write_iter()
/fs/xfs/
Dxfs_bmap_util.c750 VFS_I(ip)->i_mapping->nrpages == 0 && in xfs_can_free_eofblocks()
1459 if (VFS_I(ip)->i_mapping->nrpages) in xfs_swap_extent_flush()
/fs/cifs/
Dinode.c1935 if (inode->i_mapping && inode->i_mapping->nrpages != 0) {
2086 inode->i_mapping->nrpages != 0) {
2146 inode->i_mapping->nrpages != 0) {
/fs/jbd2/
Dcommit.c196 .nr_to_write = mapping->nrpages * 2, in journal_submit_inode_data_buffers()
/fs/nfs/blocklayout/
Dblocklayout.c897 if (end != inode->i_mapping->nrpages) { in pnfs_num_cont_bytes()
/fs/fscache/
Dpage.c1225 if (!mapping || mapping->nrpages == 0) { in __fscache_uncache_all_inode_pages()

12