Lines Matching defs:journal
5 * journal.h
41 journal_t *j_journal; /* The kernels journal type */
43 * this journal */
80 static inline void ocfs2_set_ci_lock_trans(struct ocfs2_journal *journal,
84 ci->ci_last_trans = journal->j_trans_id;
96 struct ocfs2_journal *journal =
97 OCFS2_SB(ocfs2_metadata_cache_get_super(ci))->journal;
100 ret = time_after(journal->j_trans_id, ci->ci_last_trans);
112 struct ocfs2_journal *journal =
113 OCFS2_SB(ocfs2_metadata_cache_get_super(ci))->journal;
116 ret = !(time_after(journal->j_trans_id, ci->ci_created_trans));
128 * journal open and j_trans_id could be junk. */
139 ci->ci_created_trans = osb->journal->j_trans_id;
143 /* Exported only for the journal struct init code in super.c. Do not call. */
158 * Initialize, Load, Shutdown, Wipe a journal.
160 * ocfs2_journal_init - Initialize journal structures in the OSB.
161 * ocfs2_journal_load - Load the given journal off disk. Replay it if
163 * ocfs2_journal_shutdown - Shutdown a journal, this will flush all
165 * ocfs2_journal_wipe - Wipe transactions from a journal. Optionally
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,
202 * metadata to the journal, you won't know, and will
208 wait_event(osb->journal->j_checkpointed,
221 * the journal was aborted. The majority of paths don't
228 * ocfs2_journal_access* - Notify the handle that we want to journal this
590 OCFS2_SB(inode->i_sb)->journal->j_journal,