Lines Matching refs:mapping
100 struct address_space *mapping; in xfs_iozero() local
104 mapping = VFS_I(ip)->i_mapping; in xfs_iozero()
120 status = pagecache_write_begin(NULL, mapping, pos, bytes, in xfs_iozero()
128 status = pagecache_write_end(NULL, mapping, pos, bytes, in xfs_iozero()
706 struct address_space *mapping = file->f_mapping; in xfs_file_dio_aio_write() local
707 struct inode *inode = mapping->host; in xfs_file_dio_aio_write()
735 if (unaligned_io || mapping->nrpages) in xfs_file_dio_aio_write()
746 if (mapping->nrpages && iolock == XFS_IOLOCK_SHARED) { in xfs_file_dio_aio_write()
762 if (mapping->nrpages) { in xfs_file_dio_aio_write()
790 ret = mapping->a_ops->direct_IO(iocb, &data, pos); in xfs_file_dio_aio_write()
793 if (mapping->nrpages) { in xfs_file_dio_aio_write()
794 invalidate_inode_pages2_range(mapping, in xfs_file_dio_aio_write()
821 struct address_space *mapping = file->f_mapping; in xfs_file_buffered_aio_write() local
822 struct inode *inode = mapping->host; in xfs_file_buffered_aio_write()
880 struct address_space *mapping = file->f_mapping; in xfs_file_write_iter() local
881 struct inode *inode = mapping->host; in xfs_file_write_iter()
1279 if (unlikely(page->mapping != inode->i_mapping)) { in xfs_find_get_desired_pgoff()