Searched refs:vtoc (Results 1 – 3 of 3) sorted by relevance
35 } vtoc; in sun_partition() member87 use_vtoc = ((be32_to_cpu(label->vtoc.sanity) == SUN_VTOC_SANITY) && in sun_partition()88 (be32_to_cpu(label->vtoc.version) == 1) && in sun_partition()89 (be16_to_cpu(label->vtoc.nparts) <= 8)); in sun_partition()92 nparts = (use_vtoc) ? be16_to_cpu(label->vtoc.nparts) : 8; in sun_partition()98 use_vtoc = use_vtoc || !(label->vtoc.sanity || in sun_partition()99 label->vtoc.version || label->vtoc.nparts); in sun_partition()111 if (be16_to_cpu(label->vtoc.infos[i].id) == LINUX_RAID_PARTITION) in sun_partition()113 else if (be16_to_cpu(label->vtoc.infos[i].id) == SUN_WHOLE_DISK) in sun_partition()
338 le32_to_cpu(l->vtoc.v_magic) != UNIXWARE_DISKMAGIC2) { in parse_unixware()343 p = &l->vtoc.v_slice[1]; in parse_unixware()345 while (p - &l->vtoc.v_slice[0] < UNIXWARE_NUMSLICE) { in parse_unixware()
155 blk = cchhb2blk(&label->vol.vtoc, geo) + 1; in ibm_partition()