Searched refs:typ2 (Results 1 – 2 of 2) sorted by relevance
976 struct pmap_typ2 *typ2; in ud_validate_and_fill_superblock() local1296 typ2 = (struct pmap_typ2 *)hdr; in ud_validate_and_fill_superblock()1298 if (strncmp(typ2->map2_pti.reg_id, in ud_validate_and_fill_superblock()1319 map->udm_vsn = SWAP_16(typ2->map2_vsn); in ud_validate_and_fill_superblock()1320 map->udm_pn = SWAP_16(typ2->map2_pn); in ud_validate_and_fill_superblock()1329 } else if (strncmp(typ2->map2_pti.reg_id, in ud_validate_and_fill_superblock()1332 if (SWAP_16(typ2->map2_pl) != 32) { in ud_validate_and_fill_superblock()1335 SWAP_16(typ2->map2_pl)); in ud_validate_and_fill_superblock()1338 if ((typ2->map2_nst < 1) || in ud_validate_and_fill_superblock()1339 (typ2->map2_nst > 4)) { in ud_validate_and_fill_superblock()[all …]
651 struct pmap_typ2 *typ2; in ud_read_and_translate_lvd() local696 typ2 = (struct pmap_typ2 *)ph; in ud_read_and_translate_lvd()698 if (strncmp(typ2->map2_pti.reg_id, in ud_read_and_translate_lvd()702 m->udm_vsn = SWAP_16(typ2->map2_vsn); in ud_read_and_translate_lvd()703 m->udm_pn = SWAP_16(typ2->map2_pn); in ud_read_and_translate_lvd()704 } else if (strncmp(typ2->map2_pti.reg_id, in ud_read_and_translate_lvd()707 if ((SWAP_16(typ2->map2_pl) != 32) || in ud_read_and_translate_lvd()708 (typ2->map2_nst < 1) || in ud_read_and_translate_lvd()709 (typ2->map2_nst > 4)) { in ud_read_and_translate_lvd()713 m->udm_vsn = SWAP_16(typ2->map2_vsn); in ud_read_and_translate_lvd()[all …]