Home
last modified time | relevance | path

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

/linux/drivers/md/bcache/
H A Dbset.h250 static inline unsigned int bset_byte_offset(struct btree_keys *b, in bset_byte_offset() function
259 return bset_byte_offset(b, i) >> 9; in bset_sector_offset()
275 (bset_byte_offset(b, t->data) + set_bytes(t->data))); in bch_btree_keys_u64s_remaining()
281 (bset_byte_offset(b, t->data) + set_bytes(t->data))) / in bch_btree_keys_u64s_remaining()
H A Dbset.c867 BUG_ON(bset_byte_offset(b, t->data) + in bch_bset_insert()
/linux/fs/bcachefs/
H A Dbtree_update_interior.h243 ssize_t used = bset_byte_offset(b, end) / sizeof(u64) + in __bch2_btree_u64s_remaining()
H A Dbtree_types.h735 static inline unsigned bset_byte_offset(struct btree *b, void *i) in bset_byte_offset() function
H A Dbset.c803 BUG_ON(bset_byte_offset(b, bne) >= btree_buf_bytes(b)); in bch2_bset_init_next()
H A Dbtree_io.c1210 bset_byte_offset(b, bne) < btree_buf_bytes(b); in bch2_btree_node_read_done()