Home
last modified time | relevance | path

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

12

/fs/nilfs2/
Dpage.c340 smap->nrpages--; in nilfs_copy_back_pages()
351 dmap->nrpages++; in nilfs_copy_back_pages()
517 if (inode->i_mapping->nrpages == 0) in nilfs_find_uncommitted_extent()
/fs/f2fs/
Ddebug.c97 si->node_pages = NODE_MAPPING(sbi)->nrpages; in update_general_status()
98 si->meta_pages = META_MAPPING(sbi)->nrpages; in update_general_status()
252 npages = NODE_MAPPING(sbi)->nrpages; in update_mem_info()
254 npages = META_MAPPING(sbi)->nrpages; in update_mem_info()
Dnode.c2377 int i, idx, last_offset, nrpages; in restore_node_summary() local
2384 for (i = 0; i < last_offset; i += nrpages, addr += nrpages) { in restore_node_summary()
2385 nrpages = min(last_offset - i, BIO_MAX_PAGES); in restore_node_summary()
2388 ra_meta_pages(sbi, addr, nrpages, META_POR, true); in restore_node_summary()
2390 for (idx = addr; idx < addr + nrpages; idx++) { in restore_node_summary()
2402 addr + nrpages); in restore_node_summary()
Dcheckpoint.c154 int ra_meta_pages(struct f2fs_sb_info *sbi, block_t start, int nrpages, in ra_meta_pages() argument
174 for (; nrpages-- > 0; blkno++) { in ra_meta_pages()
/fs/
Ddrop_caches.c24 (inode->i_mapping->nrpages == 0)) { in drop_pagecache_sb()
Dblock_dev.c92 if (mapping->nrpages == 0 && mapping->nrexceptional == 0) in kill_bdev()
105 if (mapping->nrpages) { in invalidate_bdev()
753 ret += bdev->bd_inode->i_mapping->nrpages; in nr_blockdev_pages()
1957 mapping->nrpages == 0) { in iterate_bdevs()
Dinode.c507 BUG_ON(inode->i_data.nrpages); in clear_inode()
735 if (inode_has_buffers(inode) || inode->i_data.nrpages) { in inode_lru_isolate()
Dbuffer.c3473 unsigned long nrpages; in buffer_init() local
3484 nrpages = (nr_free_buffer_pages() * 10) / 100; in buffer_init()
3485 max_buffer_heads = nrpages * (PAGE_SIZE / sizeof(struct buffer_head)); in buffer_init()
Dlibfs.c28 stat->blocks = inode->i_mapping->nrpages << (PAGE_SHIFT - 9); in simple_getattr()
/fs/nfs/
Dinode.c156 if (mapping->nrpages != 0) { in nfs_sync_mapping()
167 if (inode->i_mapping->nrpages == 0) in nfs_set_cache_invalid()
211 if (mapping->nrpages != 0) { in nfs_zap_mapping()
789 if (inode->i_mapping->nrpages == 0) in nfs_close_context()
1077 if (mapping->nrpages != 0) { in nfs_invalidate_mapping()
Ddirect.c1025 if (mapping->nrpages) { in nfs_file_direct_write()
/fs/xfs/
Dxfs_file.c277 if (mapping->nrpages) { in xfs_file_dio_aio_read()
579 if (mapping->nrpages) { in xfs_file_dio_aio_write()
622 if (mapping->nrpages) { in xfs_file_dio_aio_write()
Dxfs_bmap_util.c900 VFS_I(ip)->i_mapping->nrpages == 0 && in xfs_can_free_eofblocks()
1678 if (VFS_I(ip)->i_mapping->nrpages) in xfs_swap_extent_flush()
/fs/gfs2/
Dlog.c540 if (ip->i_inode.i_mapping->nrpages == 0) in gfs2_ordered_write()
559 if (ip->i_inode.i_mapping->nrpages == 0) in gfs2_ordered_wait()
Dfile.c657 if (mapping->nrpages) { in gfs2_fsync()
677 if (mapping->nrpages) in gfs2_fsync()
/fs/exofs/
Dinode.c801 start + mapping->nrpages : in exofs_writepages()
807 expected_pages = mapping->nrpages; in exofs_writepages()
815 mapping->nrpages, start, end, expected_pages); in exofs_writepages()
/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.c318 inode->i_mapping->nrpages = 0; in jffs2_iget()
/fs/orangefs/
Dfile.c600 #define mapping_nrpages(idata) ((idata)->nrpages)
/fs/9p/
Dvfs_file.c426 if (inode->i_mapping && inode->i_mapping->nrpages) in v9fs_file_write_iter()
/fs/jbd2/
Dcommit.c196 .nr_to_write = mapping->nrpages * 2, in journal_submit_inode_data_buffers()
/fs/nfs/blocklayout/
Dblocklayout.c827 if (end != inode->i_mapping->nrpages) { in pnfs_num_cont_bytes()
/fs/fscache/
Dpage.c1173 if (!mapping || mapping->nrpages == 0) { in __fscache_uncache_all_inode_pages()
/fs/btrfs/
Dextent_io.c1591 unsigned long nrpages; in lock_delalloc_pages() local
1600 nrpages = end_index - index + 1; in lock_delalloc_pages()
1601 while (nrpages > 0) { in lock_delalloc_pages()
1604 nrpages, ARRAY_SIZE(pages)), pages); in lock_delalloc_pages()
1628 nrpages -= ret; in lock_delalloc_pages()
/fs/cifs/
Dinode.c1889 if (inode->i_mapping && inode->i_mapping->nrpages != 0) {
2039 inode->i_mapping->nrpages != 0) {

12