Searched refs:dn_phys (Results 1 – 8 of 8) sorted by relevance
/titanic_50/usr/src/uts/common/fs/zfs/ |
H A D | dnode_sync.c | 44 int nblkptr = dn->dn_phys->dn_nblkptr; in dnode_increase_indirection() 45 int old_toplvl = dn->dn_phys->dn_nlevels - 1; in dnode_increase_indirection() 52 ASSERT(dn->dn_phys->dn_type != DMU_OT_NONE); in dnode_increase_indirection() 54 ASSERT(new_level > 1 && dn->dn_phys->dn_nlevels > 0); in dnode_increase_indirection() 56 db = dbuf_hold_level(dn, dn->dn_phys->dn_nlevels, 0, FTAG); in dnode_increase_indirection() 59 dn->dn_phys->dn_nlevels = new_level; in dnode_increase_indirection() 61 dn->dn_object, dn->dn_phys->dn_nlevels); in dnode_increase_indirection() 65 if (!BP_IS_HOLE(&dn->dn_phys->dn_blkptr[i])) in dnode_increase_indirection() 73 bcopy(dn->dn_phys->dn_blkptr, db->db.db_data, in dnode_increase_indirection() 93 &dn->dn_phys->dn_blkptr[child->db_blkid]); in dnode_increase_indirection() [all …]
|
H A D | dnode.c | 235 ASSERT(dn->dn_phys); in dnode_verify() 239 ASSERT(DMU_OT_IS_VALID(dn->dn_phys->dn_type)); in dnode_verify() 248 if (dn->dn_phys->dn_type != DMU_OT_NONE || dn->dn_allocated_txg != 0) { in dnode_verify() 271 if (dn->dn_phys->dn_type != DMU_OT_NONE) in dnode_verify() 272 ASSERT3U(dn->dn_phys->dn_nlevels, <=, dn->dn_nlevels); in dnode_verify() 275 ASSERT3P(dn->dn_phys, ==, in dnode_verify() 397 1<<(sizeof (dn->dn_phys->dn_datablkszsec) * 8)); in dnode_setdblksz() 420 dn->dn_phys = dnp; in dnode_create() 443 ASSERT(DMU_OT_IS_VALID(dn->dn_phys->dn_type)); in dnode_create() 557 ASSERT(bcmp(dn->dn_phys, &dnode_phys_zero, sizeof (dnode_phys_t)) == 0); in dnode_allocate() [all …]
|
H A D | dbuf.c | 477 &dn->dn_phys->dn_blkptr[db->db_blkid]); in dbuf_verify() 653 int bonuslen = MIN(dn->dn_bonuslen, dn->dn_phys->dn_bonuslen); in dbuf_read_impl() 661 bcopy(DN_BONUS(dn->dn_phys), db->db.db_data, bonuslen); in dbuf_read_impl() 1245 ASSERT((dn->dn_phys->dn_nlevels == 0 && db->db_level == 0) || in dbuf_dirty() 1246 dn->dn_phys->dn_nlevels > db->db_level || in dbuf_dirty() 1818 (dn->dn_phys->dn_flags & DNODE_FLAG_SPILL_BLKPTR)) in dbuf_findbp() 1819 *bpp = &dn->dn_phys->dn_spill; in dbuf_findbp() 1828 if (dn->dn_phys->dn_nlevels == 0) in dbuf_findbp() 1831 nlevels = dn->dn_phys->dn_nlevels; in dbuf_findbp() 1838 (blkid > (dn->dn_phys->dn_maxblkid >> (level * epbs)))) { in dbuf_findbp() [all …]
|
H A D | dmu_objset.c | 1224 ASSERT(dn->dn_phys->dn_type == DMU_OT_NONE || in dmu_objset_do_userquota_updates() 1225 dn->dn_phys->dn_flags & in dmu_objset_do_userquota_updates() 1253 do_userquota_update(os, DN_USED_BYTES(dn->dn_phys), in dmu_objset_do_userquota_updates() 1254 dn->dn_phys->dn_flags, dn->dn_newuid, in dmu_objset_do_userquota_updates() 1338 data = DN_BONUS(dn->dn_phys); in dmu_objset_userquota_get_ids() 1345 data = DN_BONUS(dn->dn_phys); in dmu_objset_userquota_get_ids()
|
H A D | dmu_tx.c | 474 blkptr_t *bp = dn->dn_phys->dn_blkptr; in dmu_tx_count_free() 762 bp = &dn->dn_phys->dn_blkptr[0]; in dmu_tx_hold_zap() 1558 if (!(dn->dn_phys->dn_flags & DNODE_FLAG_SPILL_BLKPTR)) { in dmu_tx_hold_spill() 1563 bp = &dn->dn_phys->dn_spill; in dmu_tx_hold_spill()
|
H A D | dmu.c | 1907 dnp = dn->dn_phys; in dmu_object_info_from_dnode() 1978 *nblk512 = ((DN_USED_BYTES(dn->dn_phys) + SPA_MINBLOCKSIZE/2) >> in dmu_object_size_from_db()
|
/titanic_50/usr/src/uts/common/fs/zfs/sys/ |
H A D | dnode.h | 162 dnode_phys_t *dn_phys; /* pointer into dn->dn_dbuf->db.db_data */ member
|
/titanic_50/usr/src/cmd/zdb/ |
H A D | zdb.c | 1287 dnode_phys_t *dnp = dn->dn_phys; in dump_indirect() 1899 (dn->dn_phys->dn_flags & DNODE_FLAG_USED_BYTES) ? in dump_object() 1901 (dn->dn_phys->dn_flags & DNODE_FLAG_USERUSED_ACCOUNTED) ? in dump_object() 1903 (dn->dn_phys->dn_flags & DNODE_FLAG_SPILL_BLKPTR) ? in dump_object() 1906 (longlong_t)dn->dn_phys->dn_maxblkid); in dump_object()
|