Lines Matching refs:bp_pos
71 struct bpos bp_pos = bucket_pos_to_bp_noerror(ca, bucket, bp.v->bucket_offset); in bch2_backpointer_validate() local
75 !bpos_eq(bp.k->p, bp_pos), in bch2_backpointer_validate()
225 struct bpos *bp_pos, in bch2_get_next_backpointer() argument
234 if (bpos_ge(*bp_pos, bp_end_pos)) in bch2_get_next_backpointer()
249 *bp_pos = bpos_max(*bp_pos, bucket_pos_to_bp(ca, bucket, 0)); in bch2_get_next_backpointer()
252 *bp_pos, iter_flags, k, ret) { in bch2_get_next_backpointer()
256 *bp_pos = k.k->p; in bch2_get_next_backpointer()
261 *bp_pos = SPOS_MAX; in bch2_get_next_backpointer()
269 struct bpos bp_pos, in backpointer_not_found() argument
285 if (!bp_pos_to_bucket_nodev(c, bp_pos, &bucket)) in backpointer_not_found()
295 bch2_bpos_to_text(&buf, bp_pos); in backpointer_not_found()
311 struct bpos bp_pos, in bch2_backpointer_get_key() argument
319 if (!bp_pos_to_bucket_nodev(c, bp_pos, &bucket)) in bch2_backpointer_get_key()
337 backpointer_not_found(trans, bp_pos, bp, k); in bch2_backpointer_get_key()
340 struct btree *b = bch2_backpointer_get_node(trans, iter, bp_pos, bp); in bch2_backpointer_get_key()
352 struct bpos bp_pos, in bch2_backpointer_get_node() argument
360 if (!bp_pos_to_bucket_nodev(c, bp_pos, &bucket)) in bch2_backpointer_get_node()
383 backpointer_not_found(trans, bp_pos, bp, bkey_i_to_s_c(&b->key)); in bch2_backpointer_get_node()