Lines Matching defs:refill
2633 struct refill {
2644 struct refill *refill = container_of(op, struct refill, op);
2645 struct keybuf *buf = refill->buf;
2648 if (bkey_cmp(k, refill->end) > 0) {
2656 if (refill->pred(buf, k)) {
2673 refill->nr_found++;
2689 struct refill refill;
2693 bch_btree_op_init(&refill.op, -1);
2694 refill.nr_found = 0;
2695 refill.buf = buf;
2696 refill.end = end;
2697 refill.pred = pred;
2699 bch_btree_map_keys(&refill.op, c, &buf->last_scanned,
2702 trace_bcache_keyscan(refill.nr_found,