Searched refs:keylist (Results 1 – 9 of 9) sorted by relevance
/drivers/md/bcache/ |
D | bset.h | 468 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 …]
|
D | journal.h | 167 struct keylist; 169 atomic_t *bch_journal(struct cache_set *, struct keylist *, struct closure *);
|
D | btree.c | 1304 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 …]
|
D | journal.c | 332 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()
|
D | request.h | 31 struct keylist insert_keys;
|
D | btree.h | 252 int bch_btree_insert(struct cache_set *, struct keylist *,
|
D | bset.c | 129 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()
|
D | writeback.c | 143 struct keylist keys; in write_dirty_finish()
|
D | request.c | 100 static int bch_keylist_realloc(struct keylist *l, unsigned u64s, in bch_keylist_realloc()
|