Lines Matching defs:dr
1477 dbuf_dirty_record_t *dr = dsa->dsa_dr;
1478 dmu_buf_impl_t *db = dr->dr_dbuf;
1481 ASSERT(dr->dt.dl.dr_override_state == DR_IN_DMU_SYNC);
1483 dr->dt.dl.dr_nopwrite = !!(zio->io_flags & ZIO_FLAG_NOPWRITE);
1484 if (dr->dt.dl.dr_nopwrite) {
1494 dr->dt.dl.dr_overridden_by = *zio->io_bp;
1495 dr->dt.dl.dr_override_state = DR_OVERRIDDEN;
1496 dr->dt.dl.dr_copies = zio->io_prop.zp_copies;
1508 if (BP_IS_HOLE(&dr->dt.dl.dr_overridden_by) &&
1509 dr->dt.dl.dr_overridden_by.blk_birth == 0)
1510 BP_ZERO(&dr->dt.dl.dr_overridden_by);
1512 dr->dt.dl.dr_override_state = DR_NOT_OVERRIDDEN;
1614 dbuf_dirty_record_t *dr;
1663 dr = db->db_last_dirty;
1664 while (dr && dr->dr_txg != txg)
1665 dr = dr->dr_next;
1667 if (dr == NULL) {
1669 * There's no dr for this dbuf, so it must have been freed.
1676 ASSERT(dr->dr_next == NULL || dr->dr_next->dr_txg < txg);
1702 if (dr->dr_next != NULL || dnode_block_freed(dn, db->db_blkid))
1706 ASSERT(dr->dr_txg == txg);
1707 if (dr->dt.dl.dr_override_state == DR_IN_DMU_SYNC ||
1708 dr->dt.dl.dr_override_state == DR_OVERRIDDEN) {
1718 ASSERT(dr->dt.dl.dr_override_state == DR_NOT_OVERRIDDEN);
1719 dr->dt.dl.dr_override_state = DR_IN_DMU_SYNC;
1723 dsa->dsa_dr = dr;
1729 bp, dr->dt.dl.dr_data, DBUF_IS_L2CACHEABLE(db),