Lines Matching defs:mapping
171 static int hpfs_writepages(struct address_space *mapping,
174 return mpage_writepages(mapping, wbc, hpfs_get_block);
177 static void hpfs_write_failed(struct address_space *mapping, loff_t to)
179 struct inode *inode = mapping->host;
191 static int hpfs_write_begin(struct file *file, struct address_space *mapping,
198 ret = cont_write_begin(file, mapping, pos, len, pagep, fsdata,
200 &hpfs_i(mapping->host)->mmu_private);
202 hpfs_write_failed(mapping, pos + len);
207 static int hpfs_write_end(struct file *file, struct address_space *mapping,
211 struct inode *inode = mapping->host;
213 err = generic_write_end(file, mapping, pos, len, copied, pagep, fsdata);
215 hpfs_write_failed(mapping, pos + len);
225 static sector_t _hpfs_bmap(struct address_space *mapping, sector_t block)
227 return generic_block_bmap(mapping, block, hpfs_get_block);