Lines Matching defs:k
99 #define PTR_HASH(c, k) \ argument
126 void bkey_put(struct cache_set *c, struct bkey *k) in bkey_put()
541 static unsigned int btree_order(struct bkey *k) in btree_order()
546 static void mca_data_alloc(struct btree *b, struct bkey *k, gfp_t gfp) in mca_data_alloc()
561 struct bkey *k, gfp_t gfp) in mca_bucket_alloc()
822 static struct hlist_head *mca_hash(struct cache_set *c, struct bkey *k) in mca_hash()
827 static struct btree *mca_find(struct cache_set *c, struct bkey *k) in mca_find()
859 struct bkey *k) in mca_cannibalize()
897 struct bkey *k, int level) in mca_alloc()
977 struct bkey *k, int level, bool write, in bch_btree_node_get()
1033 static void btree_node_prefetch(struct btree *parent, struct bkey *k) in btree_node_prefetch()
1149 static void make_btree_freeing_key(struct btree *b, struct bkey *k) in make_btree_freeing_key()
1192 struct bkey *k) in __bch_btree_mark_key()
1243 #define btree_mark_key(b, k) __bch_btree_mark_key(b->c, b->level, k) argument
1245 void bch_initial_mark_key(struct cache_set *c, int level, struct bkey *k) in bch_initial_mark_key()
1274 struct bkey *k; in btree_gc_mark_node() local
1331 struct bkey *k; in btree_gc_coalesce() local
1372 struct bkey *k, *last = NULL; in btree_gc_coalesce() local
1533 struct bkey *k; in btree_gc_count_keys() local
1574 struct bkey *k; in btree_gc_recurse() local
1724 uint64_t *k; in bch_btree_gc_finish() local
1874 struct bkey *k, *p = NULL; in bch_btree_check_recurse() local
1915 struct bkey *k, *p; in bch_btree_check_thread() local
2005 struct bkey *k = NULL; in bch_btree_check() local
2115 static bool btree_insert_key(struct btree *b, struct bkey *k, in btree_insert_key()
2155 struct bkey *k = insert_keys->keys; in bch_btree_insert_keys() local
2459 struct bkey *k; in bch_btree_insert() local
2504 struct bkey *k; in bch_btree_map_nodes_recurse() local
2537 struct bkey *k; in bch_btree_map_keys_recurse() local
2593 struct bkey *k) in refill_keybuf_fn()