Lines Matching refs:sa_hdr_phys
1226 sa_hdr_phys_t *sa_hdr_phys = SA_GET_HDR(hdl, buftype);
1233 if (sa_hdr_phys->sa_magic == SA_MAGIC)
1243 sa_hdr_phys->sa_magic = BSWAP_32(sa_hdr_phys->sa_magic);
1244 sa_hdr_phys->sa_layout_info = BSWAP_16(sa_hdr_phys->sa_layout_info);
1251 if (SA_HDR_SIZE(sa_hdr_phys) > 8)
1252 num_lengths += (SA_HDR_SIZE(sa_hdr_phys) - 8) >> 1;
1254 sa_hdr_phys->sa_lengths[i] =
1255 BSWAP_16(sa_hdr_phys->sa_lengths[i]);
1257 sa_attr_iter(hdl->sa_os, sa_hdr_phys, DMU_OT_SA,
1267 sa_hdr_phys_t *sa_hdr_phys;
1273 sa_hdr_phys = SA_GET_HDR(hdl, buftype);
1280 if (IS_SA_BONUSTYPE(bonustype) && sa_hdr_phys->sa_magic != SA_MAGIC &&
1281 sa_hdr_phys->sa_magic != 0) {
1282 VERIFY(BSWAP_32(sa_hdr_phys->sa_magic) == SA_MAGIC);
1286 idx_tab = sa_find_idx_tab(hdl->sa_os, bonustype, sa_hdr_phys);