Lines Matching refs:mapping
39 static void hfs_write_failed(struct address_space *mapping, loff_t to) in hfs_write_failed() argument
41 struct inode *inode = mapping->host; in hfs_write_failed()
49 static int hfs_write_begin(struct file *file, struct address_space *mapping, in hfs_write_begin() argument
56 ret = cont_write_begin(file, mapping, pos, len, flags, pagep, fsdata, in hfs_write_begin()
58 &HFS_I(mapping->host)->phys_size); in hfs_write_begin()
60 hfs_write_failed(mapping, pos + len); in hfs_write_begin()
65 static sector_t hfs_bmap(struct address_space *mapping, sector_t block) in hfs_bmap() argument
67 return generic_block_bmap(mapping, block, hfs_get_block); in hfs_bmap()
72 struct inode *inode = page->mapping->host; in hfs_releasepage()
131 struct address_space *mapping = file->f_mapping; in hfs_direct_IO() local
147 hfs_write_failed(mapping, end); in hfs_direct_IO()
153 static int hfs_writepages(struct address_space *mapping, in hfs_writepages() argument
156 return mpage_writepages(mapping, wbc, hfs_get_block); in hfs_writepages()