Lines Matching defs:mapping
134 static int hpfs_writepages(struct address_space *mapping,
137 return mpage_writepages(mapping, wbc, hpfs_get_block);
140 static void hpfs_write_failed(struct address_space *mapping, loff_t to)
142 struct inode *inode = mapping->host;
154 static int hpfs_write_begin(struct file *file, struct address_space *mapping,
161 ret = cont_write_begin(file, mapping, pos, len, flags, pagep, fsdata,
163 &hpfs_i(mapping->host)->mmu_private);
165 hpfs_write_failed(mapping, pos + len);
170 static int hpfs_write_end(struct file *file, struct address_space *mapping,
174 struct inode *inode = mapping->host;
176 err = generic_write_end(file, mapping, pos, len, copied, pagep, fsdata);
178 hpfs_write_failed(mapping, pos + len);
188 static sector_t _hpfs_bmap(struct address_space *mapping, sector_t block)
190 return generic_block_bmap(mapping, block, hpfs_get_block);