Searched refs:a_mut (Results 1 – 2 of 2) sorted by relevance
1215 struct bkey_i_alloc_v4 *a_mut; in bch2_alloc_write_oldest_gen() local1221 a_mut = bch2_alloc_to_v4_mut(trans, k); in bch2_alloc_write_oldest_gen()1222 ret = PTR_ERR_OR_ZERO(a_mut); in bch2_alloc_write_oldest_gen()1226 a_mut->v.oldest_gen = ca->oldest_gen[iter->pos.offset]; in bch2_alloc_write_oldest_gen()1227 alloc_data_type_set(&a_mut->v, a_mut->v.data_type); in bch2_alloc_write_oldest_gen()1229 return bch2_trans_update(trans, iter, &a_mut->k_i, 0); in bch2_alloc_write_oldest_gen()
1670 struct bkey_i_alloc_v4 *a_mut = in bch2_check_alloc_to_lru_ref() local1672 ret = PTR_ERR_OR_ZERO(a_mut); in bch2_check_alloc_to_lru_ref()1676 a_mut->v.io_time[READ] = bch2_current_io_time(c, READ); in bch2_check_alloc_to_lru_ref()1678 &a_mut->k_i, BTREE_TRIGGER_norun); in bch2_check_alloc_to_lru_ref()1682 a = &a_mut->v; in bch2_check_alloc_to_lru_ref()