Lines Matching refs:journal
80 static inline void ocfs2_set_ci_lock_trans(struct ocfs2_journal *journal, in ocfs2_set_ci_lock_trans() argument
84 ci->ci_last_trans = journal->j_trans_id; in ocfs2_set_ci_lock_trans()
96 struct ocfs2_journal *journal = in ocfs2_ci_fully_checkpointed() local
97 OCFS2_SB(ocfs2_metadata_cache_get_super(ci))->journal; in ocfs2_ci_fully_checkpointed()
100 ret = time_after(journal->j_trans_id, ci->ci_last_trans); in ocfs2_ci_fully_checkpointed()
112 struct ocfs2_journal *journal = in ocfs2_ci_is_new() local
113 OCFS2_SB(ocfs2_metadata_cache_get_super(ci))->journal; in ocfs2_ci_is_new()
116 ret = !(time_after(journal->j_trans_id, ci->ci_created_trans)); in ocfs2_ci_is_new()
139 ci->ci_created_trans = osb->journal->j_trans_id; in ocfs2_ci_set_new()
173 int ocfs2_journal_init(struct ocfs2_journal *journal,
176 int ocfs2_journal_wipe(struct ocfs2_journal *journal,
178 int ocfs2_journal_load(struct ocfs2_journal *journal, int local,
208 wait_event(osb->journal->j_checkpointed, in ocfs2_checkpoint_inode()
590 OCFS2_SB(inode->i_sb)->journal->j_journal, in ocfs2_begin_ordered_truncate()