Home
last modified time | relevance | path

Searched refs:dn_num_slots (Results 1 – 5 of 5) sorted by relevance

/freebsd-14.2/sys/contrib/openzfs/module/zfs/
H A Ddnode_sync.c607 memset(dn->dn_phys, 0, sizeof (dnode_phys_t) * dn->dn_num_slots); in dnode_sync_free()
616 dn->dn_num_slots = 1; in dnode_sync_free()
692 dnp->dn_extra_slots = dn->dn_num_slots - 1; in dnode_sync()
806 if (dn->dn_num_slots > DNODE_MIN_SLOTS) { in dnode_sync()
H A Ddnode.c406 int max_bonuslen = DN_SLOTS_TO_BONUSLEN(dn->dn_num_slots); in dnode_verify()
509 ASSERT3U(newsize, <=, DN_SLOTS_TO_BONUSLEN(dn->dn_num_slots) - in dnode_setbonuslen()
594 dn->dn_num_slots = dnp->dn_extra_slots + 1; in dnode_create()
752 dn->dn_num_slots = dn_slots; in dnode_allocate()
848 dn->dn_num_slots = dn_slots; in dnode_reallocate()
857 DN_SLOTS_TO_BONUSLEN(dn->dn_num_slots) - in dnode_reallocate()
892 ndn->dn_num_slots = odn->dn_num_slots; in dnode_move_impl()
1263 int slots = dn->dn_num_slots - 1; in dnode_free_interior_slots()
H A Ddmu.c2415 doi->doi_dnodesize = dn->dn_num_slots << DNODE_SHIFT; in __dmu_object_info_from_dnode()
2488 SPA_MINBLOCKSHIFT) + dn->dn_num_slots; in dmu_object_size_from_db()
2500 *dnsize = dn->dn_num_slots << DNODE_SHIFT; in dmu_object_dnsize_from_db()
H A Ddbuf.c1410 max_bonuslen = DN_SLOTS_TO_BONUSLEN(dn->dn_num_slots); in dbuf_read_bonus()
1703 int bonuslen = DN_SLOTS_TO_BONUSLEN(dn->dn_num_slots); in dbuf_fix_old_data()
2490 int max_bonuslen = DN_SLOTS_TO_BONUSLEN(dn->dn_num_slots); in dbuf_undirty_bonus()
3015 int slots = DB_DNODE(db)->dn_num_slots; in dbuf_destroy()
3246 db->db.db_size = DN_SLOTS_TO_BONUSLEN(dn->dn_num_slots) - in dbuf_create()
4308 uint16_t maxbonuslen = DN_SLOTS_TO_BONUSLEN(dn->dn_num_slots); in dbuf_sync_leaf_verify_bonus_dnode()
/freebsd-14.2/sys/contrib/openzfs/include/sys/
H A Ddnode.h319 uint8_t dn_num_slots; /* metadnode slots consumed on disk */ member