Searched refs:bset_magic (Results 1 – 6 of 6) sorted by relevance
72 static inline __u64 bset_magic(struct bch_fs *c) in bset_magic() function
1005 btree_err_on(le64_to_cpu(b->data->magic) != bset_magic(c), in bch2_btree_node_read_done()1010 bset_magic(c), le64_to_cpu(b->data->magic)); in bch2_btree_node_read_done()1389 if (le64_to_cpu(bn->magic) != bset_magic(c)) in btree_node_sectors_written()1445 if (le64_to_cpu(bn->magic) != bset_magic(c) || in CLOSURE_CALLBACK()2041 BUG_ON(le64_to_cpu(b->data->magic) != bset_magic(c)); in __bch2_btree_node_write()
158 if (le64_to_cpu(bn->magic) != bset_magic(c)) in try_read_btree_node()
408 b->data->magic = cpu_to_le64(bset_magic(c)); in bch2_btree_node_alloc()
324 static inline __u64 bset_magic(struct cache_sb *sb) in bset_magic() function
122 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()