Lines Matching refs:cur_inode
200 struct inode *cur_inode; member
5276 page = find_lock_page(sctx->cur_inode->i_mapping, index); in put_file_data()
5278 page_cache_sync_readahead(sctx->cur_inode->i_mapping, in put_file_data()
5282 page = find_or_create_page(sctx->cur_inode->i_mapping, in put_file_data()
5291 page_cache_async_readahead(sctx->cur_inode->i_mapping, in put_file_data()
5729 if (sctx->cur_inode == NULL) { in send_extent_data()
5732 sctx->cur_inode = btrfs_iget(root->fs_info->sb, sctx->cur_ino, root); in send_extent_data()
5733 if (IS_ERR(sctx->cur_inode)) { in send_extent_data()
5734 int err = PTR_ERR(sctx->cur_inode); in send_extent_data()
5736 sctx->cur_inode = NULL; in send_extent_data()
5740 file_ra_state_init(&sctx->ra, sctx->cur_inode->i_mapping); in send_extent_data()
5761 sctx->clean_page_cache = (sctx->cur_inode->i_mapping->nrpages == 0); in send_extent_data()
5799 truncate_inode_pages_range(&sctx->cur_inode->i_data, in send_extent_data()
6797 if (sctx->cur_inode == NULL) in close_current_inode()
6800 i_size = i_size_read(sctx->cur_inode); in close_current_inode()
6809 truncate_inode_pages_range(&sctx->cur_inode->i_data, in close_current_inode()
6813 iput(sctx->cur_inode); in close_current_inode()
6814 sctx->cur_inode = NULL; in close_current_inode()