/fs/erofs/ |
D | zutil.c | 12 unsigned int nrpages; member 44 if (requiredpages > gbuf->nrpages) { in z_erofs_get_gbuf() 64 int z_erofs_gbuf_growsize(unsigned int nrpages) in z_erofs_gbuf_growsize() argument 74 if (nrpages <= z_erofs_gbuf_nrpages) { in z_erofs_gbuf_growsize() 81 tmp_pages = kcalloc(nrpages, sizeof(*tmp_pages), GFP_KERNEL); in z_erofs_gbuf_growsize() 85 for (j = 0; j < gbuf->nrpages; ++j) in z_erofs_gbuf_growsize() 89 j = alloc_pages_bulk_array(GFP_KERNEL, nrpages, in z_erofs_gbuf_growsize() 93 } while (j != nrpages); in z_erofs_gbuf_growsize() 95 ptr = vmap(tmp_pages, nrpages, VM_MAP, PAGE_KERNEL); in z_erofs_gbuf_growsize() 104 gbuf->nrpages = nrpages; in z_erofs_gbuf_growsize() [all …]
|
D | internal.h | 472 int z_erofs_gbuf_growsize(unsigned int nrpages);
|
D | zdata.c | 299 unsigned int nrpages = PAGE_ALIGN(size) >> PAGE_SHIFT; in z_erofs_alloc_pcluster() local 305 if (nrpages > pcs->maxpages) in z_erofs_alloc_pcluster()
|
/fs/f2fs/ |
D | debug.c | 161 si->node_pages = NODE_MAPPING(sbi)->nrpages; in update_general_status() 163 si->meta_pages = META_MAPPING(sbi)->nrpages; in update_general_status() 166 si->compress_pages = COMPRESS_MAPPING(sbi)->nrpages; in update_general_status() 323 unsigned long npages = NODE_MAPPING(sbi)->nrpages; in update_mem_info() 328 unsigned long npages = META_MAPPING(sbi)->nrpages; in update_mem_info() 334 unsigned long npages = COMPRESS_MAPPING(sbi)->nrpages; in update_mem_info()
|
D | node.c | 111 (COMPRESS_MAPPING(sbi)->nrpages < in f2fs_available_free_memory() 2859 int i, idx, last_offset, nrpages; in f2fs_restore_node_summary() local 2866 for (i = 0; i < last_offset; i += nrpages, addr += nrpages) { in f2fs_restore_node_summary() 2867 nrpages = bio_max_segs(last_offset - i); in f2fs_restore_node_summary() 2870 f2fs_ra_meta_pages(sbi, addr, nrpages, META_POR, true); in f2fs_restore_node_summary() 2872 for (idx = addr; idx < addr + nrpages; idx++) { in f2fs_restore_node_summary() 2887 addr + nrpages); in f2fs_restore_node_summary()
|
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 273 for (; nrpages-- > 0; blkno++) { in f2fs_ra_meta_pages()
|
/fs/nilfs2/ |
D | page.c | 328 smap->nrpages--; in nilfs_copy_back_pages() 339 dmap->nrpages++; in nilfs_copy_back_pages() 498 if (inode->i_mapping->nrpages == 0) in nilfs_find_uncommitted_extent()
|
/fs/nfs/ |
D | inode.c | 148 if (mapping->nrpages != 0) { in nfs_sync_mapping() 211 if (inode->i_mapping->nrpages == 0) { in nfs_set_cache_invalid() 257 if (mapping->nrpages != 0) { in nfs_zap_mapping() 1018 if (inode->i_mapping->nrpages == 0) in nfs_close_context() 1294 if (mapping->nrpages != 0) { in nfs_invalidate_mapping()
|
D | direct.c | 1012 if (mapping->nrpages) { in nfs_file_direct_write()
|
/fs/jffs2/ |
D | dir.c | 191 inode->i_mapping->nrpages = 0; in jffs2_create() 214 f->inocache->pino_nlink, inode->i_mapping->nrpages); in jffs2_create()
|
D | fs.c | 321 inode->i_mapping->nrpages = 0; in jffs2_iget()
|
/fs/orangefs/ |
D | file.c | 420 #define mapping_nrpages(idata) ((idata)->nrpages)
|
/fs/ |
D | dax.c | 626 mapping->nrpages -= PG_PMD_NR; in grab_mapping_entry() 642 mapping->nrpages += 1UL << order; in grab_mapping_entry() 762 mapping->nrpages -= 1UL << dax_entry_order(entry); in __dax_invalidate_entry()
|
D | buffer.c | 3153 unsigned long nrpages; in buffer_init() local 3165 nrpages = (nr_free_buffer_pages() * 10) / 100; in buffer_init() 3166 max_buffer_heads = nrpages * (PAGE_SIZE / sizeof(struct buffer_head)); in buffer_init()
|
D | direct-io.c | 363 dio->inode->i_mapping->nrpages); in dio_bio_end_aio()
|
/fs/gfs2/ |
D | glock.c | 2389 unsigned long nrpages = 0; in gfs2_dump_glock() local 2394 nrpages = mapping->nrpages; in gfs2_dump_glock() 2413 (int)gl->gl_lockref.count, gl->gl_hold_time, nrpages); in gfs2_dump_glock()
|
D | log.c | 734 if (ip->i_inode.i_mapping->nrpages == 0) { in gfs2_ordered_write() 755 if (ip->i_inode.i_mapping->nrpages == 0) in gfs2_ordered_wait()
|
D | file.c | 749 if (mapping->nrpages) { in gfs2_fsync() 771 if (mapping->nrpages) in gfs2_fsync()
|
D | glops.c | 558 inode->i_data.nrpages); in inode_go_dump()
|
/fs/9p/ |
D | vfs_file.c | 434 if (inode->i_mapping && inode->i_mapping->nrpages) in v9fs_file_write_iter()
|
/fs/exfat/ |
D | inode.c | 562 inode->i_mapping->nrpages = 0; in exfat_fill_inode()
|
/fs/xfs/ |
D | xfs_bmap_util.c | 670 VFS_I(ip)->i_mapping->nrpages == 0 && in xfs_can_free_eofblocks() 1359 if (VFS_I(ip)->i_mapping->nrpages) in xfs_swap_extent_flush()
|
/fs/smb/client/ |
D | inode.c | 2455 if (inode->i_mapping && inode->i_mapping->nrpages != 0) { 2633 inode->i_mapping && inode->i_mapping->nrpages != 0) { 2707 inode->i_mapping->nrpages != 0) {
|
/fs/nfs/blocklayout/ |
D | blocklayout.c | 875 if (end != inode->i_mapping->nrpages) { in pnfs_num_cont_bytes()
|
/fs/ceph/ |
D | caps.c | 976 ci->netfs.inode.i_data.nrpages)) in __ceph_caps_used() 1936 if (inode->i_data.nrpages == 0 && in try_nonblocking_invalidate() 2069 inode->i_data.nrpages && /* have cached pages */ in ceph_check_caps() 4877 if (inode->i_data.nrpages > 0) in ceph_purge_inode_cap()
|