Lines Matching defs:mapping
267 static int jfs_writepages(struct address_space *mapping,
270 return mpage_writepages(mapping, wbc, jfs_get_block);
283 static void jfs_write_failed(struct address_space *mapping, loff_t to)
285 struct inode *inode = mapping->host;
293 static int jfs_write_begin(struct file *file, struct address_space *mapping,
299 ret = block_write_begin(mapping, pos, len, pagep, jfs_get_block);
301 jfs_write_failed(mapping, pos + len);
306 static int jfs_write_end(struct file *file, struct address_space *mapping,
312 ret = generic_write_end(file, mapping, pos, len, copied, page, fsdata);
314 jfs_write_failed(mapping, pos + len);
318 static sector_t jfs_bmap(struct address_space *mapping, sector_t block)
320 return generic_block_bmap(mapping, block, jfs_get_block);
326 struct address_space *mapping = file->f_mapping;
342 jfs_write_failed(mapping, end);