• Home
  • Raw
  • Download

Lines Matching refs:mapping

275 	struct inode *inode = page->mapping->host;  in ocfs2_readpage()
338 static int ocfs2_readpages(struct file *filp, struct address_space *mapping, in ocfs2_readpages() argument
342 struct inode *inode = mapping->host; in ocfs2_readpages()
376 err = mpage_readpages(mapping, pages, nr_pages, ocfs2_get_block); in ocfs2_readpages()
490 static sector_t ocfs2_bmap(struct address_space *mapping, sector_t block) in ocfs2_bmap() argument
495 struct inode *inode = mapping->host; in ocfs2_bmap()
656 journal_t *journal = OCFS2_SB(page->mapping->host->i_sb)->journal->j_journal; in ocfs2_invalidatepage()
663 journal_t *journal = OCFS2_SB(page->mapping->host->i_sb)->journal->j_journal; in ocfs2_releasepage()
1149 static int ocfs2_grab_pages_for_write(struct address_space *mapping, in ocfs2_grab_pages_for_write() argument
1156 struct inode *inode = mapping->host; in ocfs2_grab_pages_for_write()
1184 if (mmap_page->mapping != mapping) { in ocfs2_grab_pages_for_write()
1199 wc->w_pages[i] = find_or_create_page(mapping, index, in ocfs2_grab_pages_for_write()
1218 static int ocfs2_write_cluster(struct address_space *mapping, in ocfs2_write_cluster() argument
1227 struct inode *inode = mapping->host; in ocfs2_write_cluster()
1319 static int ocfs2_write_cluster_by_desc(struct address_space *mapping, in ocfs2_write_cluster_by_desc() argument
1329 struct ocfs2_super *osb = OCFS2_SB(mapping->host->i_sb); in ocfs2_write_cluster_by_desc()
1343 ret = ocfs2_write_cluster(mapping, desc->c_phys, in ocfs2_write_cluster_by_desc()
1485 static int ocfs2_write_begin_inline(struct address_space *mapping, in ocfs2_write_begin_inline() argument
1495 page = find_or_create_page(mapping, 0, GFP_NOFS); in ocfs2_write_begin_inline()
1550 static int ocfs2_try_to_write_inline_data(struct address_space *mapping, in ocfs2_try_to_write_inline_data() argument
1597 ret = ocfs2_write_begin_inline(mapping, inode, wc); in ocfs2_try_to_write_inline_data()
1642 int ocfs2_write_begin_nolock(struct address_space *mapping, in ocfs2_write_begin_nolock() argument
1650 struct inode *inode = mapping->host; in ocfs2_write_begin_nolock()
1665 ret = ocfs2_try_to_write_inline_data(mapping, inode, pos, len, in ocfs2_write_begin_nolock()
1758 ret = ocfs2_grab_pages_for_write(mapping, wc, wc->w_cpos, pos, in ocfs2_write_begin_nolock()
1766 ret = ocfs2_write_cluster_by_desc(mapping, data_ac, meta_ac, wc, pos, in ocfs2_write_begin_nolock()
1799 static int ocfs2_write_begin(struct file *file, struct address_space *mapping, in ocfs2_write_begin() argument
1805 struct inode *inode = mapping->host; in ocfs2_write_begin()
1822 ret = ocfs2_write_begin_nolock(mapping, pos, len, flags, pagep, in ocfs2_write_begin()
1867 int ocfs2_write_end_nolock(struct address_space *mapping, in ocfs2_write_end_nolock() argument
1873 struct inode *inode = mapping->host; in ocfs2_write_end_nolock()
1943 static int ocfs2_write_end(struct file *file, struct address_space *mapping, in ocfs2_write_end() argument
1948 struct inode *inode = mapping->host; in ocfs2_write_end()
1950 ret = ocfs2_write_end_nolock(mapping, pos, len, copied, page, fsdata); in ocfs2_write_end()