Searched refs:journal (Results 1 - 25 of 27) sorted by relevance

12

/external/e2fsprogs/e2fsck/
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 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, 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...]
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 DAndroid.mk83 journal.c \
H A DMakefile.in69 pass3.o pass4.o pass5.o journal.o badblocks.o util.o dirinfo.o \
77 profiled/journal.o profiled/badblocks.o profiled/util.o \
96 $(srcdir)/journal.c \
393 journal.o: $(srcdir)/journal.c $(top_builddir)/lib/config.h \
/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/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_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...]
H A Dindexed_db_leveldb_coding.h45 CONTENT_EXPORT void EncodeBlobJournal(const BlobJournalType& journal,
73 BlobJournalType* journal);
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);
/external/chromium_org/third_party/sqlite/src/test/
H A Dcollate7.test47 file delete -force test.db test.db-journal
H A Dfuzz_malloc.test50 file delete test.db test.db-journal
H A Dasync2.test54 file delete -force test.db test.db-journal
H A Dmalloc_common.tcl422 forcedelete test.db-journal
425 forcedelete test2.db-journal
H A Dtester.tcl250 file delete -force test.db-journal
599 foreach f [glob -nocomplain test.db-*-journal] {
932 catch {file delete -force test.db-journal}
934 catch {file delete -force test2.db-journal}
1028 # occurs while attempting to detect a hot-journal file), then
/external/chromium_org/sql/
H A Dconnection_unittest.cc656 // Should have both a main database file and a journal file because
658 base::FilePath journal(db_path().value() + FILE_PATH_LITERAL("-journal"));
660 ASSERT_TRUE(base::PathExists(journal));
664 EXPECT_FALSE(base::PathExists(journal));
681 // Cause the journal file to be created. If the default
686 base::FilePath journal(db_path().value() + FILE_PATH_LITERAL("-journal"));
690 // read access for the database and journal.
692 ASSERT_TRUE(base::PathExists(journal));
[all...]
/external/e2fsprogs/po/
H A Dat-expand.pl79 $msg =~ s/\@j/journal/g;
/external/chromium_org/third_party/sqlite/src/tool/
H A Drestore_jrnl.tcl13 # This file attempts to restore the header of a journal.
15 # transaction from a recovered journal.
32 set jrnl_name $db_name-journal
73 # Calc checksum nonce from journal page data.
88 # Calc checksum from journal page data.
104 # Print journal page data in hex dump form
176 # verify all the pages in the journal use the same nonce
190 # verify all the page numbers in the journal
227 # check the integrity of the database with the patched journal
H A Dmksqlite3c.tcl260 journal.c
/external/chromium_org/third_party/sqlite/src/
H A DMakefile.in171 icu.lo insert.lo journal.lo legacy.lo loadext.lo \
220 $(TOP)/src/journal.c \
606 journal.lo: $(TOP)/src/journal.c $(HDR)
607 $(LTCOMPILE) $(TEMP_STORE) -c $(TOP)/src/journal.c
H A DMakefile.vxworks204 icu.o insert.o journal.o legacy.o loadext.o \
245 $(TOP)/src/journal.c \
H A Dmain.mk59 icu.o insert.o journal.o legacy.o loadext.o \
107 $(TOP)/src/journal.c \
/external/blktrace/doc/
H A Dblktrace.tex255 Creating journal (8192 blocks): done
427 a super or journal block to disk. \emph{pc} requests are SCSI
/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...]

Completed in 585 milliseconds

12