Lines Matching refs:jinode

2647 static int jbd2_journal_file_inode(handle_t *handle, struct jbd2_inode *jinode,  in jbd2_journal_file_inode()  argument
2657 jbd_debug(4, "Adding inode %lu, tid:%d\n", jinode->i_vfs_inode->i_ino, in jbd2_journal_file_inode()
2661 jinode->i_flags |= flags; in jbd2_journal_file_inode()
2663 if (jinode->i_dirty_end) { in jbd2_journal_file_inode()
2664 jinode->i_dirty_start = min(jinode->i_dirty_start, start_byte); in jbd2_journal_file_inode()
2665 jinode->i_dirty_end = max(jinode->i_dirty_end, end_byte); in jbd2_journal_file_inode()
2667 jinode->i_dirty_start = start_byte; in jbd2_journal_file_inode()
2668 jinode->i_dirty_end = end_byte; in jbd2_journal_file_inode()
2672 if (jinode->i_transaction == transaction || in jbd2_journal_file_inode()
2673 jinode->i_next_transaction == transaction) in jbd2_journal_file_inode()
2685 if (jinode->i_transaction) { in jbd2_journal_file_inode()
2686 J_ASSERT(jinode->i_next_transaction == NULL); in jbd2_journal_file_inode()
2687 J_ASSERT(jinode->i_transaction == in jbd2_journal_file_inode()
2689 jinode->i_next_transaction = transaction; in jbd2_journal_file_inode()
2693 J_ASSERT(!jinode->i_next_transaction); in jbd2_journal_file_inode()
2694 jinode->i_transaction = transaction; in jbd2_journal_file_inode()
2695 list_add(&jinode->i_list, &transaction->t_inode_list); in jbd2_journal_file_inode()
2703 struct jbd2_inode *jinode, loff_t start_byte, loff_t length) in jbd2_journal_inode_ranged_write() argument
2705 return jbd2_journal_file_inode(handle, jinode, in jbd2_journal_inode_ranged_write()
2710 int jbd2_journal_inode_ranged_wait(handle_t *handle, struct jbd2_inode *jinode, in jbd2_journal_inode_ranged_wait() argument
2713 return jbd2_journal_file_inode(handle, jinode, JI_WAIT_DATA, in jbd2_journal_inode_ranged_wait()
2738 struct jbd2_inode *jinode, in jbd2_journal_begin_ordered_truncate() argument
2745 if (!jinode->i_transaction) in jbd2_journal_begin_ordered_truncate()
2754 inode_trans = jinode->i_transaction; in jbd2_journal_begin_ordered_truncate()
2757 ret = filemap_fdatawrite_range(jinode->i_vfs_inode->i_mapping, in jbd2_journal_begin_ordered_truncate()