Lines Matching refs:mapping
55 static void ext2_write_failed(struct address_space *mapping, loff_t to) in ext2_write_failed() argument
57 struct inode *inode = mapping->host; in ext2_write_failed()
796 ext2_readpages(struct file *file, struct address_space *mapping, in ext2_readpages() argument
799 return mpage_readpages(mapping, pages, nr_pages, ext2_get_block); in ext2_readpages()
803 ext2_write_begin(struct file *file, struct address_space *mapping, in ext2_write_begin() argument
809 ret = block_write_begin(mapping, pos, len, flags, pagep, in ext2_write_begin()
812 ext2_write_failed(mapping, pos + len); in ext2_write_begin()
816 static int ext2_write_end(struct file *file, struct address_space *mapping, in ext2_write_end() argument
822 ret = generic_write_end(file, mapping, pos, len, copied, page, fsdata); in ext2_write_end()
824 ext2_write_failed(mapping, pos + len); in ext2_write_end()
829 ext2_nobh_write_begin(struct file *file, struct address_space *mapping, in ext2_nobh_write_begin() argument
835 ret = nobh_write_begin(mapping, pos, len, flags, pagep, fsdata, in ext2_nobh_write_begin()
838 ext2_write_failed(mapping, pos + len); in ext2_nobh_write_begin()
848 static sector_t ext2_bmap(struct address_space *mapping, sector_t block) in ext2_bmap() argument
850 return generic_block_bmap(mapping,block,ext2_get_block); in ext2_bmap()
857 struct address_space *mapping = file->f_mapping; in ext2_direct_IO() local
858 struct inode *inode = mapping->host; in ext2_direct_IO()
869 ext2_write_failed(mapping, offset + count); in ext2_direct_IO()
874 ext2_writepages(struct address_space *mapping, struct writeback_control *wbc) in ext2_writepages() argument
876 return mpage_writepages(mapping, wbc, ext2_get_block); in ext2_writepages()