Lines Matching refs:jinode
2936 void jbd2_journal_init_jbd_inode(struct jbd2_inode *jinode, struct inode *inode) in jbd2_journal_init_jbd_inode() argument
2938 jinode->i_transaction = NULL; in jbd2_journal_init_jbd_inode()
2939 jinode->i_next_transaction = NULL; in jbd2_journal_init_jbd_inode()
2940 jinode->i_vfs_inode = inode; in jbd2_journal_init_jbd_inode()
2941 jinode->i_flags = 0; in jbd2_journal_init_jbd_inode()
2942 jinode->i_dirty_start = 0; in jbd2_journal_init_jbd_inode()
2943 jinode->i_dirty_end = 0; in jbd2_journal_init_jbd_inode()
2944 INIT_LIST_HEAD(&jinode->i_list); in jbd2_journal_init_jbd_inode()
2953 struct jbd2_inode *jinode) in jbd2_journal_release_jbd_inode() argument
2960 if (jinode->i_flags & JI_COMMIT_RUNNING) { in jbd2_journal_release_jbd_inode()
2962 DEFINE_WAIT_BIT(wait, &jinode->i_flags, __JI_COMMIT_RUNNING); in jbd2_journal_release_jbd_inode()
2963 wq = bit_waitqueue(&jinode->i_flags, __JI_COMMIT_RUNNING); in jbd2_journal_release_jbd_inode()
2971 if (jinode->i_transaction) { in jbd2_journal_release_jbd_inode()
2972 list_del(&jinode->i_list); in jbd2_journal_release_jbd_inode()
2973 jinode->i_transaction = NULL; in jbd2_journal_release_jbd_inode()