Home
last modified time | relevance | path

Searched refs:bset_magic (Results 1 – 6 of 6) sorted by relevance

/linux-6.15/fs/bcachefs/
H A Dsuper-io.h84 static inline __u64 bset_magic(struct bch_fs *c) in bset_magic() function
H A Dbtree_io.c1041 btree_err_on(le64_to_cpu(b->data->magic) != bset_magic(c), in bch2_btree_node_read_done()
1046 bset_magic(c), le64_to_cpu(b->data->magic)); in bch2_btree_node_read_done()
1438 if (le64_to_cpu(bn->magic) != bset_magic(c)) in btree_node_sectors_written()
1494 if (le64_to_cpu(bn->magic) != bset_magic(c) || in CLOSURE_CALLBACK()
1847 if (le64_to_cpu(data->magic) != bset_magic(c)) { in btree_node_scrub_check()
1849 bset_magic(c), le64_to_cpu(data->magic)); in btree_node_scrub_check()
2307 BUG_ON(le64_to_cpu(b->data->magic) != bset_magic(c)); in __bch2_btree_node_write()
H A Dbtree_node_scan.c182 if (le64_to_cpu(bn->magic) != bset_magic(c)) in try_read_btree_node()
H A Dbtree_update_interior.c388 b->data->magic = cpu_to_le64(bset_magic(c)); in bch2_btree_node_alloc()
/linux-6.15/drivers/md/bcache/
H A Dbcache_ondisk.h324 static inline __u64 bset_magic(struct cache_sb *sb) in bset_magic() function
H A Dbtree.c122 bset_magic(&b->c->cache->sb)); in bch_btree_init_next()
183 if (i->magic != bset_magic(&b->c->cache->sb)) in bch_btree_node_read_done()
224 bset_magic(&b->c->cache->sb)); in bch_btree_node_read_done()
1149 bch_bset_init_next(&b->keys, b->keys.set->data, bset_magic(&b->c->cache->sb)); in __bch_btree_node_alloc()