Searched refs:bkey_deleted (Results 1 – 17 of 17) sorted by relevance
107 if (!bkey_deleted(k) && in bch2_key_sort_fix_overlapping()136 if (filter_whiteouts && bkey_deleted(in)) in bch2_sort_repack()162 (int) bkey_deleted(r) - (int) bkey_deleted(l) ?: in keep_unwritten_whiteouts_cmp()180 if (bkey_deleted(in) && in < unwritten_whiteouts_start(iter->b)) in bch2_sort_keys_keep_unwritten_whiteouts()206 if (bkey_deleted(in)) in bch2_sort_keys()
373 ?: (int) bkey_deleted(r) - (int) bkey_deleted(l) in bkey_iter_cmp()392 ?: -((int) bkey_deleted(l)); in bkey_iter_pos_cmp()401 ?: -((int) bkey_deleted(l)); in bkey_iter_cmp_p_or_unp()425 bkey_deleted(k)) in bch2_btree_node_iter_peek()
162 EBUG_ON(bkey_deleted(&insert->k) && bkey_val_u64s(&insert->k)); in bch2_btree_bset_insert_key()173 EBUG_ON(k && bkey_deleted(k)); in bch2_btree_bset_insert_key()176 if (bkey_deleted(&insert->k) && !k) in bch2_btree_bset_insert_key()179 if (bkey_deleted(&insert->k)) { in bch2_btree_bset_insert_key()881 u64s_delta += !bkey_deleted(&i->k->k) ? i->k->k.u64s : 0; in do_bch2_trans_commit()
339 if (!bkey_deleted(&insert->k)) in bch2_trans_update_extent()371 if (!bkey_deleted(&k)) in flush_new_cached_update()441 i->old_btree_u64s = !bkey_deleted(&i->old_k) ? i->old_k.u64s : 0; in bch2_trans_update_by_path()520 if (bkey_deleted(&k->k) && in bch2_trans_update()
74 if (bkey_deleted(&n->k)) in bch2_dev_usrdata_drop_key()
42 #define bkey_deleted(_k) ((_k)->type == KEY_TYPE_deleted) macro
97 if (!bkey_deleted(k.k) && bpos_eq(n.p, k.k->p)) in bch2_dump_bset()142 if (!bkey_deleted(k)) in bch2_btree_node_count_keys()994 if (!bkey_deleted(&insert->k)) in bch2_bset_insert()1504 } while (prev && bkey_deleted(prev)); in bch2_btree_node_iter_prev()
290 bkey_deleted(&keys->data[idx].k->k)); in bch2_key_deleted_in_journal()429 if (bkey_deleted(ret.k)) { in bch2_btree_and_journal_iter_peek()
92 struct bpos expected_min = bkey_deleted(&prev.k->k) in bch2_btree_node_check_topology()117 if (bkey_deleted(&prev.k->k)) { in bch2_btree_node_check_topology()168 if (!bkey_deleted(k)) { in __bch2_btree_calc_format()1436 if (bkey_deleted(&k->k) && bpos_eq(k->k.p, pos)) in key_deleted_in_insert()1476 if (bkey_deleted(k)) in __btree_split_node()1519 if (bkey_deleted(k)) in __btree_split_node()
269 BUG_ON(bkey_deleted(k.k) != (i & 1)); in test_iterate_slots()328 BUG_ON(bkey_deleted(k.k) != !(i % 16)); in test_iterate_slots_extents()
430 if (!delete_src || !bkey_deleted(&new_src->k)) { in bch2_dirent_rename()
1046 return bkey_deleted(k.k); in bch2_extent_normalize()1077 return bkey_deleted(k.k); in bch2_extent_normalize_by_opts()
595 if (bkey_deleted(&n->k) && !(iter->flags & BTREE_ITER_is_extents)) in bch2_extent_drop_ptrs()
1823 EBUG_ON(k.k && bkey_deleted(k.k) && bpos_eq(k.k->p, path->pos)); in bch2_btree_path_peek_slot()2250 if (k.k && bkey_deleted(k.k)) { in __bch2_btree_iter_peek()
267 if (!bkey_deleted(k)) { in bch2_drop_whiteouts()
2116 if (bkey_deleted(k.k) && in __bch2_ec_stripe_head_reserve()
1096 if (bkey_deleted(k.k)) { in hash_check_key()