Lines Matching defs:mapping
42 static void hfs_write_failed(struct address_space *mapping, loff_t to)
44 struct inode *inode = mapping->host;
52 int hfs_write_begin(struct file *file, struct address_space *mapping,
58 ret = cont_write_begin(file, mapping, pos, len, pagep, fsdata,
60 &HFS_I(mapping->host)->phys_size);
62 hfs_write_failed(mapping, pos + len);
67 static sector_t hfs_bmap(struct address_space *mapping, sector_t block)
69 return generic_block_bmap(mapping, block, hfs_get_block);
74 struct inode *inode = folio->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);