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

/external/e2fsprogs/e2fsck/
H A Djfs_user.h47 #define do_readahead(journal, start) do {} while(0)
83 extern size_t journal_tag_bytes(journal_t *journal);
123 _INLINE_ size_t journal_tag_bytes(journal_t *journal) argument
125 if (JFS_HAS_INCOMPAT_FEATURE(journal, JFS_FEATURE_INCOMPAT_64BIT))
135 * Kernel compatibility functions are defined in journal.c
137 int journal_bmap(journal_t *journal, blk64_t block, unsigned long long *phys);
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 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
322 calc_chksums(journal_t *journal, struct buffer_head *bh, unsigned long long *next_log_block, __u32 *crc32_sum) argument
350 do_one_pass(journal_t *journal, struct recovery_info *info, enum passtype pass) argument
713 scan_revoke_records(journal_t *journal, struct buffer_head *bh, tid_t sequence, struct recovery_info *info) 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, blk64_t block, unsigned long long *phys) argument
52 struct inode *inode = journal->j_inode;
193 /* if we had an error doing journal recovery, we need a full fsck */
200 * This is a helper function to check the validity of the journal.
237 journal_t *journal = NULL; local
246 journal
496 clear_v2_journal_fields(journal_t *journal) argument
512 e2fsck_journal_load(journal_t *journal) argument
604 e2fsck_journal_reset_super(e2fsck_t ctx, journal_superblock_t *jsb, journal_t *journal) argument
648 e2fsck_journal_fix_corrupt_super(e2fsck_t ctx, journal_t *journal, struct problem_context *pctx) argument
671 e2fsck_journal_release(e2fsck_t ctx, journal_t *journal, int reset, int drop) argument
709 journal_t *journal; local
838 journal_t *journal; local
[all...]
/external/chromium_org/content/browser/indexed_db/
H A Dindexed_db_leveldb_coding_unittest.cc700 { // Empty journal
701 BlobJournalType journal; local
702 journals.push_back(journal);
706 BlobJournalType journal; local
707 journal.push_back(std::make_pair(4, 7));
708 journals.push_back(journal);
712 BlobJournalType journal; local
713 journal.push_back(std::make_pair(5, DatabaseMetaDataKey::kAllBlobsKey));
714 journals.push_back(journal);
718 BlobJournalType journal; local
743 BlobJournalType journal; local
749 BlobJournalType journal; local
[all...]
H A Dindexed_db_leveldb_coding.cc48 // => Blob journal
49 // The format of the journal is:
53 // <0, 0, 0, 4> => Live blob journal; same format. [LiveBlobJournalKey]
379 void EncodeBlobJournal(const BlobJournalType& journal, std::string* into) { argument
381 for (iter = journal.begin(); iter != journal.end(); ++iter) {
619 bool DecodeBlobJournal(StringPiece* slice, BlobJournalType* journal) { argument
636 journal->swap(output);
H A Dindexed_db_backing_store.cc555 // blob journal, the safe thing to do is to clear it and leak the blobs,
562 BlobJournalType* journal) {
570 journal->clear();
574 if (!DecodeBlobJournal(&slice, journal)) {
588 const BlobJournalType& journal) {
591 EncodeBlobJournal(journal, &data);
597 const BlobJournalType& journal) {
600 EncodeBlobJournal(journal, &data);
606 const BlobJournalType& journal) {
613 old_journal.insert(old_journal.end(), journal
560 GetBlobJournal(const StringPiece& leveldb_key, T* leveldb_transaction, BlobJournalType* journal) argument
586 UpdatePrimaryJournalWithBlobList( LevelDBTransaction* leveldb_transaction, const BlobJournalType& journal) argument
595 UpdateLiveBlobJournalWithBlobList( LevelDBTransaction* leveldb_transaction, const BlobJournalType& journal) argument
604 MergeBlobsIntoLiveBlobJournal( LevelDBTransaction* leveldb_transaction, const BlobJournalType& journal) argument
622 BlobJournalType journal; local
634 BlobJournalType journal; local
2578 BlobJournalType journal; local
3872 BlobJournalType 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.*/
355 /* Pointer to the journal fo
654 lock_journal(journal_t *journal) argument
660 try_lock_journal(journal_t * journal) argument
665 unlock_journal(journal_t * journal) argument
792 is_journal_aborted(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
5179 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
7684 #define BTREE_OMIT_JOURNAL 1 /* Do not create or use a rollback journal */
8305 ** at a time and provides a journal for rollback.
8312 ** Default maximum size for persistent journal files. A negative
8339 ** used in the journal to signify that the remainder of the journal file
8340 ** is devoted to storing a master journal name - there are no more pages to
8351 #define PAGER_OMIT_JOURNAL 0x0001 /* Do not use a rollback journal */
41609 CFURLRef journal = create_cfurl_from_cstring(pPager->zJournal); local
[all...]

Completed in 903 milliseconds