Searched refs:inmemory (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/md/bcache/ |
H A D | debug.c | 34 struct bset *ondisk, *sorted, *inmemory; in bch_btree_verify() local 45 inmemory = b->keys.set->data; in bch_btree_verify() 67 if (inmemory->keys != sorted->keys || in bch_btree_verify() 68 memcmp(inmemory->start, in bch_btree_verify() 70 (void *) bset_bkey_last(inmemory) - in bch_btree_verify() 71 (void *) inmemory->start)) { in bch_btree_verify() 78 bch_dump_bset(&b->keys, inmemory, 0); in bch_btree_verify() 94 for (j = 0; j < inmemory->keys; j++) in bch_btree_verify() 95 if (inmemory->d[j] != sorted->d[j]) in bch_btree_verify()
|
/linux/fs/bcachefs/ |
H A D | debug.c | 39 struct bset *sorted, *inmemory = &b->data->keys; in bch2_btree_verify_replica() local 69 if (inmemory->u64s != sorted->u64s || in bch2_btree_verify_replica() 70 memcmp(inmemory->start, in bch2_btree_verify_replica() 72 vstruct_end(inmemory) - (void *) inmemory->start)) { in bch2_btree_verify_replica() 80 bch2_dump_bset(c, b, inmemory, 0); in bch2_btree_verify_replica() 105 for (j = 0; j < le16_to_cpu(inmemory->u64s); j++) in bch2_btree_verify_replica() 106 if (inmemory->_data[j] != sorted->_data[j]) in bch2_btree_verify_replica() 130 struct bset *inmemory = &b->data->keys; in __bch2_btree_verify() local 156 for (k = inmemory->start; k != vstruct_last(inmemory); k = bkey_p_next(k)) in __bch2_btree_verify()
|