Home
last modified time | relevance | path

Searched refs:max_bonuslen (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddnode.c284 int max_bonuslen = DN_SLOTS_TO_BONUSLEN(dn->dn_num_slots); in dnode_verify() local
296 ASSERT3U(dn->dn_bonuslen, <=, max_bonuslen); in dnode_verify()
301 dn->dn_bonuslen, <=, max_bonuslen); in dnode_verify()
H A Ddbuf.c1113 int max_bonuslen = DN_SLOTS_TO_BONUSLEN(dn->dn_num_slots); in dbuf_read_impl() local
1124 db->db.db_data = zio_buf_alloc(max_bonuslen); in dbuf_read_impl()
1125 arc_space_consume(max_bonuslen, ARC_SPACE_BONUS); in dbuf_read_impl()
1126 if (bonuslen < max_bonuslen) in dbuf_read_impl()
1127 bzero(db->db.db_data, max_bonuslen); in dbuf_read_impl()