Searched refs:nrpages (Results 1 – 25 of 35) sorted by relevance
12
/fs/gfs2/ |
D | glops.c | 473 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()
|
D | log.c | 554 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()
|
D | file.c | 718 if (mapping->nrpages) { in gfs2_fsync() 740 if (mapping->nrpages) in gfs2_fsync()
|
/fs/nilfs2/ |
D | page.c | 328 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/ |
D | drop_caches.c | 30 (inode->i_mapping->nrpages == 0 && !need_resched())) { in drop_pagecache_sb()
|
D | block_dev.c | 82 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()
|
D | direct-io.c | 311 dio->inode->i_mapping->nrpages) { in dio_complete() 378 dio->inode->i_mapping->nrpages); in dio_bio_end_aio()
|
D | inode.c | 528 BUG_ON(inode->i_data.nrpages); in clear_inode() 763 if (inode_has_buffers(inode) || inode->i_data.nrpages) { in inode_lru_isolate()
|
D | buffer.c | 3431 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()
|
D | libfs.c | 32 stat->blocks = inode->i_mapping->nrpages << (PAGE_SHIFT - 9); in simple_getattr()
|
/fs/f2fs/ |
D | debug.c | 107 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()
|
D | node.c | 2665 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()
|
D | checkpoint.c | 211 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/ |
D | inode.c | 154 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()
|
D | direct.c | 1002 if (mapping->nrpages) { in nfs_file_direct_write()
|
/fs/jffs2/ |
D | dir.c | 188 inode->i_mapping->nrpages = 0; in jffs2_create() 210 f->inocache->pino_nlink, inode->i_mapping->nrpages); in jffs2_create()
|
D | fs.c | 320 inode->i_mapping->nrpages = 0; in jffs2_iget()
|
/fs/orangefs/ |
D | file.c | 484 #define mapping_nrpages(idata) ((idata)->nrpages)
|
/fs/iomap/ |
D | direct-io.c | 107 (dio->flags & IOMAP_DIO_WRITE) && inode->i_mapping->nrpages) { in iomap_dio_complete()
|
/fs/9p/ |
D | vfs_file.c | 427 if (inode->i_mapping && inode->i_mapping->nrpages) in v9fs_file_write_iter()
|
/fs/xfs/ |
D | xfs_bmap_util.c | 750 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/ |
D | inode.c | 1935 if (inode->i_mapping && inode->i_mapping->nrpages != 0) { 2086 inode->i_mapping->nrpages != 0) { 2146 inode->i_mapping->nrpages != 0) {
|
/fs/jbd2/ |
D | commit.c | 196 .nr_to_write = mapping->nrpages * 2, in journal_submit_inode_data_buffers()
|
/fs/nfs/blocklayout/ |
D | blocklayout.c | 897 if (end != inode->i_mapping->nrpages) { in pnfs_num_cont_bytes()
|
/fs/fscache/ |
D | page.c | 1225 if (!mapping || mapping->nrpages == 0) { in __fscache_uncache_all_inode_pages()
|
12