Lines Matching refs:mapping
292 static int omfs_readpages(struct file *file, struct address_space *mapping, in omfs_readpages() argument
295 return mpage_readpages(mapping, pages, nr_pages, omfs_get_block); in omfs_readpages()
304 omfs_writepages(struct address_space *mapping, struct writeback_control *wbc) in omfs_writepages() argument
306 return mpage_writepages(mapping, wbc, omfs_get_block); in omfs_writepages()
309 static void omfs_write_failed(struct address_space *mapping, loff_t to) in omfs_write_failed() argument
311 struct inode *inode = mapping->host; in omfs_write_failed()
319 static int omfs_write_begin(struct file *file, struct address_space *mapping, in omfs_write_begin() argument
325 ret = block_write_begin(mapping, pos, len, flags, pagep, in omfs_write_begin()
328 omfs_write_failed(mapping, pos + len); in omfs_write_begin()
333 static sector_t omfs_bmap(struct address_space *mapping, sector_t block) in omfs_bmap() argument
335 return generic_block_bmap(mapping, block, omfs_get_block); in omfs_bmap()