Lines Matching refs:ASSERT3U

249 		ASSERT3U(dn->dn_indblkshift, >=, 0);  in dnode_verify()
250 ASSERT3U(dn->dn_indblkshift, <=, SPA_MAXBLOCKSHIFT); in dnode_verify()
252 ASSERT3U(dn->dn_datablkshift, >=, SPA_MINBLOCKSHIFT); in dnode_verify()
253 ASSERT3U(dn->dn_datablkshift, <=, SPA_MAXBLOCKSHIFT); in dnode_verify()
254 ASSERT3U(1<<dn->dn_datablkshift, ==, dn->dn_datablksz); in dnode_verify()
256 ASSERT3U(dn->dn_nlevels, <=, 30); in dnode_verify()
258 ASSERT3U(dn->dn_nblkptr, >=, 1); in dnode_verify()
259 ASSERT3U(dn->dn_nblkptr, <=, DN_MAX_NBLKPTR); in dnode_verify()
260 ASSERT3U(dn->dn_bonuslen, <=, DN_MAX_BONUSLEN); in dnode_verify()
261 ASSERT3U(dn->dn_datablksz, ==, in dnode_verify()
263 ASSERT3U(ISP2(dn->dn_datablksz), ==, dn->dn_datablkshift != 0); in dnode_verify()
264 ASSERT3U((dn->dn_nblkptr - 1) * sizeof (blkptr_t) + in dnode_verify()
267 ASSERT3U(dn->dn_next_nlevels[i], <=, dn->dn_nlevels); in dnode_verify()
271 ASSERT3U(dn->dn_phys->dn_nlevels, <=, dn->dn_nlevels); in dnode_verify()
341 ASSERT3U(sizeof (dnode_phys_t), ==, (1<<DNODE_SHIFT)); in dnode_buf_byteswap()
354 ASSERT3U(refcount_count(&dn->dn_holds), >=, 1); in dnode_setbonuslen()
358 ASSERT3U(newsize, <=, DN_MAX_BONUSLEN - in dnode_setbonuslen()
371 ASSERT3U(refcount_count(&dn->dn_holds), >=, 1); in dnode_setbonus_type()
382 ASSERT3U(refcount_count(&dn->dn_holds), >=, 1); in dnode_rm_spill()
393 ASSERT3U(size, <=, SPA_MAXBLOCKSIZE); in dnode_setdblksz()
394 ASSERT3U(size, >=, SPA_MINBLOCKSIZE); in dnode_setdblksz()
395 ASSERT3U(size >> SPA_MINBLOCKSHIFT, <, in dnode_setdblksz()
540 ASSERT3U(blocksize, <=, in dnode_allocate()
564 ASSERT3U(bonuslen, <=, DN_MAX_BONUSLEN); in dnode_allocate()
570 ASSERT3U(refcount_count(&dn->dn_holds), <=, 1); in dnode_allocate()
623 ASSERT3U(blocksize, >=, SPA_MINBLOCKSIZE); in dnode_reallocate()
624 ASSERT3U(blocksize, <=, in dnode_reallocate()
633 ASSERT3U(bonuslen, <=, DN_MAX_BONUSLEN); in dnode_reallocate()
677 ASSERT3U(dn->dn_nblkptr, <=, DN_MAX_NBLKPTR); in dnode_reallocate()
953 ASSERT3U(dbufs, <=, refcount); in dnode_move()
1127 ASSERT3U(db->db.db_size, >=, 1<<DNODE_SHIFT); in dnode_hold_impl()
1189 ASSERT3U(dn->dn_object, ==, object); in dnode_hold_impl()
1378 ASSERT3U(size, <=, spa_maxblocksize(dmu_objset_spa(dn->dn_objset))); in dnode_set_blksz()
1486 ASSERT3U(new_nlevels, >, dn->dn_next_nlevels[txgoff]); in dnode_new_blkid()
1575 ASSERT3U(head, >, 0); in dnode_free_range()
1581 ASSERT3U(blkoff + head, ==, blksz); in dnode_free_range()
1797 ASSERT3U(space + delta, >=, space); /* no overflow */ in dnode_diduse_space()
1799 ASSERT3U(space, >=, -delta); /* no underflow */ in dnode_diduse_space()
1945 ASSERT3U(*offset, <=, start); in dnode_next_offset_level()