Home
last modified time | relevance | path

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

/linux-6.12.1/fs/bcachefs/
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()
Djournal.h171 return u64s + sizeof(struct jset_entry) / sizeof(u64); in jset_u64s()
179 static inline struct jset_entry *
183 struct jset_entry *entry = vstruct_idx(jset, le32_to_cpu(jset->u64s)); in bch2_journal_add_entry_noreservation()
193 static inline struct jset_entry *
199 static inline unsigned journal_entry_init(struct jset_entry *entry, unsigned type, in journal_entry_init()
213 static inline unsigned journal_entry_set(struct jset_entry *entry, unsigned type, in journal_entry_set()
223 static inline struct jset_entry *
228 struct jset_entry *entry = journal_res_entry(j, res); in bch2_journal_add_entry()
Djournal_io.c257 struct jset_entry *entry; in journal_entry_null_range()
270 struct jset_entry *entry) in journal_entry_err_msg()
327 struct jset_entry *entry, in journal_validate_key()
390 struct jset_entry *entry, in journal_entry_btree_keys_validate()
414 struct jset_entry *entry) in journal_entry_btree_keys_to_text()
432 struct jset_entry *entry, in journal_entry_btree_root_validate()
464 struct jset_entry *entry) in journal_entry_btree_root_to_text()
471 struct jset_entry *entry, in journal_entry_prio_ptrs_validate()
480 struct jset_entry *entry) in journal_entry_prio_ptrs_to_text()
486 struct jset_entry *entry, in journal_entry_blacklist_validate()
[all …]
Dsb-clean.c26 struct jset_entry *entry; in bch2_sb_clean_validate_late()
30 entry < (struct jset_entry *) vstruct_end(&clean->field); in bch2_sb_clean_validate_late()
57 struct jset_entry *entry, *start, *end; in btree_root_find()
184 struct jset_entry **end, in bch2_journal_super_entries_add_common()
219 for (struct jset_entry *entry = clean->start; in bch2_sb_clean_validate()
237 struct jset_entry *entry; in bch2_sb_clean_to_text()
284 struct jset_entry *entry; in bch2_fs_mark_clean()
Dbcachefs_format.h602 struct jset_entry { struct
621 struct jset_entry start[0]; argument
1109 #define JSET_KEYS_U64s (sizeof(struct jset_entry) / sizeof(__u64))
1133 static inline bool jset_entry_is_key(struct jset_entry *e) in jset_entry_is_key()
1156 struct jset_entry entry;
1161 struct jset_entry entry;
1179 struct jset_entry entry;
1184 struct jset_entry entry;
1190 struct jset_entry entry;
1203 struct jset_entry entry;
[all …]
Dbtree_update.h110 struct jset_entry *__bch2_trans_jset_entry_alloc(struct btree_trans *, unsigned);
112 static inline struct jset_entry *btree_trans_journal_entries_top(struct btree_trans *trans) in btree_trans_journal_entries_top()
117 static inline struct jset_entry *
124 struct jset_entry *e = btree_trans_journal_entries_top(trans); in bch2_trans_jset_entry_alloc()
150 struct jset_entry *e = bch2_trans_jset_entry_alloc(trans, jset_u64s(k->k.u64s)); in bch2_trans_update_buffered()
Dbtree_update_interior.h333 void bch2_journal_entry_to_btree_root(struct bch_fs *, struct jset_entry *);
334 struct jset_entry *bch2_btree_roots_to_journal_entries(struct bch_fs *,
335 struct jset_entry *, unsigned long);
Dsb-clean.h9 void bch2_journal_super_entries_add_common(struct bch_fs *, struct jset_entry **, u64);
Dbtree_trans_commit.c360 struct jset_entry *entry = in journal_transaction_name()
701 struct jset_entry *entry = trans->journal_entries; in bch2_trans_commit_write_locked()
758 for (struct jset_entry *i = trans->journal_entries; in bch2_trans_commit_write_locked()
778 struct jset_entry *entry; in bch2_trans_commit_write_locked()
832 for (struct jset_entry *entry2 = trans->journal_entries; in bch2_trans_commit_write_locked()
1031 for (struct jset_entry *i = trans->journal_entries; in do_bch2_trans_commit_to_journal_replay()
Dbtree_update.c562 struct jset_entry *__bch2_trans_jset_entry_alloc(struct btree_trans *trans, unsigned u64s) in __bch2_trans_jset_entry_alloc()
573 struct jset_entry *n = in __bch2_trans_jset_entry_alloc()
583 struct jset_entry *e = btree_trans_journal_entries_top(trans); in __bch2_trans_jset_entry_alloc()
832 struct jset_entry *e = bch2_trans_jset_entry_alloc(trans, jset_u64s(u64s)); in __bch2_trans_log_msg()
Dbtree_update_interior.c639 struct jset_entry *e = bch2_trans_jset_entry_alloc(trans, as->journal_u64s); in btree_update_nodes_written_trans()
2380 struct jset_entry *e = bch2_trans_jset_entry_alloc(trans, in __bch2_btree_node_update_key()
2619 void bch2_journal_entry_to_btree_root(struct bch_fs *c, struct jset_entry *entry) in bch2_journal_entry_to_btree_root()
2632 struct jset_entry *
2634 struct jset_entry *end, in bch2_btree_roots_to_journal_entries()
Drecovery.c400 struct jset_entry *entry) in journal_replay_entry_early()
476 for (struct jset_entry *entry = clean->start; in journal_replay_early()
Dbtree_types.h527 struct jset_entry *journal_entries;
Ddisk_accounting.c281 for (struct jset_entry *i = trans->journal_entries; in bch2_accounting_update_sb()
Dbtree_iter.c1467 for (struct jset_entry *e = trans->journal_entries; in bch2_trans_updates_to_text()