Searched refs:nrpages (Results 1 - 25 of 56) sorted by last modified time

123

/linux-master/fs/nfs/
H A Dinode.c148 if (mapping->nrpages != 0) {
211 if (inode->i_mapping->nrpages == 0) {
257 if (mapping->nrpages != 0) {
1018 if (inode->i_mapping->nrpages == 0)
1294 if (mapping->nrpages != 0) {
H A Dpnfs.c2282 (i_size_read(ino) == 0 || ino->i_mapping->nrpages != 0))
H A Ddirect.c1017 if (mapping->nrpages) {
/linux-master/fs/erofs/
H A Dinternal.h468 int erofs_pcpubuf_growsize(unsigned int nrpages);
/linux-master/block/
H A Dbdev.c93 if (mapping->nrpages) {
455 ret += inode->i_mapping->nrpages;
1200 mapping->nrpages == 0) {
/linux-master/fs/btrfs/
H A Dinode.c8658 WARN_ON(vfs_inode->i_data.nrpages);
/linux-master/fs/smb/client/
H A Dcifsfs.c1062 inode->i_mapping->nrpages != 0) {
H A Dinode.c2442 if (inode->i_mapping && inode->i_mapping->nrpages != 0) {
2620 inode->i_mapping && inode->i_mapping->nrpages != 0) {
2694 inode->i_mapping->nrpages != 0) {
/linux-master/mm/
H A Dshmem.c421 * But normally info->alloced == inode->i_mapping->nrpages + info->swapped
422 * So mm freed is info->alloced - (inode->i_mapping->nrpages + info->swapped)
433 READ_ONCE(inode->i_mapping->nrpages);
436 * after i_mapping->nrpages has already been adjusted (up or down),
437 * shmem_writepage() has to raise swapped before nrpages is lowered -
459 /* nrpages adjustment first, then shmem_recalc_inode() when balanced */
461 mapping->nrpages += pages;
471 /* nrpages adjustment done by __filemap_remove_folio() or caller */
797 mapping->nrpages += nr;
823 mapping->nrpages
[all...]
H A Dfilemap.c154 mapping->nrpages -= nr;
324 mapping->nrpages -= total_pages;
635 return mapping->nrpages;
912 mapping->nrpages += nr;
3874 if (mapping->nrpages &&
H A Dmmap.c2284 long nrpages = vma_pages(vma); local
2287 nr_accounted += nrpages;
2288 vm_stat_account(mm, vma->vm_flags, -nrpages);
/linux-master/fs/bcachefs/
H A Dfs-io-direct.c190 if (unlikely(mapping->nrpages)) {
644 if (unlikely(mapping->nrpages)) {
/linux-master/fs/ceph/
H A Dcaps.c1003 ci->netfs.inode.i_data.nrpages))
1983 if (inode->i_data.nrpages == 0 &&
2118 inode->i_data.nrpages && /* have cached pages */
5003 if (inode->i_data.nrpages > 0)
/linux-master/drivers/iommu/intel/
H A Diommu.c4130 unsigned long nrpages; local
4133 nrpages = aligned_nrpages(gather->start, size);
4138 start_pfn, nrpages,
4142 parent_domain_flush(dmar_domain, start_pfn, nrpages,
/linux-master/include/linux/
H A Dfs.h454 * @nrpages: Number of page entries, protected by the i_pages lock.
474 unsigned long nrpages; member in struct:address_space
/linux-master/fs/ubifs/
H A Ddir.c100 inode->i_mapping->nrpages = 0;
/linux-master/fs/exfat/
H A Dinode.c666 inode->i_mapping->nrpages = 0;
/linux-master/fs/f2fs/
H A Dnode.c111 (COMPRESS_MAPPING(sbi)->nrpages <
2849 int i, idx, last_offset, nrpages; local
2856 for (i = 0; i < last_offset; i += nrpages, addr += nrpages) {
2857 nrpages = bio_max_segs(last_offset - i);
2860 f2fs_ra_meta_pages(sbi, addr, nrpages, META_POR, true);
2862 for (idx = addr; idx < addr + nrpages; idx++) {
2877 addr + nrpages); local
H A Dfile.c1399 pgoff_t nrpages = DIV_ROUND_UP(i_size_read(inode), PAGE_SIZE); local
1413 ret = __exchange_data_block(inode, inode, end, start, nrpages - end, true);
H A Df2fs.h3774 int f2fs_ra_meta_pages(struct f2fs_sb_info *sbi, block_t start, int nrpages,
H A Ddebug.c161 si->node_pages = NODE_MAPPING(sbi)->nrpages;
163 si->meta_pages = META_MAPPING(sbi)->nrpages;
166 si->compress_pages = COMPRESS_MAPPING(sbi)->nrpages;
323 unsigned long npages = NODE_MAPPING(sbi)->nrpages;
328 unsigned long npages = META_MAPPING(sbi)->nrpages;
334 unsigned long npages = COMPRESS_MAPPING(sbi)->nrpages;
H A Dcompress.c1930 if (!mapping->nrpages)
H A Dcheckpoint.c251 int f2fs_ra_meta_pages(struct f2fs_sb_info *sbi, block_t start, int nrpages, argument
272 for (; nrpages-- > 0; blkno++) {
/linux-master/fs/
H A Dinode.c614 BUG_ON(inode->i_data.nrpages);
/linux-master/fs/ext4/
H A Dinode.c2533 if (!mapping->nrpages || !mapping_tagged(mapping, PAGECACHE_TAG_DIRTY))

Completed in 342 milliseconds

123