Lines Matching refs:mapping

56 static void ext2_write_failed(struct address_space *mapping, loff_t to)  in ext2_write_failed()  argument
58 struct inode *inode = mapping->host; in ext2_write_failed()
797 ext2_readpages(struct file *file, struct address_space *mapping, in ext2_readpages() argument
800 return mpage_readpages(mapping, pages, nr_pages, ext2_get_block); in ext2_readpages()
804 ext2_write_begin(struct file *file, struct address_space *mapping, in ext2_write_begin() argument
810 ret = block_write_begin(mapping, pos, len, flags, pagep, in ext2_write_begin()
813 ext2_write_failed(mapping, pos + len); in ext2_write_begin()
817 static int ext2_write_end(struct file *file, struct address_space *mapping, in ext2_write_end() argument
823 ret = generic_write_end(file, mapping, pos, len, copied, page, fsdata); in ext2_write_end()
825 ext2_write_failed(mapping, pos + len); in ext2_write_end()
830 ext2_nobh_write_begin(struct file *file, struct address_space *mapping, in ext2_nobh_write_begin() argument
836 ret = nobh_write_begin(mapping, pos, len, flags, pagep, fsdata, in ext2_nobh_write_begin()
839 ext2_write_failed(mapping, pos + len); in ext2_nobh_write_begin()
849 static sector_t ext2_bmap(struct address_space *mapping, sector_t block) in ext2_bmap() argument
851 return generic_block_bmap(mapping,block,ext2_get_block); in ext2_bmap()
858 struct address_space *mapping = file->f_mapping; in ext2_direct_IO() local
859 struct inode *inode = mapping->host; in ext2_direct_IO()
870 ext2_write_failed(mapping, offset + count); in ext2_direct_IO()
875 ext2_writepages(struct address_space *mapping, struct writeback_control *wbc) in ext2_writepages() argument
877 return mpage_writepages(mapping, wbc, ext2_get_block); in ext2_writepages()