Home
last modified time | relevance | path

Searched refs:bkey_deleted (Results 1 – 17 of 17) sorted by relevance

/linux-6.12.1/fs/bcachefs/
Dbkey_sort.c107 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()
Dbset.h373 ?: (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()
Dbtree_trans_commit.c162 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()
Dbtree_update.c339 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()
Dmigrate.c74 if (bkey_deleted(&n->k)) in bch2_dev_usrdata_drop_key()
Dbkey_types.h42 #define bkey_deleted(_k) ((_k)->type == KEY_TYPE_deleted) macro
Dbset.c97 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()
Dbtree_journal_iter.c290 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()
Dbtree_update_interior.c92 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()
Dtests.c269 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()
Ddirent.c430 if (!delete_src || !bkey_deleted(&new_src->k)) { in bch2_dirent_rename()
Dextents.c1046 return bkey_deleted(k.k); in bch2_extent_normalize()
1077 return bkey_deleted(k.k); in bch2_extent_normalize_by_opts()
Ddata_update.c595 if (bkey_deleted(&n->k) && !(iter->flags & BTREE_ITER_is_extents)) in bch2_extent_drop_ptrs()
Dbtree_iter.c1823 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()
Dbtree_io.c267 if (!bkey_deleted(k)) { in bch2_drop_whiteouts()
Dec.c2116 if (bkey_deleted(k.k) && in __bch2_ec_stripe_head_reserve()
Dfsck.c1096 if (bkey_deleted(k.k)) { in hash_check_key()