Home
last modified time | relevance | path

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

12

/linux-4.19.296/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()
932 ret += bdev->bd_inode->i_mapping->nrpages; in nr_blockdev_pages()
2181 mapping->nrpages == 0) { in iterate_bdevs()
Ddirect-io.c310 dio->inode->i_mapping->nrpages) { in dio_complete()
377 dio->inode->i_mapping->nrpages); in dio_bio_end_aio()
Dinode.c512 BUG_ON(inode->i_data.nrpages); in clear_inode()
747 if (inode_has_buffers(inode) || inode->i_data.nrpages) { in inode_lru_isolate()
Dbuffer.c3455 unsigned long nrpages; in buffer_init() local
3467 nrpages = (nr_free_buffer_pages() * 10) / 100; in buffer_init()
3468 max_buffer_heads = nrpages * (PAGE_SIZE / sizeof(struct buffer_head)); in buffer_init()
Dlibfs.c29 stat->blocks = inode->i_mapping->nrpages << (PAGE_SHIFT - 9); in simple_getattr()
/linux-4.19.296/fs/nilfs2/
Dpage.c329 smap->nrpages--; in nilfs_copy_back_pages()
340 dmap->nrpages++; in nilfs_copy_back_pages()
513 if (inode->i_mapping->nrpages == 0) in nilfs_find_uncommitted_extent()
/linux-4.19.296/fs/f2fs/
Ddebug.c98 si->node_pages = NODE_MAPPING(sbi)->nrpages; in update_general_status()
100 si->meta_pages = META_MAPPING(sbi)->nrpages; in update_general_status()
256 unsigned npages = NODE_MAPPING(sbi)->nrpages; in update_mem_info()
260 unsigned npages = META_MAPPING(sbi)->nrpages; in update_mem_info()
Dnode.c2617 int i, idx, last_offset, nrpages; in f2fs_restore_node_summary() local
2624 for (i = 0; i < last_offset; i += nrpages, addr += nrpages) { in f2fs_restore_node_summary()
2625 nrpages = min(last_offset - i, BIO_MAX_PAGES); in f2fs_restore_node_summary()
2628 f2fs_ra_meta_pages(sbi, addr, nrpages, META_POR, true); in f2fs_restore_node_summary()
2630 for (idx = addr; idx < addr + nrpages; idx++) { in f2fs_restore_node_summary()
2645 addr + nrpages); in f2fs_restore_node_summary()
Dcheckpoint.c186 int f2fs_ra_meta_pages(struct f2fs_sb_info *sbi, block_t start, int nrpages, in f2fs_ra_meta_pages() argument
206 for (; nrpages-- > 0; blkno++) { in f2fs_ra_meta_pages()
/linux-4.19.296/fs/nfs/
Dinode.c151 if (mapping->nrpages != 0) { in nfs_sync_mapping()
208 if (inode->i_mapping->nrpages == 0) in nfs_set_cache_invalid()
252 if (mapping->nrpages != 0) { in nfs_zap_mapping()
933 if (inode->i_mapping->nrpages == 0) in nfs_close_context()
1214 if (mapping->nrpages != 0) { in nfs_invalidate_mapping()
Ddirect.c1053 if (mapping->nrpages) { in nfs_file_direct_write()
/linux-4.19.296/fs/exofs/
Dinode.c795 start + mapping->nrpages : in exofs_writepages()
801 expected_pages = mapping->nrpages; in exofs_writepages()
809 mapping->nrpages, start, end, expected_pages); in exofs_writepages()
/linux-4.19.296/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.c319 inode->i_mapping->nrpages = 0; in jffs2_iget()
/linux-4.19.296/fs/gfs2/
Dlog.c557 if (ip->i_inode.i_mapping->nrpages == 0) { in gfs2_ordered_write()
580 if (ip->i_inode.i_mapping->nrpages == 0) in gfs2_ordered_wait()
Dfile.c665 if (mapping->nrpages) { in gfs2_fsync()
687 if (mapping->nrpages) in gfs2_fsync()
/linux-4.19.296/fs/orangefs/
Dfile.c577 #define mapping_nrpages(idata) ((idata)->nrpages)
/linux-4.19.296/fs/9p/
Dvfs_file.c442 if (inode->i_mapping && inode->i_mapping->nrpages) in v9fs_file_write_iter()
/linux-4.19.296/fs/xfs/
Dxfs_bmap_util.c755 VFS_I(ip)->i_mapping->nrpages == 0 && in xfs_can_free_eofblocks()
1514 if (VFS_I(ip)->i_mapping->nrpages) in xfs_swap_extent_flush()
/linux-4.19.296/fs/jbd2/
Dcommit.c196 .nr_to_write = mapping->nrpages * 2, in journal_submit_inode_data_buffers()
/linux-4.19.296/fs/nfs/blocklayout/
Dblocklayout.c897 if (end != inode->i_mapping->nrpages) { in pnfs_num_cont_bytes()
/linux-4.19.296/fs/fscache/
Dpage.c1229 if (!mapping || mapping->nrpages == 0) { in __fscache_uncache_all_inode_pages()
/linux-4.19.296/fs/cifs/
Dinode.c1927 if (inode->i_mapping && inode->i_mapping->nrpages != 0) {
2082 inode->i_mapping->nrpages != 0) {
Dcifsfs.c874 inode->i_mapping->nrpages != 0) { in cifs_llseek()

12