Home
last modified time | relevance | path

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

/drivers/md/bcache/
Dbset.h468 struct keylist { struct
483 static inline void bch_keylist_init(struct keylist *l) in bch_keylist_init() argument
488 static inline void bch_keylist_init_single(struct keylist *l, struct bkey *k) in bch_keylist_init_single()
494 static inline void bch_keylist_push(struct keylist *l) in bch_keylist_push()
499 static inline void bch_keylist_add(struct keylist *l, struct bkey *k) in bch_keylist_add()
505 static inline bool bch_keylist_empty(struct keylist *l) in bch_keylist_empty()
510 static inline void bch_keylist_reset(struct keylist *l) in bch_keylist_reset()
515 static inline void bch_keylist_free(struct keylist *l) in bch_keylist_free()
521 static inline size_t bch_keylist_nkeys(struct keylist *l) in bch_keylist_nkeys()
526 static inline size_t bch_keylist_bytes(struct keylist *l) in bch_keylist_bytes()
[all …]
Djournal.h167 struct keylist;
169 atomic_t *bch_journal(struct cache_set *, struct keylist *, struct closure *);
Dbtree.c1304 struct keylist *, atomic_t *, struct bkey *);
1311 struct keylist keylist; in btree_gc_coalesce() local
1315 bch_keylist_init(&keylist); in btree_gc_coalesce()
1409 if (__bch_keylist_realloc(&keylist, in btree_gc_coalesce()
1414 bch_keylist_add(&keylist, &new_nodes[i]->key); in btree_gc_coalesce()
1429 if (__bch_keylist_realloc(&keylist, bkey_u64s(&r[i].b->key))) in btree_gc_coalesce()
1432 make_btree_freeing_key(r[i].b, keylist.top); in btree_gc_coalesce()
1433 bch_keylist_push(&keylist); in btree_gc_coalesce()
1436 bch_btree_insert_node(b, op, &keylist, NULL, NULL); in btree_gc_coalesce()
1437 BUG_ON(!bch_keylist_empty(&keylist)); in btree_gc_coalesce()
[all …]
Djournal.c332 struct keylist keylist; in bch_journal_replay() local
354 bch_keylist_init_single(&keylist, k); in bch_journal_replay()
356 ret = bch_btree_insert(s, &keylist, i->pin, NULL); in bch_journal_replay()
360 BUG_ON(!bch_keylist_empty(&keylist)); in bch_journal_replay()
776 struct keylist *keys, in bch_journal()
811 struct keylist keys; in bch_journal_meta()
Drequest.h31 struct keylist insert_keys;
Dbtree.h252 int bch_btree_insert(struct cache_set *, struct keylist *,
Dbset.c129 int __bch_keylist_realloc(struct keylist *l, unsigned u64s) in __bch_keylist_realloc()
156 struct bkey *bch_keylist_pop(struct keylist *l) in bch_keylist_pop()
169 void bch_keylist_pop_front(struct keylist *l) in bch_keylist_pop_front()
Dwriteback.c143 struct keylist keys; in write_dirty_finish()
Drequest.c100 static int bch_keylist_realloc(struct keylist *l, unsigned u64s, in bch_keylist_realloc()