Lines Matching refs:mapping
122 static int hpfs_readpages(struct file *file, struct address_space *mapping, in hpfs_readpages() argument
125 return mpage_readpages(mapping, pages, nr_pages, hpfs_get_block); in hpfs_readpages()
128 static int hpfs_writepages(struct address_space *mapping, in hpfs_writepages() argument
131 return mpage_writepages(mapping, wbc, hpfs_get_block); in hpfs_writepages()
134 static void hpfs_write_failed(struct address_space *mapping, loff_t to) in hpfs_write_failed() argument
136 struct inode *inode = mapping->host; in hpfs_write_failed()
148 static int hpfs_write_begin(struct file *file, struct address_space *mapping, in hpfs_write_begin() argument
155 ret = cont_write_begin(file, mapping, pos, len, flags, pagep, fsdata, in hpfs_write_begin()
157 &hpfs_i(mapping->host)->mmu_private); in hpfs_write_begin()
159 hpfs_write_failed(mapping, pos + len); in hpfs_write_begin()
164 static int hpfs_write_end(struct file *file, struct address_space *mapping, in hpfs_write_end() argument
168 struct inode *inode = mapping->host; in hpfs_write_end()
170 err = generic_write_end(file, mapping, pos, len, copied, pagep, fsdata); in hpfs_write_end()
172 hpfs_write_failed(mapping, pos + len); in hpfs_write_end()
182 static sector_t _hpfs_bmap(struct address_space *mapping, sector_t block) in _hpfs_bmap() argument
184 return generic_block_bmap(mapping,block,hpfs_get_block); in _hpfs_bmap()