Home
last modified time | relevance | path

Searched refs:DN_MAX_BONUSLEN (Results 1 – 12 of 12) sorted by relevance

/titanic_50/usr/src/grub/grub-0.97/stage2/zfs-include/
H A Ddnode.h46 #define DN_MAX_BONUSLEN (DNODE_SIZE - DNODE_CORE_SIZE - (1 << SPA_BLKPTRSHIFT)) macro
78 uint8_t dn_bonus[DN_MAX_BONUSLEN - sizeof (blkptr_t)];
/titanic_50/usr/src/uts/common/fs/zfs/sys/
H A Ddnode.h84 #define DN_MAX_BONUSLEN (DNODE_SIZE - DNODE_CORE_SIZE - (1 << SPA_BLKPTRSHIFT)) macro
86 #define DN_ZERO_BONUSLEN (DN_MAX_BONUSLEN + 1)
143 uint8_t dn_bonus[DN_MAX_BONUSLEN - sizeof (blkptr_t)];
H A Dsa_impl.h240 #define SA_BLKPTR_SPACE (DN_MAX_BONUSLEN - sizeof (blkptr_t))
/titanic_50/usr/src/uts/common/fs/zfs/
H A Ddnode.c261 ASSERT3U(dn->dn_bonuslen, <=, DN_MAX_BONUSLEN); in dnode_verify()
266 dn->dn_bonuslen, <=, DN_MAX_BONUSLEN); in dnode_verify()
323 size_t len = DN_MAX_BONUSLEN - off; in dnode_byteswap()
359 ASSERT3U(newsize, <=, DN_MAX_BONUSLEN - in dnode_setbonuslen()
565 ASSERT3U(bonuslen, <=, DN_MAX_BONUSLEN); in dnode_allocate()
595 ((DN_MAX_BONUSLEN - bonuslen) >> SPA_BLKPTRSHIFT); in dnode_allocate()
634 ASSERT3U(bonuslen, <=, DN_MAX_BONUSLEN); in dnode_reallocate()
657 nblkptr = 1 + ((DN_MAX_BONUSLEN - bonuslen) >> SPA_BLKPTRSHIFT); in dnode_reallocate()
683 DN_MAX_BONUSLEN - (dn->dn_nblkptr-1) * sizeof (blkptr_t); in dnode_reallocate()
H A Ddbuf.c656 db->db.db_data = zio_buf_alloc(DN_MAX_BONUSLEN); in dbuf_read_impl()
657 arc_space_consume(DN_MAX_BONUSLEN, ARC_SPACE_OTHER); in dbuf_read_impl()
658 if (bonuslen < DN_MAX_BONUSLEN) in dbuf_read_impl()
659 bzero(db->db.db_data, DN_MAX_BONUSLEN); in dbuf_read_impl()
860 dr->dt.dl.dr_data = zio_buf_alloc(DN_MAX_BONUSLEN); in dbuf_fix_old_data()
861 arc_space_consume(DN_MAX_BONUSLEN, ARC_SPACE_OTHER); in dbuf_fix_old_data()
862 bcopy(db->db.db_data, dr->dt.dl.dr_data, DN_MAX_BONUSLEN); in dbuf_fix_old_data()
1749 zio_buf_free(db->db.db_data, DN_MAX_BONUSLEN); in dbuf_clear()
1750 arc_space_return(DN_MAX_BONUSLEN, ARC_SPACE_OTHER); in dbuf_clear()
1900 db->db.db_size = DN_MAX_BONUSLEN - in dbuf_create()
[all …]
H A Ddnode_sync.c621 ASSERT(dnp->dn_bonuslen <= DN_MAX_BONUSLEN); in dnode_sync()
H A Dsa.c570 full_space = (buftype == SA_BONUS) ? DN_MAX_BONUSLEN : db->db_size; in sa_find_sizes()
676 MIN(DN_MAX_BONUSLEN - sizeof (blkptr_t), used + hdrsize) : in sa_build_layouts()
H A Ddmu_tx.c1595 if (attrsize <= DN_MAX_BONUSLEN && !sa->sa_force_spill) in dmu_tx_hold_sa_create()
H A Ddmu_send.c1885 ((DN_MAX_BONUSLEN - bonus_size) >> SPA_BLKPTRSHIFT)); in deduce_nblkptr()
1943 drro->drr_bonuslen > DN_MAX_BONUSLEN) { in receive_object()
H A Ddmu.c182 return (DN_MAX_BONUSLEN); in dmu_bonus_max()
H A Dzfs_znode.c799 DN_MAX_BONUSLEN : ZFS_OLD_ZNODE_PHYS_SIZE; in zfs_mknode()
H A Dzfs_acl.c1268 DN_MAX_BONUSLEN : 0, tx); in zfs_aclset_common()