• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hfsplus_journal/

Lines Matching refs:journal

130  * The block tag: used to describe a single buffer in the journal 
149 /* Definitions for the journal tag flags word: */
157 * The journal superblock. All fields are in big-endian byte order.
161 /* First sector contains Mac's journal header */
172 /* Static information describing the journal */
173 __be32 s_blocksize; /* journal device blocksize */
174 __be32 s_maxlen; /* total blocks in journal file */
192 __u8 s_uuid[16]; /* 128-bit uuid for journal */
200 __be32 s_max_transaction; /* Limit of journal blocks per trans.*/
432 /* Pointer to the journal for this transaction. [no locking] */
557 * @j_errno: Is there an outstanding uncleared error on the journal (from a
562 * @j_state_lock: Protect the various scalars in the journal
577 * @j_head: Journal head - identifies the first unused block in the journal
579 * journal.
580 * @j_free: Journal free - how many free blocks are there in the journal?
583 * @j_dev: Device where we store the journal
584 * @j_blocksize: blocksize for the location where we store the journal.
586 * journal
587 * @j_fs_dev: Device which holds the client fs. For internal journal this will
589 * @j_maxlen: Total maximum capacity of the journal region on disk.
591 * @j_inode: Optional inode where we store the journal. If present, all journal
600 * @j_task: Pointer to the current commit thread for this journal
622 * Is there an outstanding uncleared error on the journal (from a prior
635 * Protect the various scalars in the journal
690 * Journal head: identifies the first unused block in the journal.
696 * Journal tail: identifies the oldest still-used block in the journal.
702 * Journal free: how many free blocks are there in the journal?
709 * and one beyond the last usable block in the journal. [j_state_lock]
716 * store the journal.
723 * Device which holds the client fs. For internal journal this will be
728 /* Total maximum capacity of the journal region on disk. */
736 /* Optional inode where we store the journal. If present, all */
737 /* journal block numbers are mapped into this inode via */
765 * backed by this journal. This will eventually be replaced by an array
767 * journal and to perform atomic updates across them.
771 /* Pointer to the current commit thread for this journal */
815 #define JFS_FLUSHED 0x008 /* The journal superblock has been flushed */
816 #define JFS_LOADED 0x010 /* The journal superblock has been loaded */
843 int __hfsplus_jbd_clean_checkpoint_list(hfsplus_jbd_t *journal);
860 * We need to lock the journal during transaction state changes so that nobody
865 * journal structures from interrupts.
910 extern int hfsplus_jbd_load (hfsplus_jbd_t *journal);
912 extern int hfsplus_jbd_recover (hfsplus_jbd_t *journal);
964 extern void hfsplus_jbd_switch_revoke_table(hfsplus_jbd_t *journal);
973 int __hfsplus__log_space_left(hfsplus_jbd_t *); /* Called with journal locked */
974 int hfsplus_log_start_commit(hfsplus_jbd_t *journal, hfsplus_jbd_tid_t tid);
975 int __hfsplus__log_start_commit(hfsplus_jbd_t *journal, hfsplus_jbd_tid_t tid);
976 int hfsplus_jbd_start_commit(hfsplus_jbd_t *journal, hfsplus_jbd_tid_t *tid);
977 int hfsplus_jbd_force_commit_nested(hfsplus_jbd_t *journal);
978 int hfsplus_jbd_log_wait_commit(hfsplus_jbd_t *journal, hfsplus_jbd_tid_t tid);
979 int hfsplus_jbd_log_do_checkpoint(hfsplus_jbd_t *journal);
981 void __hfsplus__log_wait_for_space(hfsplus_jbd_t *journal);
1006 static inline int is_hfsplus_jbd_aborted(hfsplus_jbd_t *journal)
1008 return journal->j_flags & JFS_ABORT;
1043 * Return the minimum number of blocks which must be free in the journal
1046 static inline int hfsplus_jbd_space_needed(hfsplus_jbd_t *journal)
1048 int nblocks = journal->j_max_transaction_buffers;
1049 if (journal->j_committing_transaction)
1050 nblocks += journal->j_committing_transaction->
1067 #define HFSPLUS_BJ_Reserved 7 /* Buffer is reserved for access by journal */