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
352 int ret = 0, keys = 0, entries = 0;
387 keys++;
398 pr_info("journal replay done, %i keys in %i entries, seq %llu\n",
399 keys, entries, end);
715 j->cur->data->keys = 0;
808 trace_bcache_journal_write(bio, w->data->keys);
871 sectors = __set_blocks(w->data, w->data->keys + nkeys,
887 * XXX: If we were inserting so many keys that they
892 BUG_ON(!w->data->keys);
925 * pass bch_journal() a list of keys to be journalled, and then
926 * bch_journal() hands those same keys off to btree_insert_async()
930 struct keylist *keys,
943 w = journal_wait_for_write(c, bch_keylist_nkeys(keys));
945 memcpy(bset_bkey_last(w->data), keys->keys, bch_keylist_bytes(keys));
946 w->data->keys += bch_keylist_nkeys(keys);
969 struct keylist keys;
972 bch_keylist_init(&keys);
974 ref = bch_journal(c, &keys, cl);