Searched defs:journal (Results 1 - 8 of 8) sorted by relevance

/external/e2fsprogs/e2fsck/
H A Djfs_user.h47 #define do_readahead(journal, start) do {} while(0)
81 extern size_t journal_tag_bytes(journal_t *journal);
111 _INLINE_ size_t journal_tag_bytes(journal_t *journal) argument
113 if (JFS_HAS_INCOMPAT_FEATURE(journal, JFS_FEATURE_INCOMPAT_64BIT))
123 * Kernel compatibility functions are defined in journal.c
125 int journal_bmap(journal_t *journal, blk_t block, unsigned long *phys);
H A Drecovery.c41 static int do_one_pass(journal_t *journal,
57 * When reading from the journal, we are going through the block device
69 static int do_readahead(journal_t *journal, unsigned int start) argument
79 max = start + (128 * 1024 / journal->j_blocksize);
80 if (max > journal->j_maxlen)
81 max = journal->j_maxlen;
89 err = journal_bmap(journal, next, &blocknr);
97 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize);
128 * Read a block from the journal
131 jread(struct buffer_head **bhp, journal_t *journal, unsigned int offset) argument
181 count_tags(journal_t *journal, struct buffer_head *bh) argument
225 journal_recover(journal_t *journal) argument
282 journal_skip_recovery(journal_t *journal) argument
325 calc_chksums(journal_t *journal, struct buffer_head *bh, unsigned long *next_log_block, __u32 *crc32_sum) argument
353 do_one_pass(journal_t *journal, struct recovery_info *info, enum passtype pass) argument
720 scan_revoke_records(journal_t *journal, struct buffer_head *bh, tid_t sequence, struct recovery_info *info) argument
[all...]
H A Drevoke.c20 * transaction's revoked blocks to the journal
37 * need either to cancel the journal entry or to write the revoke
78 journal replay, this involves recording the transaction ID of the
110 static inline int hash(journal_t *journal, unsigned long block) argument
112 struct jbd_revoke_table_s *table = journal->j_revoke;
120 static int insert_revoke_hash(journal_t *journal, unsigned long blocknr, argument
135 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)];
152 /* Find a revoke record in the journal's hash table. */
154 static struct jbd_revoke_record_s *find_revoke_record(journal_t *journal, argument
200 journal_init_revoke(journal_t *journal, int hash_size) argument
237 journal_destroy_revoke(journal_t *journal) argument
288 journal_t *journal; local
378 journal_t *journal = handle->h_transaction->t_journal; local
437 journal_write_revoke_records(journal_t *journal, transaction_t *transaction) argument
475 write_one_revoke_record(journal_t *journal, transaction_t *transaction, struct journal_head **descriptorp, int *offsetp, struct jbd_revoke_record_s *record) argument
533 flush_descriptor(journal_t *journal, struct journal_head *descriptor, int offset) argument
579 journal_set_revoke(journal_t *journal, unsigned long blocknr, tid_t sequence) argument
603 journal_test_revoke(journal_t *journal, unsigned long blocknr, tid_t sequence) argument
622 journal_clear_revoke(journal_t *journal) argument
[all...]
H A Djournal.c2 * journal.c --- code for handling the "ext3" journal
7 * Parts of the code are based on fs/jfs/journal.c by Stephen C. Tweedie
42 /* Kernel compatibility functions for handling the journal. These allow us
46 int journal_bmap(journal_t *journal, blk_t block, unsigned long *phys) argument
52 struct inode *inode = journal->j_inode;
192 /* if we had an error doing journal recovery, we need a full fsck */
199 * This is a helper function to check the validity of the journal.
236 journal_t *journal = NULL; local
245 journal
480 clear_v2_journal_fields(journal_t *journal) argument
496 e2fsck_journal_load(journal_t *journal) argument
588 e2fsck_journal_reset_super(e2fsck_t ctx, journal_superblock_t *jsb, journal_t *journal) argument
632 e2fsck_journal_fix_corrupt_super(e2fsck_t ctx, journal_t *journal, struct problem_context *pctx) argument
655 e2fsck_journal_release(e2fsck_t ctx, journal_t *journal, int reset, int drop) argument
693 journal_t *journal; local
822 journal_t *journal; local
[all...]
/external/e2fsprogs/lib/ext2fs/
H A Dkernel-jbd.h28 #include <linux/journal-head.h>
137 * The block tag: used to describe a single buffer in the journal
160 /* Definitions for the journal tag flags word: */
168 * The journal superblock. All fields are in big-endian byte order.
176 /* Static information describing the journal */
177 __u32 s_blocksize; /* journal device blocksize */
178 __u32 s_maxlen; /* total blocks in journal file */
196 __u8 s_uuid[16]; /* 128-bit uuid for journal */
204 __u32 s_max_transaction; /* Limit of journal blocks per trans.*/
354 /* Pointer to the journal fo
653 lock_journal(journal_t *journal) argument
659 try_lock_journal(journal_t * journal) argument
664 unlock_journal(journal_t * journal) argument
791 is_journal_aborted(journal_t *journal) argument
[all...]
/external/kernel-headers/original/linux/
H A Djbd.h28 #include <linux/journal-head.h>
153 * The block tag: used to describe a single buffer in the journal
172 /* Definitions for the journal tag flags word: */
180 * The journal superblock. All fields are in big-endian byte order.
188 /* Static information describing the journal */
189 __be32 s_blocksize; /* journal device blocksize */
190 __be32 s_maxlen; /* total blocks in journal file */
208 __u8 s_uuid[16]; /* 128-bit uuid for journal */
216 __be32 s_max_transaction; /* Limit of journal blocks per trans.*/
440 /* Pointer to the journal fo
1021 is_journal_aborted(journal_t *journal) argument
1061 jbd_space_needed(journal_t *journal) argument
[all...]
/external/chromium_org/third_party/sqlite/src/src/
H A Dpager.c15 ** atomic commit and rollback through the use of a journal file that
29 ** journal. These invariants do not apply for journal_mode=WAL,
41 ** the transaction has been written into the rollback journal and
58 ** (2) The content of a page written into the rollback journal exactly matches
59 ** both the content in the database when the rollback journal was written
70 ** (5) All writes to the database file are synced prior to the rollback journal
73 ** (6) If a master journal file is used, then all writes to the database file
74 ** are synced prior to the master journal being deleted.
83 ** of the unsynced changes to a rollback journal are removed and the
84 ** journal i
5216 CFURLRef journal = create_cfurl_from_cstring(pPager->zJournal); local
[all...]
/external/chromium_org/third_party/sqlite/amalgamation/
H A Dsqlite3.c1377 ** the open of a journal file a no-op. Writes to this journal would
1378 ** also be no-ops, and any attempt to read the journal would return
7699 #define BTREE_OMIT_JOURNAL 1 /* Do not create or use a rollback journal */
8320 ** at a time and provides a journal for rollback.
8327 ** Default maximum size for persistent journal files. A negative
8354 ** used in the journal to signify that the remainder of the journal file
8355 ** is devoted to storing a master journal name - there are no more pages to
8366 #define PAGER_OMIT_JOURNAL 0x0001 /* Do not use a rollback journal */
41659 CFURLRef journal = create_cfurl_from_cstring(pPager->zJournal); local
[all...]

Completed in 1383 milliseconds