Lines Matching refs:bkey_i_to_s_c

112 	struct bkey_s_c old = bkey_i_to_s_c(m->k.k);  in trace_move_extent_fail2()
158 bch2_bkey_val_to_text(&buf, c, bkey_i_to_s_c(insert)); in trace_move_extent_fail2()
186 struct bkey_s_c old = bkey_i_to_s_c(m->k.k); in __bch2_data_update_index_update()
209 trace_move_extent_fail2(m, k, bkey_i_to_s_c(&new->k_i), in __bch2_data_update_index_update()
249 trace_move_extent_fail2(m, k, bkey_i_to_s_c(&new->k_i), insert, "no rewrites found:"); in __bch2_data_update_index_update()
259 if ((ptr_c = bch2_bkey_has_device_c(bkey_i_to_s_c(insert), ptr->dev)) && in __bch2_data_update_index_update()
266 trace_move_extent_fail2(m, k, bkey_i_to_s_c(&new->k_i), insert, "new replicas conflicted:"); in __bch2_data_update_index_update()
275 durability = bch2_bkey_durability(c, bkey_i_to_s_c(insert)) + in __bch2_data_update_index_update()
276 bch2_bkey_durability(c, bkey_i_to_s_c(&new->k_i)); in __bch2_data_update_index_update()
326 int invalid = bch2_bkey_validate(c, bkey_i_to_s_c(insert), __btree_node_type(0, m->btree_id), in __bch2_data_update_index_update()
337 bch2_bkey_val_to_text(&buf, c, bkey_i_to_s_c(insert)); in __bch2_data_update_index_update()
355 bch2_bkey_val_to_text(&buf, c, bkey_i_to_s_c(insert)); in __bch2_data_update_index_update()
377 trace_move_extent_finish2(c, bkey_i_to_s_c(&new->k_i)); in __bch2_data_update_index_update()
432 struct bkey_s_c k = bkey_i_to_s_c(update->k.k); in bch2_data_update_exit()
470 if (ret || !bch2_extents_match(k, bkey_i_to_s_c(update->k.k))) in bch2_update_unwritten_extent()
555 bch2_bkey_val_to_text(out, m->op.c, bkey_i_to_s_c(m->k.k)); in bch2_data_update_to_text()