Lines Matching defs:keys
19 * entries, do some other stuff, then we mark all the keys in the journal
24 * We only journal keys that go in leaf nodes, which simplifies things quite a
351 int ret = 0, keys = 0, entries = 0;
386 keys++;
397 pr_info("journal replay done, %i keys in %i entries, seq %llu\n",
398 keys, entries, end);
712 j->cur->data->keys = 0;
803 trace_bcache_journal_write(bio, w->data->keys);
866 sectors = __set_blocks(w->data, w->data->keys + nkeys,
882 * XXX: If we were inserting so many keys that they
887 BUG_ON(!w->data->keys);
920 * pass bch_journal() a list of keys to be journalled, and then
921 * bch_journal() hands those same keys off to btree_insert_async()
925 struct keylist *keys,
938 w = journal_wait_for_write(c, bch_keylist_nkeys(keys));
940 memcpy(bset_bkey_last(w->data), keys->keys, bch_keylist_bytes(keys));
941 w->data->keys += bch_keylist_nkeys(keys);
964 struct keylist keys;
967 bch_keylist_init(&keys);
969 ref = bch_journal(c, &keys, cl);