Lines Matching refs:refill
2603 struct refill {
2614 struct refill *refill = container_of(op, struct refill, op);
2615 struct keybuf *buf = refill->buf;
2618 if (bkey_cmp(k, refill->end) > 0) {
2626 if (refill->pred(buf, k)) {
2643 refill->nr_found++;
2659 struct refill refill;
2663 bch_btree_op_init(&refill.op, -1);
2664 refill.nr_found = 0;
2665 refill.buf = buf;
2666 refill.end = end;
2667 refill.pred = pred;
2669 bch_btree_map_keys(&refill.op, c, &buf->last_scanned,
2672 trace_bcache_keyscan(refill.nr_found,