Home | History | Annotate | Download | only in ext2fs

Lines Matching refs:journal_t

78 typedef struct journal_s	journal_t;	/* Journal control structure */
355 journal_t * t_journal;
451 /* The journal_t maintains all of the journaling state information for a
454 * We use the journal_t to keep track of all outstanding transaction
616 extern struct journal_head * journal_get_descriptor_buffer(journal_t *);
617 extern unsigned long journal_next_log_block(journal_t *);
620 extern void journal_commit_transaction(journal_t *);
623 int __journal_clean_checkpoint_list(journal_t *journal);
637 extern void __wait_on_journal (journal_t *);
653 static inline void lock_journal(journal_t *journal)
659 static inline int try_lock_journal(journal_t * journal)
664 static inline void unlock_journal(journal_t * journal)
681 extern handle_t *journal_start(journal_t *, int nblocks);
682 extern handle_t *journal_try_start(journal_t *, int nblocks);
694 extern int journal_flushpage(journal_t *, struct page *, unsigned long);
695 extern int journal_try_to_free_buffers(journal_t *, struct page *, int);
697 extern int journal_flush (journal_t *);
699 extern void journal_lock_updates (journal_t *);
700 extern void journal_unlock_updates (journal_t *);
702 extern journal_t * journal_init_dev(kdev_t dev, kdev_t fs_dev,
704 extern journal_t * journal_init_inode (struct inode *);
705 extern int journal_update_format (journal_t *);
707 (journal_t *, unsigned long, unsigned long, unsigned long);
709 (journal_t *, unsigned long, unsigned long, unsigned long);
711 (journal_t *, unsigned long, unsigned long, unsigned long);
712 extern int journal_create (journal_t *);
713 extern int journal_load (journal_t *journal);
714 extern void journal_destroy (journal_t *);
715 extern int journal_recover (journal_t *journal);
716 extern int journal_wipe (journal_t *, int);
717 extern int journal_skip_recovery (journal_t *);
718 extern void journal_update_superblock (journal_t *, int);
719 extern void __journal_abort (journal_t *);
720 extern void journal_abort (journal_t *, int);
721 extern int journal_errno (journal_t *);
722 extern void journal_ack_err (journal_t *);
723 extern int journal_clear_err (journal_t *);
724 extern unsigned long journal_bmap(journal_t *journal, unsigned long blocknr);
725 extern int journal_force_commit(journal_t *journal);
738 extern int journal_init_revoke(journal_t *, int);
742 extern void journal_destroy_revoke(journal_t *);
746 extern void journal_write_revoke_records(journal_t *, transaction_t *);
749 extern int journal_set_revoke(journal_t *, unsigned long, tid_t);
750 extern int journal_test_revoke(journal_t *, unsigned long, tid_t);
751 extern void journal_clear_revoke(journal_t *);
760 extern int log_space_left (journal_t *); /* Called with journal locked */
761 extern tid_t log_start_commit (journal_t *, transaction_t *);
762 extern void log_wait_commit (journal_t *, tid_t);
763 extern int log_do_checkpoint (journal_t *, int);
765 extern void log_wait_for_space(journal_t *, int nblocks);
766 extern void __journal_drop_transaction(journal_t *, transaction_t *);
767 extern int cleanup_journal_tail(journal_t *);
791 static inline int is_journal_aborted(journal_t *journal)
818 extern int journal_recover (journal_t *journal);
819 extern int journal_skip_recovery (journal_t *);
822 extern int journal_init_revoke(journal_t *, int);
827 extern int journal_set_revoke(journal_t *, unsigned long, tid_t);
828 extern int journal_test_revoke(journal_t *, unsigned long, tid_t);
829 extern void journal_clear_revoke(journal_t *);
832 extern void journal_destroy_revoke(journal_t *);