Home
last modified time | relevance | path

Searched refs:journal (Results 1 – 25 of 213) sorted by relevance

123456789

/openbmc/linux/fs/jbd2/
H A Djournal.c851 if (journal->j_head == journal->j_last) in jbd2_journal_next_log_block()
852 journal->j_head = journal->j_first; in jbd2_journal_next_log_block()
868 if (journal->j_fc_off + journal->j_fc_first < journal->j_fc_last) { in jbd2_fc_get_buf()
964 err = journal->j_bmap(journal, &block); in jbd2_journal_bmap()
1223 s->journal = journal; in jbd2_seq_info_open()
1726 journal->j_head = journal->j_first; in journal_reset()
1729 journal->j_head = journal->j_first; in journal_reset()
1731 journal->j_tail = journal->j_head; in journal_reset()
1732 journal->j_free = journal->j_last - journal->j_first; in journal_reset()
2275 journal->j_fc_last = journal->j_last; in jbd2_journal_initialize_fast_commit()
[all …]
H A Dcheckpoint.c50 __acquires(&journal->j_state_lock) in __jbd2_log_wait_for_space()
51 __releases(&journal->j_state_lock) in __jbd2_log_wait_for_space()
72 write_lock(&journal->j_state_lock); in __jbd2_log_wait_for_space()
77 spin_lock(&journal->j_list_lock); in __jbd2_log_wait_for_space()
88 jbd2_log_do_checkpoint(journal); in __jbd2_log_wait_for_space()
108 journal->j_devname); in __jbd2_log_wait_for_space()
135 journal->j_chkpt_bhs[i] = NULL; in __flush_batch()
173 spin_lock(&journal->j_list_lock); in jbd2_log_do_checkpoint()
316 if (is_journal_aborted(journal)) in jbd2_cleanup_journal_tail()
414 spin_lock(&journal->j_list_lock); in jbd2_journal_shrink_checkpoint_list()
[all …]
H A Dcommit.c126 if (is_journal_aborted(journal)) in journal_submit_commit_record()
398 journal->j_tail_sequence, in jbd2_journal_commit_transaction()
399 journal->j_tail, 0); in jbd2_journal_commit_transaction()
438 journal->j_fc_off = 0; in jbd2_journal_commit_transaction()
768 freed += journal->j_last - journal->j_first; in jbd2_journal_commit_transaction()
783 (journal->j_fs_dev != journal->j_dev) && in jbd2_journal_commit_transaction()
1128 journal->j_commit_callback(journal, commit_transaction); in jbd2_journal_commit_transaction()
1130 journal->j_fc_cleanup_callback(journal, 1, commit_transaction->t_tid); in jbd2_journal_commit_transaction()
1134 journal->j_commit_sequence, journal->j_tail_sequence); in jbd2_journal_commit_transaction()
1149 wake_up(&journal->j_fc_wait); in jbd2_journal_commit_transaction()
[all …]
H A Dtransaction.c291 if (jbd2_log_space_left(journal) < journal->j_max_transaction_buffers) { in add_transaction_credits()
386 (journal->j_errno != 0 && !(journal->j_flags & JBD2_ACK_ERR))) { in start_this_handle()
492 if (!journal) in jbd2__journal_start()
663 journal_t *journal; in jbd2_journal_extend() local
782 journal_t *journal; in jbd2__journal_restart() local
971 journal_t *journal; in do_get_write_access() local
1274 journal_t *journal; in jbd2_journal_get_create_access() local
1489 journal_t *journal; in jbd2_journal_dirty_metadata() local
1661 journal_t *journal; in jbd2_journal_forget() local
1828 journal_t *journal; in jbd2_journal_stop() local
[all …]
H A Drevoke.c151 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; in insert_revoke_hash()
166 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; in find_revoke_record()
276 journal->j_revoke = journal->j_revoke_table[1]; in jbd2_journal_init_revoke()
292 journal->j_revoke = NULL; in jbd2_journal_destroy_revoke()
330 journal_t *journal; in jbd2_journal_revoke() local
344 bdev = journal->j_fs_dev; in jbd2_journal_revoke()
517 if (journal->j_revoke == journal->j_revoke_table[0]) in jbd2_journal_switch_revoke_table()
518 journal->j_revoke = journal->j_revoke_table[1]; in jbd2_journal_switch_revoke_table()
520 journal->j_revoke = journal->j_revoke_table[0]; in jbd2_journal_switch_revoke_table()
545 revoke = journal->j_revoke == journal->j_revoke_table[0] ? in jbd2_journal_write_revoke_records()
[all …]
H A Drecovery.c79 max = journal->j_total_len; in do_readahead()
95 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize); in do_readahead()
151 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize); in jread()
234 var -= ((journal)->j_last - (journal)->j_first); \
258 err = journal->j_fc_replay_callback(journal, bh, pass, in fc_do_one_pass()
296 sb = journal->j_superblock; in jbd2_journal_recover()
331 journal->j_transaction_sequence, journal->j_head); in jbd2_journal_recover()
375 journal->j_head = journal->j_first; in jbd2_journal_skip_recovery()
388 journal->j_tail = 0; in jbd2_journal_skip_recovery()
495 sb = journal->j_superblock; in do_one_pass()
[all …]
/openbmc/linux/fs/reiserfs/
H A Djournal.c2548 journal->j_first_unflushed_offset = journal->j_start; in journal_read()
2691 if (journal->j_max_batch != (journal->j_trans_max) * in check_advise_trans_params()
2873 journal->j_cnode_free_orig = journal->j_cnode_free_list; in journal_init()
3337 if (journal->j_len >= journal->j_trans_max) { in journal_mark_dirty()
3349 if (journal->j_len > journal->j_len_alloc) { in journal_mark_dirty()
3714 && journal->j_len_alloc < journal->j_max_batch in check_journal_end()
4097 ((journal->j_start + journal->j_len + in do_journal_end()
4258 (journal->j_start + journal->j_len + in do_journal_end()
4269 journal->j_current_jl->j_trans_id = journal->j_trans_id; in do_journal_end()
4328 if ((journal->j_start + journal->j_trans_max + 1) >= in do_journal_end()
[all …]
/openbmc/linux/drivers/md/bcache/
H A Djournal.c298 struct journal *j = &c->journal; in bch_journal_mark()
449 mask = c->journal.pin.mask; in btree_flush_write()
632 struct journal *j = &c->journal; in free_journal_buckets()
673 if (c->journal.blocks_free) in journal_reclaim()
730 struct journal *j = container_of(cl, struct journal, io); in journal_write_done()
749 __releases(c->journal.lock) in journal_write_unlocked()
790 bio = &ca->journal.bio; in journal_write_unlocked()
808 ca->journal.seq[ca->journal.cur_idx] = w->data->seq; in journal_write_unlocked()
910 journal.work); in journal_write_work()
912 if (c->journal.cur->dirty) in journal_write_work()
[all …]
/openbmc/phosphor-power/phosphor-regulators/src/
H A Djournal.cpp46 explicit JournalCloser(sd_journal* journal) : journal{journal} {} in JournalCloser() argument
50 sd_journal_close(journal); in ~JournalCloser()
54 sd_journal* journal{nullptr}; member in phosphor::power::regulators::JournalCloser
66 sd_journal* journal; in getMessages() local
75 JournalCloser closer{journal}; in getMessages()
79 rc = sd_journal_add_match(journal, match.c_str(), 0); in getMessages()
90 SD_JOURNAL_FOREACH_BACKWARDS(journal) in getMessages()
93 timeStamp = getTimeStamp(journal); in getMessages()
95 pid = getFieldValue(journal, "_PID"); in getMessages()
96 message = getFieldValue(journal, "MESSAGE"); in getMessages()
[all …]
H A Derror_logging.cpp37 Journal& journal) in logConfigFileError() argument
52 logError(message, severity, additionalData, journal); in logConfigFileError()
59 journal); in logDBusError()
79 journal); in logI2CError()
86 additionalData, journal); in logInternalError()
99 logError(message, severity, additionalData, journal); in logPhaseFault()
108 journal); in logPMBusError()
117 severity, additionalData, journal); in logWriteVerificationError()
234 removeFFDCFiles(files, journal); in logError()
238 journal.logError(exception_utils::getMessages(e)); in logError()
[all …]
H A Derror_logging.hpp67 Journal& journal) = 0;
89 virtual void logI2CError(Entry::Level severity, Journal& journal,
114 logPhaseFault(Entry::Level severity, Journal& journal,
129 virtual void logPMBusError(Entry::Level severity, Journal& journal,
173 Journal& journal) override;
179 virtual void logI2CError(Entry::Level severity, Journal& journal,
185 Journal& journal) override;
189 Entry::Level severity, Journal& journal, PhaseFaultType type,
194 virtual void logPMBusError(Entry::Level severity, Journal& journal,
222 std::vector<FFDCFile> createFFDCFiles(Journal& journal);
[all …]
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Djournal.cpp43 explicit JournalCloser(sd_journal* journal) : journal{journal} {} in JournalCloser() argument
47 sd_journal_close(journal); in ~JournalCloser()
51 sd_journal* journal{nullptr}; member in openpower::pels::JournalCloser
82 sd_journal* journal; in getMessages() local
90 JournalCloser closer{journal}; in getMessages()
109 SD_JOURNAL_FOREACH_BACKWARDS(journal) in getMessages()
111 timeStamp = getTimeStamp(journal); in getMessages()
112 sID = getFieldValue(journal, "SYSLOG_IDENTIFIER"); in getMessages()
113 pid = getFieldValue(journal, "_PID"); in getMessages()
114 message = getFieldValue(journal, "MESSAGE"); in getMessages()
[all …]
/openbmc/linux/include/linux/
H A Djbd2.h1671 return (journal->j_total_len - journal->j_fc_wbufsize) / 4; in jbd2_journal_get_max_txn_bufs()
1686 return journal->j_flags & JBD2_ABORT; in is_journal_aborted()
1729 journal->j_chksum_driver == NULL); in jbd2_journal_has_csum_v2or3()
1747 long free = journal->j_free - 32; in jbd2_log_space_left()
1750 free -= atomic_read(&journal-> in jbd2_log_space_left()
1797 read_lock(&journal->j_state_lock); in jbd2_get_latest_transaction()
1798 tid = journal->j_commit_request; in jbd2_get_latest_transaction()
1799 if (journal->j_running_transaction) in jbd2_get_latest_transaction()
1801 read_unlock(&journal->j_state_lock); in jbd2_get_latest_transaction()
1807 journal_t *journal; in jbd2_handle_buffer_credits() local
[all …]
/openbmc/linux/fs/ocfs2/
H A Djournal.c296 journal = osb->journal; in ocfs2_commit_cache()
333 journal_t *journal = osb->journal->j_journal; in ocfs2_start_trans() local
375 struct ocfs2_journal *journal = osb->journal; in ocfs2_commit_trans() local
818 journal_t *journal = osb->journal->j_journal; in ocfs2_set_journal_params() local
848 osb->journal = journal; in ocfs2_journal_alloc()
882 struct ocfs2_journal *journal = osb->journal; in ocfs2_journal_init() local
986 struct ocfs2_journal *journal = osb->journal; in ocfs2_journal_toggle_dirty() local
1028 journal = osb->journal; in ocfs2_journal_shutdown()
1029 if (!journal) in ocfs2_journal_shutdown()
1396 struct ocfs2_journal *journal = osb->journal; in ocfs2_complete_mount_recovery() local
[all …]
/openbmc/linux/include/trace/events/
H A Djbd2.h16 TP_PROTO(journal_t *journal, int result),
18 TP_ARGS(journal, result),
38 TP_ARGS(journal, commit_transaction),
61 TP_ARGS(journal, commit_transaction)
68 TP_ARGS(journal, commit_transaction)
75 TP_ARGS(journal, commit_transaction)
82 TP_ARGS(journal, commit_transaction)
89 TP_ARGS(journal, commit_transaction)
95 TP_ARGS(journal, commit_transaction),
360 TP_ARGS(journal, write_flags),
[all …]
/openbmc/phosphor-power/phosphor-regulators/test/
H A Dphase_fault_detection_tests.cpp216 journal, in TEST_F()
220 journal, in TEST_F()
224 journal, in TEST_F()
228 journal, in TEST_F()
399 journal, in TEST_F()
403 journal, in TEST_F()
454 journal, in TEST_F()
458 journal, in TEST_F()
489 journal, in TEST_F()
493 journal, in TEST_F()
[all …]
H A Dmock_error_logging.hpp43 (Entry::Level severity, Journal& journal), (override));
45 MOCK_METHOD(void, logDBusError, (Entry::Level severity, Journal& journal),
49 (Entry::Level severity, Journal& journal,
54 (Entry::Level severity, Journal& journal), (override));
57 (Entry::Level severity, Journal& journal, PhaseFaultType type,
63 (Entry::Level severity, Journal& journal,
68 (Entry::Level severity, Journal& journal,
H A Derror_logging_utils_tests.cpp74 MockJournal& journal = services.getMockJournal(); in TEST() local
78 Entry::Level::Error, Ref(journal), in TEST()
116 MockJournal& journal = services.getMockJournal(); in TEST() local
152 MockJournal& journal = services.getMockJournal(); in TEST() local
180 MockJournal& journal = services.getMockJournal(); in TEST() local
213 MockJournal& journal = services.getMockJournal(); in TEST() local
249 MockJournal& journal = services.getMockJournal(); in TEST() local
282 MockJournal& journal = services.getMockJournal(); in TEST() local
314 MockJournal& journal = services.getMockJournal(); in TEST() local
345 MockJournal& journal = services.getMockJournal(); in TEST() local
[all …]
/openbmc/phosphor-fan-presence/monitor/
H A Dfan_error.cpp59 explicit JournalCloser(sd_journal* journal) : journal{journal} {} in JournalCloser() argument
63 sd_journal_close(journal); in ~JournalCloser()
67 sd_journal* journal{nullptr}; member in phosphor::fan::monitor::JournalCloser
212 sd_journal* journal; in getJournalEntries() local
223 JournalCloser closer{journal}; in getJournalEntries()
249 SD_JOURNAL_FOREACH_BACKWARDS(journal) in getJournalEntries()
252 timeStamp = getTimeStamp(journal); in getJournalEntries()
254 pid = getFieldValue(journal, "_PID"); in getJournalEntries()
255 message = getFieldValue(journal, "MESSAGE"); in getJournalEntries()
280 int rc = sd_journal_get_realtime_usec(journal, &usec); in getTimeStamp()
[all …]
/openbmc/openpower-hw-diags/util/
H A Dffdc.cpp20 std::string sdjGetFieldValue(sd_journal* journal, const char* field) in sdjGetFieldValue() argument
26 if (0 == sd_journal_get_data(journal, field, (const void**)&data, &length)) in sdjGetFieldValue()
68 sd_journal* journal; in sdjGetMessages() local
71 if (0 == sd_journal_open(&journal, SD_JOURNAL_LOCAL_ONLY)) in sdjGetMessages()
73 SD_JOURNAL_FOREACH_BACKWARDS(journal) in sdjGetMessages()
76 std::string value = sdjGetFieldValue(journal, field.c_str()); in sdjGetMessages()
82 std::string syslog = sdjGetFieldValue(journal, in sdjGetMessages()
86 std::string pid = sdjGetFieldValue(journal, "_PID"); in sdjGetMessages()
89 std::string message = sdjGetFieldValue(journal, "MESSAGE"); in sdjGetMessages()
93 if (0 == sd_journal_get_realtime_usec(journal, &usec)) in sdjGetMessages()
[all …]
/openbmc/phosphor-dbus-monitor/src/test/yaml/callbackgroupgentest/
H A Dtest.yaml37 - name: test journal callback 1
39 callback: journal
45 - name: test journal callback 2
47 callback: journal
53 - name: test journal callback 3
55 callback: journal
86 - test journal callback 1
87 - test journal callback 2
88 - test journal callback 3
95 - test journal callback 1
[all …]
/openbmc/phosphor-dbus-monitor/src/test/yaml/conditiongentest/
H A Dtest.yaml42 callback: test journal callback 1
53 callback: test journal callback 1
59 - name: test journal callback 1
61 callback: journal
72 callback: test journal callback 2
83 callback: test journal callback 2
89 - name: test journal callback 2
91 callback: journal
102 callback: test journal callback 1
111 callback: test journal callback 2
/openbmc/openbmc/poky/meta/recipes-core/systemd/systemd/
H A D0010-distinguish-XSI-compliant-strerror_r-from-GNU-specif.patch23 src/libsystemd/sd-journal/journal-send.c | 5 +++++
57 diff --git a/src/libsystemd/sd-journal/journal-send.c b/src/libsystemd/sd-journal/journal-send.c
59 --- a/src/libsystemd/sd-journal/journal-send.c
60 +++ b/src/libsystemd/sd-journal/journal-send.c
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/
H A D0010-distinguish-XSI-compliant-strerror_r-from-GNU-specif.patch23 src/libsystemd/sd-journal/journal-send.c | 5 +++++
57 diff --git a/src/libsystemd/sd-journal/journal-send.c b/src/libsystemd/sd-journal/journal-send.c
59 --- a/src/libsystemd/sd-journal/journal-send.c
60 +++ b/src/libsystemd/sd-journal/journal-send.c
/openbmc/linux/Documentation/filesystems/ext4/
H A Djournal.rst26 option to control journal behavior. If ``data=journal``, all data and
43 journal inode are replicated in the ext4 superblock. The journal itself
59 Generally speaking, the journal has this format:
135 The journal block type can be any one of:
178 - Static information describing the journal.
190 - Total number of blocks in this journal.
236 - Number of file systems sharing this journal.
266 up-to-date when the journal is empty.
314 - This journal uses v2 of the checksum on-disk format. Each journal
317 journal. (JBD2_FEATURE_INCOMPAT_CSUM_V2)
[all …]

123456789