Home
last modified time | relevance | path

Searched refs:bkey_u64s (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/md/bcache/
Dbcache_ondisk.h99 static inline unsigned long bkey_u64s(const struct bkey *k) in bkey_u64s() function
106 return bkey_u64s(k) * sizeof(__u64); in bkey_bytes()
122 return (struct bkey *) (d + bkey_u64s(k)); in bkey_next()
Dbset.c175 l->top_p -= bkey_u64s(l->keys); in bch_keylist_pop_front()
603 ? bset_bkey_idx(t->data, t->data->keys - bkey_u64s(&t->end)) in make_bfloat()
720 t->prev[j] = bkey_u64s(prev); in bch_bset_build_written_tree()
787 unsigned int shift = bkey_u64s(k); in bch_bset_fix_lookup_table()
864 __set_bytes(t->data, t->data->keys + bkey_u64s(insert)) > in bch_bset_insert()
867 memmove((uint64_t *) where + bkey_u64s(insert), in bch_bset_insert()
871 t->data->keys += bkey_u64s(insert); in bch_bset_insert()
Dbtree.c1319 gc->key_bytes += bkey_u64s(k); in btree_gc_mark_node()
1413 bkey_u64s(k), in btree_gc_coalesce()
1418 keys += bkey_u64s(k); in btree_gc_coalesce()
1460 bkey_u64s(&new_nodes[i]->key))) in btree_gc_coalesce()
1479 if (__bch_keylist_realloc(&keylist, bkey_u64s(&r[i].b->key))) in btree_gc_coalesce()
1572 ret += bkey_u64s(k); in btree_gc_count_keys()
2197 if (bkey_u64s(k) > insert_u64s_remaining(b)) in bch_btree_insert_keys()
2282 keys += bkey_u64s(bset_bkey_idx(btree_bset_first(n1), in btree_split()
2287 keys += bkey_u64s(bset_bkey_idx(btree_bset_first(n1), keys)); in btree_split()