Lines Matching refs:mapping
127 static int hpfs_readpages(struct file *file, struct address_space *mapping, in hpfs_readpages() argument
130 return mpage_readpages(mapping, pages, nr_pages, hpfs_get_block); in hpfs_readpages()
133 static int hpfs_writepages(struct address_space *mapping, in hpfs_writepages() argument
136 return mpage_writepages(mapping, wbc, hpfs_get_block); in hpfs_writepages()
139 static void hpfs_write_failed(struct address_space *mapping, loff_t to) in hpfs_write_failed() argument
141 struct inode *inode = mapping->host; in hpfs_write_failed()
153 static int hpfs_write_begin(struct file *file, struct address_space *mapping, in hpfs_write_begin() argument
160 ret = cont_write_begin(file, mapping, pos, len, flags, pagep, fsdata, in hpfs_write_begin()
162 &hpfs_i(mapping->host)->mmu_private); in hpfs_write_begin()
164 hpfs_write_failed(mapping, pos + len); in hpfs_write_begin()
169 static int hpfs_write_end(struct file *file, struct address_space *mapping, in hpfs_write_end() argument
173 struct inode *inode = mapping->host; in hpfs_write_end()
175 err = generic_write_end(file, mapping, pos, len, copied, pagep, fsdata); in hpfs_write_end()
177 hpfs_write_failed(mapping, pos + len); in hpfs_write_end()
187 static sector_t _hpfs_bmap(struct address_space *mapping, sector_t block) in _hpfs_bmap() argument
189 return generic_block_bmap(mapping, block, hpfs_get_block); in _hpfs_bmap()