Lines Matching defs:mapping
42 static void hfs_write_failed(struct address_space *mapping, loff_t to)
44 struct inode *inode = mapping->host;
52 static int hfs_write_begin(struct file *file, struct address_space *mapping,
59 ret = cont_write_begin(file, mapping, pos, len, flags, pagep, fsdata,
61 &HFS_I(mapping->host)->phys_size);
63 hfs_write_failed(mapping, pos + len);
68 static sector_t hfs_bmap(struct address_space *mapping, sector_t block)
70 return generic_block_bmap(mapping, block, hfs_get_block);
75 struct inode *inode = page->mapping->host;
133 struct address_space *mapping = file->f_mapping;
134 struct inode *inode = mapping->host;
149 hfs_write_failed(mapping, end);
155 static int hfs_writepages(struct address_space *mapping,
158 return mpage_writepages(mapping, wbc, hfs_get_block);