Lines Matching defs:journal_t

78 typedef struct journal_s	journal_t;	/* Journal control structure */
356 journal_t * t_journal;
452 /* The journal_t maintains all of the journaling state information for a
455 * We use the journal_t to keep track of all outstanding transaction
617 extern struct journal_head * journal_get_descriptor_buffer(journal_t *);
618 extern unsigned long journal_next_log_block(journal_t *);
621 extern void journal_commit_transaction(journal_t *);
624 int __journal_clean_checkpoint_list(journal_t *journal);
638 extern void __wait_on_journal (journal_t *);
654 static inline void lock_journal(journal_t *journal)
660 static inline int try_lock_journal(journal_t * journal)
665 static inline void unlock_journal(journal_t * journal)
682 extern handle_t *journal_start(journal_t *, int nblocks);
683 extern handle_t *journal_try_start(journal_t *, int nblocks);
695 extern int journal_flushpage(journal_t *, struct page *, unsigned long);
696 extern int journal_try_to_free_buffers(journal_t *, struct page *, int);
698 extern int journal_flush (journal_t *);
700 extern void journal_lock_updates (journal_t *);
701 extern void journal_unlock_updates (journal_t *);
703 extern journal_t * journal_init_dev(kdev_t dev, kdev_t fs_dev,
705 extern journal_t * journal_init_inode (struct inode *);
706 extern int journal_update_format (journal_t *);
708 (journal_t *, unsigned long, unsigned long, unsigned long);
710 (journal_t *, unsigned long, unsigned long, unsigned long);
712 (journal_t *, unsigned long, unsigned long, unsigned long);
713 extern int journal_create (journal_t *);
714 extern int journal_load (journal_t *journal);
715 extern void journal_destroy (journal_t *);
716 extern int journal_recover (journal_t *journal);
717 extern int journal_wipe (journal_t *, int);
718 extern int journal_skip_recovery (journal_t *);
719 extern void journal_update_superblock (journal_t *, int);
720 extern void __journal_abort (journal_t *);
721 extern void journal_abort (journal_t *, int);
722 extern int journal_errno (journal_t *);
723 extern void journal_ack_err (journal_t *);
724 extern int journal_clear_err (journal_t *);
725 extern unsigned long journal_bmap(journal_t *journal, unsigned long blocknr);
726 extern int journal_force_commit(journal_t *journal);
739 extern int journal_init_revoke(journal_t *, int);
743 extern void journal_destroy_revoke(journal_t *);
747 extern void journal_write_revoke_records(journal_t *, transaction_t *);
750 extern int journal_set_revoke(journal_t *, unsigned long, tid_t);
751 extern int journal_test_revoke(journal_t *, unsigned long, tid_t);
752 extern void journal_clear_revoke(journal_t *);
761 extern int log_space_left (journal_t *); /* Called with journal locked */
762 extern tid_t log_start_commit (journal_t *, transaction_t *);
763 extern void log_wait_commit (journal_t *, tid_t);
764 extern int log_do_checkpoint (journal_t *, int);
766 extern void log_wait_for_space(journal_t *, int nblocks);
767 extern void __journal_drop_transaction(journal_t *, transaction_t *);
768 extern int cleanup_journal_tail(journal_t *);
792 static inline int is_journal_aborted(journal_t *journal)
819 extern int journal_recover (journal_t *journal);
820 extern int journal_skip_recovery (journal_t *);
823 extern int journal_init_revoke(journal_t *, int);
828 extern int journal_set_revoke(journal_t *, unsigned long, tid_t);
829 extern int journal_test_revoke(journal_t *, unsigned long, tid_t);
830 extern void journal_clear_revoke(journal_t *);
833 extern void journal_destroy_revoke(journal_t *);