• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/hfsplus_journal/

Lines Matching defs:journal

133  * The block tag: used to describe a single buffer in the journal 
152 /* Definitions for the journal tag flags word: */
160 * The journal superblock. All fields are in big-endian byte order.
164 /* First sector contains Mac's journal header */
175 /* Static information describing the journal */
176 __be32 s_blocksize; /* journal device blocksize */
177 __be32 s_maxlen; /* total blocks in journal file */
195 __u8 s_uuid[16]; /* 128-bit uuid for journal */
203 __be32 s_max_transaction; /* Limit of journal blocks per trans.*/
435 /* Pointer to the journal for this transaction. [no locking] */
560 * @j_errno: Is there an outstanding uncleared error on the journal (from a
565 * @j_state_lock: Protect the various scalars in the journal
580 * @j_head: Journal head - identifies the first unused block in the journal
582 * journal.
583 * @j_free: Journal free - how many free blocks are there in the journal?
586 * @j_dev: Device where we store the journal
587 * @j_blocksize: blocksize for the location where we store the journal.
589 * journal
590 * @j_fs_dev: Device which holds the client fs. For internal journal this will
592 * @j_maxlen: Total maximum capacity of the journal region on disk.
594 * @j_inode: Optional inode where we store the journal. If present, all journal
603 * @j_task: Pointer to the current commit thread for this journal
625 * Is there an outstanding uncleared error on the journal (from a prior
638 * Protect the various scalars in the journal
693 * Journal head: identifies the first unused block in the journal.
699 * Journal tail: identifies the oldest still-used block in the journal.
705 * Journal free: how many free blocks are there in the journal?
712 * and one beyond the last usable block in the journal. [j_state_lock]
719 * store the journal.
726 * Device which holds the client fs. For internal journal this will be
731 /* Total maximum capacity of the journal region on disk. */
739 /* Optional inode where we store the journal. If present, all */
740 /* journal block numbers are mapped into this inode via */
768 * backed by this journal. This will eventually be replaced by an array
770 * journal and to perform atomic updates across them.
774 /* Pointer to the current commit thread for this journal */
818 #define JFS_FLUSHED 0x008 /* The journal superblock has been flushed */
819 #define JFS_LOADED 0x010 /* The journal superblock has been loaded */
846 int __hfsplus_jbd_clean_checkpoint_list(hfsplus_jbd_t *journal);
863 * We need to lock the journal during transaction state changes so that nobody
868 * journal structures from interrupts.
913 extern int hfsplus_jbd_load (hfsplus_jbd_t *journal);
915 extern int hfsplus_jbd_recover (hfsplus_jbd_t *journal);
967 extern void hfsplus_jbd_switch_revoke_table(hfsplus_jbd_t *journal);
976 int __hfsplus__log_space_left(hfsplus_jbd_t *); /* Called with journal locked */
977 int hfsplus_log_start_commit(hfsplus_jbd_t *journal, hfsplus_jbd_tid_t tid);
978 int __hfsplus__log_start_commit(hfsplus_jbd_t *journal, hfsplus_jbd_tid_t tid);
979 int hfsplus_jbd_start_commit(hfsplus_jbd_t *journal, hfsplus_jbd_tid_t *tid);
980 int hfsplus_jbd_force_commit_nested(hfsplus_jbd_t *journal);
981 int hfsplus_jbd_log_wait_commit(hfsplus_jbd_t *journal, hfsplus_jbd_tid_t tid);
982 int hfsplus_jbd_log_do_checkpoint(hfsplus_jbd_t *journal);
984 void __hfsplus__log_wait_for_space(hfsplus_jbd_t *journal);
1009 static inline int is_hfsplus_jbd_aborted(hfsplus_jbd_t *journal)
1011 return journal->j_flags & JFS_ABORT;
1046 * Return the minimum number of blocks which must be free in the journal
1049 static inline int hfsplus_jbd_space_needed(hfsplus_jbd_t *journal)
1051 int nblocks = journal->j_max_transaction_buffers;
1052 if (journal->j_committing_transaction)
1053 nblocks += journal->j_committing_transaction->
1070 #define HFSPLUS_BJ_Reserved 7 /* Buffer is reserved for access by journal */