/linux/fs/bcachefs/ |
H A D | btree_io.h | 201 !bpos_eq(bn->min_key, POS_MIN) && in compat_btree_node() 218 !bpos_eq(bn->min_key, POS_MIN) && in compat_btree_node()
|
H A D | bkey_methods.c | 257 if (bpos_eq(pos, POS_MIN)) in bch2_bpos_to_text() 259 else if (bpos_eq(pos, POS_MAX)) in bch2_bpos_to_text() 261 else if (bpos_eq(pos, SPOS_MAX)) in bch2_bpos_to_text()
|
H A D | backpointers.c | 80 if (bpos_eq(bp.k->p, bp2.k.p) && in extent_matches_bp() 1112 if ( bpos_eq(s.bp_start, POS_MIN) && in bch2_check_extents_to_backpointers() 1113 !bpos_eq(s.bp_end, SPOS_MAX)) in bch2_check_extents_to_backpointers() 1117 if (!bpos_eq(s.bp_start, POS_MIN) || in bch2_check_extents_to_backpointers() 1118 !bpos_eq(s.bp_end, SPOS_MAX)) { in bch2_check_extents_to_backpointers() 1131 if (ret || bpos_eq(s.bp_end, SPOS_MAX)) in bch2_check_extents_to_backpointers()
|
H A D | bkey_methods.h | 75 bpos_eq(l->p, bkey_start_pos(r)); in bch2_bkey_maybe_mergable()
|
H A D | btree_iter.c | 273 BUG_ON(iter->flags & BTREE_ITER_all_snapshots ? !bpos_eq(iter->pos, iter->k.p) : in bch2_btree_iter_verify_entry_exit() 1857 EBUG_ON(k.k && bkey_deleted(k.k) && bpos_eq(k.k->p, path->pos)); in bch2_btree_path_peek_slot() 1859 if (!k.k || !bpos_eq(path->pos, k.k->p)) in bch2_btree_path_peek_slot() 2013 if (bpos_eq(iter->pos, b->key.k.p)) { in bch2_btree_iter_next_node() 2063 ? bpos_eq(pos, SPOS_MAX) in bch2_btree_iter_advance() 2076 ? bpos_eq(pos, POS_MIN) in bch2_btree_iter_rewind() 2125 bpos_eq(i->k->k.p, iter->pos)) { in bch2_btree_trans_peek_slot_updates() 2219 bpos_eq(iter->pos, pos)) in btree_trans_peek_key_cache() 2249 !bpos_eq(pos, k.k->p)) in btree_trans_peek_key_cache() 2318 search_key = !bpos_eq(search_key, k.k->p) in __bch2_btree_iter_peek() [all …]
|
H A D | btree_update_interior.c | 58 !bpos_eq(bkey_i_to_btree_ptr_v2(&b->key)->v.min_key, in bch2_btree_node_check_topology() 66 if (!bpos_eq(b->data->min_key, POS_MIN)) { in bch2_btree_node_check_topology() 74 if (!bpos_eq(b->data->max_key, SPOS_MAX)) { in bch2_btree_node_check_topology() 96 if (!bpos_eq(expected_min, bp.v->min_key)) { in bch2_btree_node_check_topology() 128 } else if (!bpos_eq(prev.k->k.p, b->key.k.p)) { in bch2_btree_node_check_topology() 1435 if (bkey_deleted(&k->k) && bpos_eq(k->k.p, pos)) in key_deleted_in_insert() 1973 if ((sib == btree_prev_sib && bpos_eq(b->data->min_key, POS_MIN)) || in __bch2_foreground_maybe_merge() 1974 (sib == btree_next_sib && bpos_eq(b->data->max_key, SPOS_MAX))) { in __bch2_foreground_maybe_merge() 2007 if (!bpos_eq(bpos_successor(prev->data->max_key), next->data->min_key)) { in __bch2_foreground_maybe_merge() 2385 BUG_ON(!bpos_eq(path2->pos, new_key->k.p)); in __bch2_btree_node_update_key()
|
H A D | btree_journal_iter.c | 366 bpos_eq(keys->data[idx].k->k.p, pos) && in bch2_key_deleted_in_journal() 441 bpos_eq(keys->data[idx].k->k.p, pos) && in bch2_journal_key_overwritten() 519 if (bpos_eq(iter->pos, SPOS_MAX)) in bch2_btree_and_journal_iter_advance()
|
H A D | bkey.h | 97 static __always_inline bool bpos_eq(struct bpos l, struct bpos r) in bpos_eq() function 193 return bpos_eq(l.k->p, r.k->p) && in bkey_and_val_eq()
|
H A D | subvolume.c | 248 return !bpos_eq(pos, POS_MIN) in subvolume_children_mod() 262 if (!bpos_eq(children_pos_old, children_pos_new)) { in bch2_subvolume_trigger()
|
H A D | btree_gc.c | 207 !bpos_eq(bkey_i_to_btree_ptr_v2(&b->key)->v.min_key, in btree_check_node_boundaries() 210 if (bpos_eq(expected_start, cur->data->min_key)) in btree_check_node_boundaries() 279 if (bpos_eq(child->key.k.p, b->key.k.p)) in btree_repair_node_end()
|
H A D | btree_key_cache.c | 31 !bpos_eq(ck->key.pos, key->pos); in bch2_btree_key_cache_cmp_fn() 355 !bpos_eq(ck->key.pos, path->pos)) { in btree_path_traverse_cached_fast()
|
H A D | btree_iter.h | 230 return !bpos_eq(new_pos, trans->paths[path].pos) in bch2_btree_path_set_pos() 267 if (k.k && bpos_eq(path->pos, k.k->p)) in bch2_btree_path_peek_slot_exact()
|
H A D | btree_update.c | 396 EBUG_ON(!bpos_eq(k->k.p, path->pos)); in bch2_trans_update_by_path() 479 !bpos_eq(key_cache_path->pos, iter->pos)) { in bch2_trans_update_get_key_cache()
|
H A D | debug.c | 409 if (bpos_eq(SPOS_MAX, i->from)) in bch2_read_btree_formats() 415 i->from = !bpos_eq(SPOS_MAX, b->key.k.p) in bch2_read_btree_formats()
|
H A D | btree_trans_commit.c | 166 EBUG_ON(!b->c.level && !bpos_eq(insert->k.p, path->pos)); in bch2_btree_bset_insert_key() 335 BUG_ON(!bpos_eq(i->k->k.p, path->pos)); in btree_insert_entry_checks()
|
H A D | bset.c | 97 if (!bkey_deleted(k.k) && bpos_eq(n.p, k.k->p)) in bch2_dump_bset() 518 BUG_ON(!bpos_eq(rw_aux_tree(b, t)[j].k, in bch2_bset_verify_rw_aux_tree()
|
H A D | btree_node_scan.c | 343 BUG_ON(bpos_eq(l->min_key, r->min_key)); in handle_overwrites()
|
H A D | btree_cache.c | 1028 !bpos_eq(b->data->max_key, b->key.k.p) || in btree_check_header() 1030 !bpos_eq(b->data->min_key, in btree_check_header()
|
H A D | fsck.c | 394 if (bpos_eq(k.k->p, d_pos)) { in maybe_delete_dirent() 1672 if (!bpos_eq(pos1, k1.k->p)) { in overlapping_extents_found() 1773 if (bpos_eq(extent_ends->last_pos, k.k->p)) in check_overlapping_extents()
|
H A D | btree_io.c | 792 btree_err_on(!bpos_eq(b->data->min_key, bp->min_key), in validate_bset() 803 btree_err_on(!bpos_eq(bn->max_key, b->key.k.p), in validate_bset()
|
H A D | alloc_background.c | 1061 if (!bpos_eq(path->l[0].b->key.k.p, SPOS_MAX)) in bch2_get_key_or_hole()
|