Lines Matching refs:mapping
128 static int hpfs_readpages(struct file *file, struct address_space *mapping, in hpfs_readpages() argument
131 return mpage_readpages(mapping, pages, nr_pages, hpfs_get_block); in hpfs_readpages()
134 static int hpfs_writepages(struct address_space *mapping, in hpfs_writepages() argument
137 return mpage_writepages(mapping, wbc, hpfs_get_block); in hpfs_writepages()
140 static void hpfs_write_failed(struct address_space *mapping, loff_t to) in hpfs_write_failed() argument
142 struct inode *inode = mapping->host; in hpfs_write_failed()
154 static int hpfs_write_begin(struct file *file, struct address_space *mapping, in hpfs_write_begin() argument
161 ret = cont_write_begin(file, mapping, pos, len, flags, pagep, fsdata, in hpfs_write_begin()
163 &hpfs_i(mapping->host)->mmu_private); in hpfs_write_begin()
165 hpfs_write_failed(mapping, pos + len); in hpfs_write_begin()
170 static int hpfs_write_end(struct file *file, struct address_space *mapping, in hpfs_write_end() argument
174 struct inode *inode = mapping->host; in hpfs_write_end()
176 err = generic_write_end(file, mapping, pos, len, copied, pagep, fsdata); in hpfs_write_end()
178 hpfs_write_failed(mapping, pos + len); in hpfs_write_end()
188 static sector_t _hpfs_bmap(struct address_space *mapping, sector_t block) in _hpfs_bmap() argument
190 return generic_block_bmap(mapping, block, hpfs_get_block); in _hpfs_bmap()