Lines Matching refs:insert
241 struct bkey_packed *insert, unsigned clobber_u64s) in bch2_verify_insert_pos() argument
250 bkey_iter_cmp(b, prev, insert) > 0); in bch2_verify_insert_pos()
253 bkey_iter_cmp(b, prev, insert) > 0) { in bch2_verify_insert_pos()
255 struct bkey k2 = bkey_unpack_key(b, insert); in bch2_verify_insert_pos()
269 bkey_iter_cmp(b, insert, next) > 0); in bch2_verify_insert_pos()
272 bkey_iter_cmp(b, insert, next) > 0) { in bch2_verify_insert_pos()
273 struct bkey k1 = bkey_unpack_key(b, insert); in bch2_verify_insert_pos()
981 struct bkey_i *insert, in bch2_bset_insert() argument
986 struct bkey_packed packed, *src = bkey_to_packed(insert); in bch2_bset_insert()
989 bch2_verify_insert_pos(b, where, bkey_to_packed(insert), clobber_u64s); in bch2_bset_insert()
991 if (bch2_bkey_pack_key(&packed, &insert->k, f)) in bch2_bset_insert()
994 if (!bkey_deleted(&insert->k)) in bch2_bset_insert()
1011 memcpy_u64s(bkeyp_val(f, where), &insert->v, in bch2_bset_insert()