Lines Matching refs:jinode

2642 static int jbd2_journal_file_inode(handle_t *handle, struct jbd2_inode *jinode,  in jbd2_journal_file_inode()  argument
2652 jbd_debug(4, "Adding inode %lu, tid:%d\n", jinode->i_vfs_inode->i_ino, in jbd2_journal_file_inode()
2656 jinode->i_flags |= flags; in jbd2_journal_file_inode()
2658 if (jinode->i_dirty_end) { in jbd2_journal_file_inode()
2659 jinode->i_dirty_start = min(jinode->i_dirty_start, start_byte); in jbd2_journal_file_inode()
2660 jinode->i_dirty_end = max(jinode->i_dirty_end, end_byte); in jbd2_journal_file_inode()
2662 jinode->i_dirty_start = start_byte; in jbd2_journal_file_inode()
2663 jinode->i_dirty_end = end_byte; in jbd2_journal_file_inode()
2667 if (jinode->i_transaction == transaction || in jbd2_journal_file_inode()
2668 jinode->i_next_transaction == transaction) in jbd2_journal_file_inode()
2680 if (jinode->i_transaction) { in jbd2_journal_file_inode()
2681 J_ASSERT(jinode->i_next_transaction == NULL); in jbd2_journal_file_inode()
2682 J_ASSERT(jinode->i_transaction == in jbd2_journal_file_inode()
2684 jinode->i_next_transaction = transaction; in jbd2_journal_file_inode()
2688 J_ASSERT(!jinode->i_next_transaction); in jbd2_journal_file_inode()
2689 jinode->i_transaction = transaction; in jbd2_journal_file_inode()
2690 list_add(&jinode->i_list, &transaction->t_inode_list); in jbd2_journal_file_inode()
2698 struct jbd2_inode *jinode, loff_t start_byte, loff_t length) in jbd2_journal_inode_ranged_write() argument
2700 return jbd2_journal_file_inode(handle, jinode, in jbd2_journal_inode_ranged_write()
2705 int jbd2_journal_inode_ranged_wait(handle_t *handle, struct jbd2_inode *jinode, in jbd2_journal_inode_ranged_wait() argument
2708 return jbd2_journal_file_inode(handle, jinode, JI_WAIT_DATA, in jbd2_journal_inode_ranged_wait()
2733 struct jbd2_inode *jinode, in jbd2_journal_begin_ordered_truncate() argument
2740 if (!jinode->i_transaction) in jbd2_journal_begin_ordered_truncate()
2749 inode_trans = jinode->i_transaction; in jbd2_journal_begin_ordered_truncate()
2752 ret = filemap_fdatawrite_range(jinode->i_vfs_inode->i_mapping, in jbd2_journal_begin_ordered_truncate()