Lines Matching refs:sa_hdr_phys
1230 sa_hdr_phys_t *sa_hdr_phys = SA_GET_HDR(hdl, buftype);
1237 if (sa_hdr_phys->sa_magic == SA_MAGIC)
1247 sa_hdr_phys->sa_magic = BSWAP_32(sa_hdr_phys->sa_magic);
1248 sa_hdr_phys->sa_layout_info = BSWAP_16(sa_hdr_phys->sa_layout_info);
1255 if (SA_HDR_SIZE(sa_hdr_phys) > 8)
1256 num_lengths += (SA_HDR_SIZE(sa_hdr_phys) - 8) >> 1;
1258 sa_hdr_phys->sa_lengths[i] =
1259 BSWAP_16(sa_hdr_phys->sa_lengths[i]);
1261 sa_attr_iter(hdl->sa_os, sa_hdr_phys, DMU_OT_SA,
1271 sa_hdr_phys_t *sa_hdr_phys;
1277 sa_hdr_phys = SA_GET_HDR(hdl, buftype);
1284 if (IS_SA_BONUSTYPE(bonustype) && sa_hdr_phys->sa_magic != SA_MAGIC &&
1285 sa_hdr_phys->sa_magic != 0) {
1286 VERIFY(BSWAP_32(sa_hdr_phys->sa_magic) == SA_MAGIC);
1290 idx_tab = sa_find_idx_tab(hdl->sa_os, bonustype, sa_hdr_phys);