Lines Matching refs:refill
2624 struct refill {
2635 struct refill *refill = container_of(op, struct refill, op);
2636 struct keybuf *buf = refill->buf;
2639 if (bkey_cmp(k, refill->end) > 0) {
2647 if (refill->pred(buf, k)) {
2664 refill->nr_found++;
2680 struct refill refill;
2684 bch_btree_op_init(&refill.op, -1);
2685 refill.nr_found = 0;
2686 refill.buf = buf;
2687 refill.end = end;
2688 refill.pred = pred;
2690 bch_btree_map_keys(&refill.op, c, &buf->last_scanned,
2693 trace_bcache_keyscan(refill.nr_found,