Home
last modified time | relevance | path

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

/linux/fs/bcachefs/
H A Djournal_io.c77 static struct nonce journal_nonce(const struct jset *jset) in journal_nonce() argument
81 [1] = ((__le32 *) &jset->seq)[0], in journal_nonce()
82 [2] = ((__le32 *) &jset->seq)[1], in journal_nonce()
87 static bool jset_csum_good(struct bch_fs *c, struct jset *j, struct bch_csum *csum) in jset_csum_good()
142 struct journal_list *jlist, struct jset *j) in journal_entry_add()
272 struct jset *jset, in journal_entry_err_msg() argument
283 if (!jset) { in journal_entry_err_msg()
287 prt_printf(out, " seq=%llu", le64_to_cpu(jset->seq)); in journal_entry_err_msg()
291 (u64 *) entry - jset->_data, in journal_entry_err_msg()
292 le32_to_cpu(jset->u64s)); in journal_entry_err_msg()
[all …]
H A 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 *,
H A 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()
H A Dsb-clean.h7 struct jset *);
H A Dsb-clean.c57 struct jset *j, in btree_root_find()
88 struct jset *j) in bch2_verify_superblock_clean()
H A Djournal_types.h25 struct jset *data;
H A Dbcachefs_format.h1260 struct jset { struct
1283 LE32_BITMASK(JSET_CSUM_TYPE, struct jset, flags, 0, 4); argument
1284 LE32_BITMASK(JSET_BIG_ENDIAN, struct jset, flags, 4, 5);
1285 LE32_BITMASK(JSET_NO_FLUSH, struct jset, flags, 5, 6);
/linux/drivers/md/bcache/
H A Djournal.h86 struct jset j;
94 struct jset *data;
H A Dbcache_ondisk.h346 struct jset { struct
H A Djournal.c42 struct jset *j, *data = ca->set->journal.w[0].data; in journal_read_bucket()
H A 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()
/linux/tools/testing/selftests/bpf/progs/
H A Dverifier_search_pruning.c358 : __imm_insn(jset, BPF_JMP_IMM(BPF_JSET, BPF_REG_7, 0x702000, -2)) in short_loop1()
/linux/tools/bpf/
H A Dbpf_exp.y101 | jset
323 jset
/linux/Documentation/networking/
H A Dfilter.rst243 jset 7, 8, 9, 10 Jump on A & <x>