Home
last modified time | relevance | path

Searched refs:dn_bonus (Results 1 – 6 of 6) sorted by relevance

/f-stack/freebsd/contrib/openzfs/include/sys/
H A Ddnode.h122 #define DN_BONUS(dnp) ((void*)((dnp)->dn_bonus + \
260 uint8_t dn_bonus[DN_OLD_MAX_BONUSLEN]; member
358 struct dmu_buf_impl *dn_bonus; /* bonus buffer dbuf */ member
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Ddnode_sync.c515 if (dn->dn_bonus != NULL) { in dnode_evict_bonus()
516 if (zfs_refcount_is_zero(&dn->dn_bonus->db_holds)) { in dnode_evict_bonus()
517 mutex_enter(&dn->dn_bonus->db_mtx); in dnode_evict_bonus()
518 dbuf_destroy(dn->dn_bonus); in dnode_evict_bonus()
519 dn->dn_bonus = NULL; in dnode_evict_bonus()
521 dn->dn_bonus->db_pending_evict = TRUE; in dnode_evict_bonus()
H A Ddnode.c155 dn->dn_bonus = NULL; in dnode_cons()
212 ASSERT3P(dn->dn_bonus, ==, NULL); in dnode_dest()
547 if (dn->dn_bonus != NULL) { in dnode_destroy()
548 mutex_enter(&dn->dn_bonus->db_mtx); in dnode_destroy()
549 dbuf_destroy(dn->dn_bonus); in dnode_destroy()
550 dn->dn_bonus = NULL; in dnode_destroy()
737 if (dn->dn_bonus) { in dnode_reallocate()
738 dn->dn_bonus->db.db_size = in dnode_reallocate()
741 ASSERT(dn->dn_bonuslen <= dn->dn_bonus->db.db_size); in dnode_reallocate()
813 ndn->dn_bonus = odn->dn_bonus; in dnode_move_impl()
[all …]
H A Ddmu.c270 if (dn->dn_bonus != db) { in dmu_set_bonus()
295 } else if (dn->dn_bonus != db) { in dmu_set_bonustype()
354 if (dn->dn_bonus == NULL) { in dmu_bonus_hold_by_dnode()
357 if (dn->dn_bonus == NULL) in dmu_bonus_hold_by_dnode()
360 db = dn->dn_bonus; in dmu_bonus_hold_by_dnode()
H A Ddbuf.c356 if (dn->dn_bonus != NULL) { in dbuf_find_bonus()
357 db = dn->dn_bonus; in dbuf_find_bonus()
3519 ASSERT(dn->dn_bonus == NULL); in dbuf_create_bonus()
3520 dn->dn_bonus = dbuf_create(dn, 0, DMU_BONUS_BLKID, dn->dn_dbuf, NULL); in dbuf_create_bonus()
H A Ddmu_objset.c2179 if (dn->dn_bonus) { in dmu_objset_userquota_get_ids()
2180 db = dn->dn_bonus; in dmu_objset_userquota_get_ids()