Home
last modified time | relevance | path

Searched refs:jset (Results 1 – 16 of 16) sorted by relevance

/linux-6.12.1/fs/bcachefs/
Djournal_io.c74 static struct nonce journal_nonce(const struct jset *jset) in journal_nonce() argument
78 [1] = ((__le32 *) &jset->seq)[0], in journal_nonce()
79 [2] = ((__le32 *) &jset->seq)[1], in journal_nonce()
84 static bool jset_csum_good(struct bch_fs *c, struct jset *j, struct bch_csum *csum) in jset_csum_good()
139 struct journal_list *jlist, struct jset *j) in journal_entry_add()
269 struct jset *jset, in journal_entry_err_msg() argument
280 if (!jset) { in journal_entry_err_msg()
284 prt_printf(out, " seq=%llu", le64_to_cpu(jset->seq)); in journal_entry_err_msg()
288 (u64 *) entry - jset->_data, in journal_entry_err_msg()
289 le32_to_cpu(jset->u64s)); in journal_entry_err_msg()
[all …]
Djournal_io.h29 struct jset j;
37 static inline struct jset_entry *__jset_entry_type_next(struct jset *jset, in __jset_entry_type_next() argument
40 while (entry < vstruct_last(jset)) { in __jset_entry_type_next()
50 #define for_each_jset_entry_type(entry, jset, type) \ argument
51 for (struct jset_entry *entry = (jset)->start; \
52 (entry = __jset_entry_type_next(jset, entry, type)); \
60 #define for_each_jset_key(k, entry, jset) \ argument
61 for_each_jset_entry_type(entry, jset, BCH_JSET_ENTRY_btree_keys)\
64 int bch2_journal_entry_validate(struct bch_fs *, struct jset *,
Djournal.h176 return sizeof(struct jset) / sizeof(u64) + j->entry_u64s_reserved; in journal_entry_overhead()
182 struct jset *jset = buf->data; in bch2_journal_add_entry_noreservation() local
183 struct jset_entry *entry = vstruct_idx(jset, le32_to_cpu(jset->u64s)); in bch2_journal_add_entry_noreservation()
188 le32_add_cpu(&jset->u64s, jset_u64s(u64s)); in bch2_journal_add_entry_noreservation()
239 static inline bool journal_entry_empty(struct jset *j) in journal_entry_empty()
Dsb-clean.h7 struct jset *);
Dsb-clean.c53 struct jset *j, in btree_root_find()
84 struct jset *j) in bch2_verify_superblock_clean()
Dbcachefs_format.h1239 struct jset { struct
1262 LE32_BITMASK(JSET_CSUM_TYPE, struct jset, flags, 0, 4); argument
1263 LE32_BITMASK(JSET_BIG_ENDIAN, struct jset, flags, 4, 5);
1264 LE32_BITMASK(JSET_NO_FLUSH, struct jset, flags, 5, 6);
Djournal_types.h22 struct jset *data;
Drecovery.c634 struct jset *last_journal_entry = NULL; in bch2_fs_recovery()
/linux-6.12.1/drivers/md/bcache/
Djournal.h86 struct jset j;
94 struct jset *data;
Dbcache_ondisk.h346 struct jset { struct
Djournal.c42 struct jset *j, *data = ca->set->journal.w[0].data; in journal_read_bucket()
Dsuper.c458 static char *uuid_read(struct cache_set *c, struct jset *j, struct closure *cl) in uuid_read()
1980 struct jset *j; in run_cache_set()
Drequest.c102 if (newsize * sizeof(uint64_t) > block_bytes(c->cache) - sizeof(struct jset)) in bch_keylist_realloc()
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dverifier_search_pruning.c358 : __imm_insn(jset, BPF_JMP_IMM(BPF_JSET, BPF_REG_7, 0x702000, -2)) in short_loop1()
/linux-6.12.1/tools/bpf/
Dbpf_exp.y101 | jset
323 jset
/linux-6.12.1/Documentation/networking/
Dfilter.rst243 jset 7, 8, 9, 10 Jump on A & <x>