Lines Matching refs:mapping
287 static int jfs_writepages(struct address_space *mapping, in jfs_writepages() argument
290 return mpage_writepages(mapping, wbc, jfs_get_block); in jfs_writepages()
298 static int jfs_readpages(struct file *file, struct address_space *mapping, in jfs_readpages() argument
301 return mpage_readpages(mapping, pages, nr_pages, jfs_get_block); in jfs_readpages()
304 static void jfs_write_failed(struct address_space *mapping, loff_t to) in jfs_write_failed() argument
306 struct inode *inode = mapping->host; in jfs_write_failed()
314 static int jfs_write_begin(struct file *file, struct address_space *mapping, in jfs_write_begin() argument
320 ret = nobh_write_begin(mapping, pos, len, flags, pagep, fsdata, in jfs_write_begin()
323 jfs_write_failed(mapping, pos + len); in jfs_write_begin()
328 static sector_t jfs_bmap(struct address_space *mapping, sector_t block) in jfs_bmap() argument
330 return generic_block_bmap(mapping, block, jfs_get_block); in jfs_bmap()
337 struct address_space *mapping = file->f_mapping; in jfs_direct_IO() local
353 jfs_write_failed(mapping, end); in jfs_direct_IO()