Lines Matching refs:mapping
34 static void hfsplus_write_failed(struct address_space *mapping, loff_t to) in hfsplus_write_failed() argument
36 struct inode *inode = mapping->host; in hfsplus_write_failed()
44 static int hfsplus_write_begin(struct file *file, struct address_space *mapping, in hfsplus_write_begin() argument
51 ret = cont_write_begin(file, mapping, pos, len, flags, pagep, fsdata, in hfsplus_write_begin()
53 &HFSPLUS_I(mapping->host)->phys_size); in hfsplus_write_begin()
55 hfsplus_write_failed(mapping, pos + len); in hfsplus_write_begin()
60 static sector_t hfsplus_bmap(struct address_space *mapping, sector_t block) in hfsplus_bmap() argument
62 return generic_block_bmap(mapping, block, hfsplus_get_block); in hfsplus_bmap()
67 struct inode *inode = page->mapping->host; in hfsplus_releasepage()
129 struct address_space *mapping = file->f_mapping; in hfsplus_direct_IO() local
145 hfsplus_write_failed(mapping, end); in hfsplus_direct_IO()
151 static int hfsplus_writepages(struct address_space *mapping, in hfsplus_writepages() argument
154 return mpage_writepages(mapping, wbc, hfsplus_get_block); in hfsplus_writepages()