| /fs/erofs/ |
| A D | zutil.c | 13 unsigned int nrpages; member 45 if (requiredpages > gbuf->nrpages) { in z_erofs_get_gbuf() 75 if (nrpages <= z_erofs_gbuf_nrpages) { in z_erofs_gbuf_growsize() 86 for (j = 0; j < gbuf->nrpages; ++j) in z_erofs_gbuf_growsize() 90 j = alloc_pages_bulk(GFP_KERNEL, nrpages, in z_erofs_gbuf_growsize() 94 } while (j != nrpages); in z_erofs_gbuf_growsize() 105 gbuf->nrpages = nrpages; in z_erofs_gbuf_growsize() 110 z_erofs_gbuf_nrpages = nrpages; in z_erofs_gbuf_growsize() 113 for (j = 0; j < nrpages; ++j) in z_erofs_gbuf_growsize() 168 for (j = 0; j < gbuf->nrpages; ++j) in z_erofs_gbuf_exit() [all …]
|
| A D | zdata.c | 253 unsigned int nrpages = PAGE_ALIGN(size) >> PAGE_SHIFT; in z_erofs_alloc_pcluster() local 259 if (nrpages > pcs->maxpages) in z_erofs_alloc_pcluster() 1901 unsigned int nrpages = readahead_count(rac); in z_erofs_readahead() local 1905 trace_erofs_readahead(inode, readahead_index(rac), nrpages, false); in z_erofs_readahead() 1925 (void)z_erofs_runqueue(&f, nrpages); in z_erofs_readahead()
|
| A D | internal.h | 486 int z_erofs_gbuf_growsize(unsigned int nrpages);
|
| /fs/nilfs2/ |
| A D | page.c | 331 smap->nrpages--; in nilfs_copy_back_pages() 342 dmap->nrpages++; in nilfs_copy_back_pages() 516 if (inode->i_mapping->nrpages == 0) in nilfs_find_uncommitted_extent()
|
| /fs/f2fs/ |
| A D | debug.c | 226 si->node_pages = NODE_MAPPING(sbi)->nrpages; in update_general_status() 228 si->meta_pages = META_MAPPING(sbi)->nrpages; in update_general_status() 231 si->compress_pages = COMPRESS_MAPPING(sbi)->nrpages; in update_general_status() 390 unsigned long npages = NODE_MAPPING(sbi)->nrpages; in update_mem_info() 395 unsigned long npages = META_MAPPING(sbi)->nrpages; in update_mem_info() 401 unsigned long npages = COMPRESS_MAPPING(sbi)->nrpages; in update_mem_info()
|
| A D | node.c | 111 (COMPRESS_MAPPING(sbi)->nrpages < in f2fs_available_free_memory() 2900 int i, idx, last_offset, nrpages; in f2fs_restore_node_summary() local 2907 for (i = 0; i < last_offset; i += nrpages, addr += nrpages) { in f2fs_restore_node_summary() 2908 nrpages = bio_max_segs(last_offset - i); in f2fs_restore_node_summary() 2911 f2fs_ra_meta_pages(sbi, addr, nrpages, META_POR, true); in f2fs_restore_node_summary() 2913 for (idx = addr; idx < addr + nrpages; idx++) { in f2fs_restore_node_summary() 2928 addr + nrpages); in f2fs_restore_node_summary()
|
| A D | checkpoint.c | 252 int f2fs_ra_meta_pages(struct f2fs_sb_info *sbi, block_t start, int nrpages, in f2fs_ra_meta_pages() argument 272 for (; nrpages-- > 0; blkno++) { in f2fs_ra_meta_pages()
|
| /fs/netfs/ |
| A D | locking.c | 139 if (inode->i_mapping->nrpages != 0) { in netfs_block_buffered()
|
| A D | write_collect.c | 408 wreq->mapping->nrpages) { in netfs_write_collection()
|
| /fs/nfs/ |
| A D | inode.c | 150 if (mapping->nrpages != 0) { in nfs_sync_mapping() 212 if (inode->i_mapping->nrpages == 0) in nfs_set_cache_invalid() 218 if (inode->i_mapping->nrpages == 0 || in nfs_set_cache_invalid() 262 if (mapping->nrpages != 0) { in nfs_zap_mapping() 1164 if (inode->i_mapping->nrpages == 0) in nfs_close_context() 1443 if (mapping->nrpages != 0) { in nfs_invalidate_mapping()
|
| /fs/bcachefs/ |
| A D | fs-io-direct.c | 204 if (unlikely(mapping->nrpages)) { in bch2_read_iter() 661 if (unlikely(mapping->nrpages)) { in bch2_direct_write()
|
| A D | fs-io-pagecache.c | 58 if (!mapping->nrpages) in bch2_write_invalidate_inode_pages_range() 65 if (!mapping->nrpages) in bch2_write_invalidate_inode_pages_range()
|
| /fs/ |
| A D | dax.c | 703 mapping->nrpages -= PG_PMD_NR; in grab_mapping_entry() 719 mapping->nrpages += 1UL << order; in grab_mapping_entry() 832 mapping->nrpages -= 1UL << dax_entry_order(entry); in __dax_invalidate_entry() 911 mapping->nrpages -= 1UL << dax_entry_order(entry); in dax_delete_mapping_range()
|
| A D | buffer.c | 3149 unsigned long nrpages; in buffer_init() local 3157 nrpages = (nr_free_buffer_pages() * 10) / 100; in buffer_init() 3158 max_buffer_heads = nrpages * (PAGE_SIZE / sizeof(struct buffer_head)); in buffer_init()
|
| A D | direct-io.c | 362 dio->inode->i_mapping->nrpages); in dio_bio_end_aio()
|
| /fs/jffs2/ |
| A D | dir.c | 191 inode->i_mapping->nrpages = 0; in jffs2_create() 214 f->inocache->pino_nlink, inode->i_mapping->nrpages); in jffs2_create()
|
| A D | fs.c | 321 inode->i_mapping->nrpages = 0; in jffs2_iget()
|
| /fs/orangefs/ |
| A D | file.c | 422 #define mapping_nrpages(idata) ((idata)->nrpages)
|
| /fs/gfs2/ |
| A D | glock.c | 2386 unsigned long nrpages = 0; in gfs2_dump_glock() local 2391 nrpages = mapping->nrpages; in gfs2_dump_glock() 2410 (int)gl->gl_lockref.count, gl->gl_hold_time, nrpages); in gfs2_dump_glock()
|
| A D | log.c | 727 if (ip->i_inode.i_mapping->nrpages == 0) { in gfs2_ordered_write() 748 if (ip->i_inode.i_mapping->nrpages == 0) in gfs2_ordered_wait()
|
| A D | file.c | 751 if (mapping->nrpages) { in gfs2_fsync() 773 if (mapping->nrpages) in gfs2_fsync()
|
| A D | glops.c | 561 inode->i_data.nrpages); in inode_go_dump()
|
| /fs/xfs/ |
| A D | xfs_bmap_util.c | 529 VFS_I(ip)->i_mapping->nrpages == 0 && in xfs_can_free_eofblocks() 1236 if (VFS_I(ip)->i_mapping->nrpages) in xfs_swap_extent_flush()
|
| /fs/exfat/ |
| A D | inode.c | 658 inode->i_mapping->nrpages = 0; in exfat_fill_inode()
|
| /fs/iomap/ |
| A D | direct-io.c | 260 if (!dio->iocb->ki_filp->f_mapping->nrpages) { in iomap_finish_ioend_direct()
|