Lines Matching refs:keys
363 struct keylist keys; in CLOSURE_CALLBACK() local
365 bch_keylist_init(&keys); in CLOSURE_CALLBACK()
367 bkey_copy(keys.top, &w->key); in CLOSURE_CALLBACK()
368 SET_KEY_DIRTY(keys.top, false); in CLOSURE_CALLBACK()
369 bch_keylist_push(&keys); in CLOSURE_CALLBACK()
374 ret = bch_btree_insert(dc->disk.c, &keys, NULL, &w->key); in CLOSURE_CALLBACK()
477 struct keybuf_key *next, *keys[MAX_WRITEBACKS_IN_PASS], *w; in read_dirty() local
527 if ((nk != 0) && bkey_cmp(&keys[nk-1]->key, in read_dirty()
532 keys[nk++] = next; in read_dirty()
537 w = keys[i]; in read_dirty()
776 RB_EMPTY_ROOT(&dc->writeback_keys.keys)) { in bch_writeback_thread()
918 bch_btree_iter_stack_init(&c->root->keys, &iter, NULL); in bch_dirty_init_thread()
919 k = bch_btree_iter_next_filter(&iter.iter, &c->root->keys, bch_ptr_bad); in bch_dirty_init_thread()
934 &c->root->keys, in bch_dirty_init_thread()
1001 for_each_key_filter(&c->root->keys, in bch_sectors_dirty_init()