Searched refs:bkey_u64s (Results 1 – 4 of 4) sorted by relevance
99 static inline unsigned long bkey_u64s(const struct bkey *k) in bkey_u64s() function106 return bkey_u64s(k) * sizeof(__u64); in bkey_bytes()122 return (struct bkey *) (d + bkey_u64s(k)); in bkey_next()
179 l->top_p -= bkey_u64s(l->keys); in bch_keylist_pop_front()607 ? bset_bkey_idx(t->data, t->data->keys - bkey_u64s(&t->end)) in make_bfloat()724 t->prev[j] = bkey_u64s(prev); in bch_bset_build_written_tree()791 unsigned int shift = bkey_u64s(k); in bch_bset_fix_lookup_table()868 __set_bytes(t->data, t->data->keys + bkey_u64s(insert)) > in bch_bset_insert()871 memmove((uint64_t *) where + bkey_u64s(insert), in bch_bset_insert()875 t->data->keys += bkey_u64s(insert); in bch_bset_insert()
1326 gc->key_bytes += bkey_u64s(k); in btree_gc_mark_node()1420 bkey_u64s(k), in btree_gc_coalesce()1425 keys += bkey_u64s(k); in btree_gc_coalesce()1467 bkey_u64s(&new_nodes[i]->key))) in btree_gc_coalesce()1486 if (__bch_keylist_realloc(&keylist, bkey_u64s(&r[i].b->key))) in btree_gc_coalesce()1581 ret += bkey_u64s(k); in btree_gc_count_keys()2218 if (bkey_u64s(k) > insert_u64s_remaining(b)) in bch_btree_insert_keys()2303 keys += bkey_u64s(bset_bkey_idx(btree_bset_first(n1), in btree_split()2308 keys += bkey_u64s(bset_bkey_idx(btree_bset_first(n1), keys)); in btree_split()
21 unsigned bkey_u64s = bkey_val_u64s(d.k); in bch2_dirent_name_bytes() local22 unsigned bkey_bytes = bkey_u64s * sizeof(u64); in bch2_dirent_name_bytes()23 u64 last_u64 = ((u64*)d.v)[bkey_u64s - 1]; in bch2_dirent_name_bytes()