Home
last modified time | relevance | path

Searched refs:keylist (Results 1 – 9 of 9) sorted by relevance

/drivers/md/bcache/
Dbset.h485 struct keylist { struct
500 static inline void bch_keylist_init(struct keylist *l) in bch_keylist_init() argument
505 static inline void bch_keylist_init_single(struct keylist *l, struct bkey *k) in bch_keylist_init_single()
511 static inline void bch_keylist_push(struct keylist *l) in bch_keylist_push()
516 static inline void bch_keylist_add(struct keylist *l, struct bkey *k) in bch_keylist_add()
522 static inline bool bch_keylist_empty(struct keylist *l) in bch_keylist_empty()
527 static inline void bch_keylist_reset(struct keylist *l) in bch_keylist_reset()
532 static inline void bch_keylist_free(struct keylist *l) in bch_keylist_free()
538 static inline size_t bch_keylist_nkeys(struct keylist *l) in bch_keylist_nkeys()
543 static inline size_t bch_keylist_bytes(struct keylist *l) in bch_keylist_bytes()
[all …]
Djournal.h173 struct keylist;
176 struct keylist *keys,
Dbtree.c1331 struct keylist *insert_keys,
1340 struct keylist keylist; in btree_gc_coalesce() local
1344 bch_keylist_init(&keylist); in btree_gc_coalesce()
1438 if (__bch_keylist_realloc(&keylist, in btree_gc_coalesce()
1443 bch_keylist_add(&keylist, &new_nodes[i]->key); in btree_gc_coalesce()
1458 if (__bch_keylist_realloc(&keylist, bkey_u64s(&r[i].b->key))) in btree_gc_coalesce()
1461 make_btree_freeing_key(r[i].b, keylist.top); in btree_gc_coalesce()
1462 bch_keylist_push(&keylist); in btree_gc_coalesce()
1465 bch_btree_insert_node(b, op, &keylist, NULL, NULL); in btree_gc_coalesce()
1466 BUG_ON(!bch_keylist_empty(&keylist)); in btree_gc_coalesce()
[all …]
Djournal.c358 struct keylist keylist; in bch_journal_replay() local
380 bch_keylist_init_single(&keylist, k); in bch_journal_replay()
382 ret = bch_btree_insert(s, &keylist, i->pin, NULL); in bch_journal_replay()
386 BUG_ON(!bch_keylist_empty(&keylist)); in bch_journal_replay()
930 struct keylist *keys, in bch_journal()
969 struct keylist keys; in bch_journal_meta()
Drequest.h32 struct keylist insert_keys;
Dbset.c131 int __bch_keylist_realloc(struct keylist *l, unsigned int u64s) in __bch_keylist_realloc()
159 struct bkey *bch_keylist_pop(struct keylist *l) in bch_keylist_pop()
173 void bch_keylist_pop_front(struct keylist *l) in bch_keylist_pop_front()
Dbtree.h277 int bch_btree_insert(struct cache_set *c, struct keylist *keys,
Dwriteback.c355 struct keylist keys; in write_dirty_finish()
Drequest.c90 static int bch_keylist_realloc(struct keylist *l, unsigned int u64s, in bch_keylist_realloc()