Lines Matching refs:mapping
98 struct address_space *mapping; in xfs_iozero() local
101 mapping = VFS_I(ip)->i_mapping; in xfs_iozero()
111 status = pagecache_write_begin(NULL, mapping, pos, bytes, in xfs_iozero()
119 status = pagecache_write_end(NULL, mapping, pos, bytes, bytes, in xfs_iozero()
660 struct address_space *mapping = file->f_mapping; in xfs_file_dio_aio_write() local
661 struct inode *inode = mapping->host; in xfs_file_dio_aio_write()
689 if (unaligned_io || mapping->nrpages) in xfs_file_dio_aio_write()
700 if (mapping->nrpages && iolock == XFS_IOLOCK_SHARED) { in xfs_file_dio_aio_write()
713 if (mapping->nrpages) { in xfs_file_dio_aio_write()
744 ret = mapping->a_ops->direct_IO(iocb, &data, pos); in xfs_file_dio_aio_write()
747 if (mapping->nrpages) { in xfs_file_dio_aio_write()
748 invalidate_inode_pages2_range(mapping, in xfs_file_dio_aio_write()
772 struct address_space *mapping = file->f_mapping; in xfs_file_buffered_aio_write() local
773 struct inode *inode = mapping->host; in xfs_file_buffered_aio_write()
831 struct address_space *mapping = file->f_mapping; in xfs_file_write_iter() local
832 struct inode *inode = mapping->host; in xfs_file_write_iter()
1241 if (unlikely(page->mapping != inode->i_mapping)) { in xfs_find_get_desired_pgoff()