Lines Matching refs:dr_data

1166 		ASSERT(dr == NULL || dr->dt.dl.dr_data == db->db_buf);  in dbuf_verify()
1541 if (dr == NULL || dr->dt.dl.dr_data != dnbuf) in dbuf_read_verify_dnode_crypt()
1683 (dr->dt.dl.dr_data != in dbuf_fix_old_data()
1698 dr->dt.dl.dr_data = kmem_alloc(bonuslen, KM_SLEEP); in dbuf_fix_old_data()
1700 memcpy(dr->dt.dl.dr_data, db->db.db_data, bonuslen); in dbuf_fix_old_data()
1718 dr->dt.dl.dr_data = arc_alloc_raw_buf(spa, db, in dbuf_fix_old_data()
1724 dr->dt.dl.dr_data = arc_alloc_compressed_buf(spa, db, in dbuf_fix_old_data()
1728 dr->dt.dl.dr_data = arc_alloc_buf(spa, db, type, size); in dbuf_fix_old_data()
1730 memcpy(dr->dt.dl.dr_data->b_data, db->db.db_data, size); in dbuf_fix_old_data()
1939 ASSERT0P(dr->dt.dl.dr_data); in dbuf_unoverride()
1940 dr->dt.dl.dr_data = db->db_buf; in dbuf_unoverride()
1959 if (dr->dt.dl.dr_data) in dbuf_unoverride()
1960 arc_release(dr->dt.dl.dr_data, db); in dbuf_unoverride()
2111 dr->dt.dl.dr_data = buf; in dbuf_new_size()
2371 dr->dt.dl.dr_data = data_old; in dbuf_dirty()
2514 if (dr->dt.dl.dr_data != db->db.db_data) { in dbuf_undirty_bonus()
2518 kmem_free(dr->dt.dl.dr_data, max_bonuslen); in dbuf_undirty_bonus()
2614 if (dr->dt.dl.dr_data != db->db_buf) { in dbuf_undirty()
2616 ASSERT(dr->dt.dl.dr_data != NULL); in dbuf_undirty()
2617 arc_buf_destroy(dr->dt.dl.dr_data, db); in dbuf_undirty()
2843 if (dr == NULL || dr->dt.dl.dr_data != db->db_buf) in dmu_buf_will_clone_or_dio()
3144 ASSERT(dr->dt.dl.dr_data == db->db_buf); in dbuf_assign_arcbuf()
3151 dr->dt.dl.dr_data = buf; in dbuf_assign_arcbuf()
3153 } else if (dr == NULL || dr->dt.dl.dr_data != db->db_buf) { in dbuf_assign_arcbuf()
3854 arc_buf_t *data = dr->dt.dl.dr_data; in dbuf_hold_copy()
3957 if (dr->dt.dl.dr_data == db->db_buf) { in dbuf_hold_impl()
4403 void *data = dr->dt.dl.dr_data; in dbuf_sync_bonus()
4455 (void) arc_release(dr->dt.dl.dr_data, db); in dbuf_prepare_encrypted_dnode_leaf()
4456 arc_convert_to_raw(dr->dt.dl.dr_data, in dbuf_prepare_encrypted_dnode_leaf()
4541 arc_buf_t *datap = dr->dt.dl.dr_data; in dbuf_sync_leaf_verify_bonus_dnode()
4681 arc_buf_t **datap = &dr->dt.dl.dr_data; in dbuf_sync_leaf()
4701 ASSERT(db->db.db_data != dr->dt.dl.dr_data); in dbuf_sync_leaf()
4717 ASSERT3P(dr_head->dt.dl.dr_data, ==, NULL); in dbuf_sync_leaf()
5079 if (dr->dt.dl.dr_data != NULL && in dbuf_write_done()
5080 dr->dt.dl.dr_data != db->db_buf) { in dbuf_write_done()
5083 arc_buf_destroy(dr->dt.dl.dr_data, db); in dbuf_write_done()
5144 arc_release(dr->dt.dl.dr_data, db); in dbuf_write_override_done()