Lines Matching defs:mapping
35 static void hfsplus_write_failed(struct address_space *mapping, loff_t to)
37 struct inode *inode = mapping->host;
45 static int hfsplus_write_begin(struct file *file, struct address_space *mapping,
52 ret = cont_write_begin(file, mapping, pos, len, flags, pagep, fsdata,
54 &HFSPLUS_I(mapping->host)->phys_size);
56 hfsplus_write_failed(mapping, pos + len);
61 static sector_t hfsplus_bmap(struct address_space *mapping, sector_t block)
63 return generic_block_bmap(mapping, block, hfsplus_get_block);
68 struct inode *inode = page->mapping->host;
129 struct address_space *mapping = file->f_mapping;
130 struct inode *inode = mapping->host;
145 hfsplus_write_failed(mapping, end);
151 static int hfsplus_writepages(struct address_space *mapping,
154 return mpage_writepages(mapping, wbc, hfsplus_get_block);