Home
last modified time | relevance | path

Searched refs:jset_entry (Results 1 – 15 of 15) sorted by relevance

/linux-6.15/fs/bcachefs/
H A Djournal_io.h37 static inline struct jset_entry *__jset_entry_type_next(struct jset *jset, in __jset_entry_type_next()
38 struct jset_entry *entry, unsigned type) in __jset_entry_type_next()
51 for (struct jset_entry *entry = (jset)->start; \
65 struct jset_entry *, unsigned, int,
68 struct jset_entry *);
77 static inline struct jset_entry *jset_entry_init(struct jset_entry **end, size_t size) in jset_entry_init()
79 struct jset_entry *entry = *end; in jset_entry_init()
H A Djournal.h184 return u64s + sizeof(struct jset_entry) / sizeof(u64); in jset_u64s()
192 static inline struct jset_entry *
196 struct jset_entry *entry = vstruct_idx(jset, le32_to_cpu(jset->u64s)); in bch2_journal_add_entry_noreservation()
206 static inline struct jset_entry *
212 static inline unsigned journal_entry_init(struct jset_entry *entry, unsigned type, in journal_entry_init()
226 static inline unsigned journal_entry_set(struct jset_entry *entry, unsigned type, in journal_entry_set()
236 static inline struct jset_entry *
241 struct jset_entry *entry = journal_res_entry(j, res); in bch2_journal_add_entry()
H A Djournal_io.c261 struct jset_entry *entry; in journal_entry_null_range()
331 struct jset_entry *entry, in journal_validate_key()
393 struct jset_entry *entry, in journal_entry_btree_keys_validate()
435 struct jset_entry *entry, in journal_entry_btree_root_validate()
477 struct jset_entry *entry, in journal_entry_prio_ptrs_validate()
492 struct jset_entry *entry, in journal_entry_blacklist_validate()
519 struct jset_entry *entry, in journal_entry_blacklist_v2_validate()
561 struct jset_entry *entry, in journal_entry_usage_validate()
595 struct jset_entry *entry, in journal_entry_data_usage_validate()
639 struct jset_entry *entry, in journal_entry_clock_validate()
[all …]
H A Dsb-clean.c30 struct jset_entry *entry; in bch2_sb_clean_validate_late()
34 entry < (struct jset_entry *) vstruct_end(&clean->field); in bch2_sb_clean_validate_late()
61 struct jset_entry *entry, *start, *end; in btree_root_find()
188 struct jset_entry **end, in bch2_journal_super_entries_add_common()
223 for (struct jset_entry *entry = clean->start; in bch2_sb_clean_validate()
241 struct jset_entry *entry; in bch2_sb_clean_to_text()
288 struct jset_entry *entry; in bch2_fs_mark_clean()
H A Dbcachefs_format.h606 struct jset_entry { struct
625 struct jset_entry start[0]; argument
1184 struct jset_entry entry;
1189 struct jset_entry entry;
1207 struct jset_entry entry;
1212 struct jset_entry entry;
1218 struct jset_entry entry;
1231 struct jset_entry entry;
1248 struct jset_entry entry;
1262 struct jset_entry entry;
[all …]
H A Dbtree_update.h108 struct jset_entry *__bch2_trans_jset_entry_alloc(struct btree_trans *, unsigned);
110 static inline struct jset_entry *btree_trans_journal_entries_top(struct btree_trans *trans) in btree_trans_journal_entries_top()
115 static inline struct jset_entry *
122 struct jset_entry *e = btree_trans_journal_entries_top(trans); in bch2_trans_jset_entry_alloc()
158 struct jset_entry *e = bch2_trans_jset_entry_alloc(trans, jset_u64s(k->k.u64s)); in bch2_trans_update_buffered()
H A Dbtree_update_interior.h340 void bch2_journal_entry_to_btree_root(struct bch_fs *, struct jset_entry *);
341 struct jset_entry *bch2_btree_roots_to_journal_entries(struct bch_fs *,
342 struct jset_entry *, unsigned long);
H A Dsb-clean.h9 void bch2_journal_super_entries_add_common(struct bch_fs *, struct jset_entry **, u64);
H A Dbtree_trans_commit.c362 struct jset_entry *entry = in journal_transaction_name()
663 struct jset_entry *entry = trans->journal_entries; in bch2_trans_commit_write_locked()
698 for (struct jset_entry *i = trans->journal_entries; in bch2_trans_commit_write_locked()
726 struct jset_entry *entry; in bch2_trans_commit_write_locked()
780 for (struct jset_entry *entry2 = trans->journal_entries; in bch2_trans_commit_write_locked()
961 for (struct jset_entry *i = trans->journal_entries; in do_bch2_trans_commit_to_journal_replay()
H A Dbtree_update.c565 struct jset_entry *__bch2_trans_jset_entry_alloc(struct btree_trans *trans, unsigned u64s) in __bch2_trans_jset_entry_alloc()
576 struct jset_entry *n = in __bch2_trans_jset_entry_alloc()
586 struct jset_entry *e = btree_trans_journal_entries_top(trans); in __bch2_trans_jset_entry_alloc()
838 struct jset_entry *e = bch2_trans_jset_entry_alloc(trans, jset_u64s(u64s)); in bch2_trans_log_msg()
852 struct jset_entry *e = bch2_trans_jset_entry_alloc(trans, jset_u64s(k->k.u64s)); in bch2_trans_log_bkey()
H A Drecovery.c460 struct jset_entry *entry) in journal_replay_entry_early()
534 for (struct jset_entry *entry = clean->start; in journal_replay_early()
H A Dbtree_update_interior.c619 struct jset_entry *e = bch2_trans_jset_entry_alloc(trans, as->journal_u64s); in btree_update_nodes_written_trans()
2469 struct jset_entry *e = bch2_trans_jset_entry_alloc(trans, in __bch2_btree_node_update_key()
2694 void bch2_journal_entry_to_btree_root(struct bch_fs *c, struct jset_entry *entry) in bch2_journal_entry_to_btree_root()
2707 struct jset_entry *
2709 struct jset_entry *end, in bch2_btree_roots_to_journal_entries()
H A Dbtree_types.h533 struct jset_entry *journal_entries;
H A Ddisk_accounting.c302 for (struct jset_entry *i = trans->journal_entries; in bch2_accounting_update_sb()
H A Dbtree_iter.c1488 for (struct jset_entry *e = trans->journal_entries; in bch2_trans_updates_to_text()