Lines Matching defs:bonustype
134 static void *sa_find_idx_tab(objset_t *os, dmu_object_type_t bonustype,
659 dmu_object_type_t bonustype;
666 bonustype = SA_BONUSTYPE_FROM_DB(hdl->sa_bonus);
679 ASSERT((bonustype == DMU_OT_ZNODE && spilling == 0) ||
680 bonustype == DMU_OT_SA);
735 VERIFY(bonustype == DMU_OT_SA);
775 VERIFY((bonustype == DMU_OT_ZNODE && lot->lot_num == 0) ||
776 (bonustype == DMU_OT_SA && lot->lot_num > 1));
778 if (bonustype == DMU_OT_SA) {
1272 dmu_object_type_t bonustype = SA_BONUSTYPE_FROM_DB(db);
1283 if (IS_SA_BONUSTYPE(bonustype) && sa_hdr_phys->sa_magic != SA_MAGIC &&
1289 idx_tab = sa_find_idx_tab(hdl->sa_os, bonustype, sa_hdr_phys);
1488 sa_find_idx_tab(objset_t *os, dmu_object_type_t bonustype, void *data)
1505 search.lot_num = SA_LAYOUT_NUM(hdr, bonustype);
1511 ASSERT(IS_SA_BONUSTYPE(bonustype) &&
1512 SA_HDR_SIZE_MATCH_LAYOUT(hdr, tb) || !IS_SA_BONUSTYPE(bonustype) ||
1513 (IS_SA_BONUSTYPE(bonustype) && hdr->sa_layout_info == 0));
1550 sa_attr_iter(os, hdr, bonustype, sa_build_idx_tab,
1794 dmu_object_type_t bonustype;
1796 bonustype = SA_BONUSTYPE_FROM_DB(SA_GET_DB(hdl, SA_BONUS));
1806 if (error == 0 && !IS_SA_BONUSTYPE(bonustype) && sa->sa_update_cb)