Lines Matching defs:mapping
346 static int exfat_writepages(struct address_space *mapping,
349 return mpage_writepages(mapping, wbc, exfat_get_block);
352 static void exfat_write_failed(struct address_space *mapping, loff_t to)
354 struct inode *inode = mapping->host;
363 static int exfat_write_begin(struct file *file, struct address_space *mapping,
370 ret = cont_write_begin(file, mapping, pos, len, pagep, fsdata,
372 &EXFAT_I(mapping->host)->i_size_ondisk);
375 exfat_write_failed(mapping, pos+len);
380 static int exfat_write_end(struct file *file, struct address_space *mapping,
384 struct inode *inode = mapping->host;
388 err = generic_write_end(file, mapping, pos, len, copied, pagep, fsdata);
398 exfat_write_failed(mapping, pos+len);
411 struct address_space *mapping = iocb->ki_filp->f_mapping;
412 struct inode *inode = mapping->host;
437 exfat_write_failed(mapping, size);
441 static sector_t exfat_aop_bmap(struct address_space *mapping, sector_t block)
446 down_read(&EXFAT_I(mapping->host)->truncate_lock);
447 blocknr = generic_block_bmap(mapping, block, exfat_get_block);
448 up_read(&EXFAT_I(mapping->host)->truncate_lock);
453 * exfat_block_truncate_page() zeroes out a mapping from file offset `from'