Lines Matching defs:vtoc
32 __be32 sanity; /* To verify vtoc sanity */
35 } vtoc;
87 use_vtoc = ((be32_to_cpu(label->vtoc.sanity) == SUN_VTOC_SANITY) &&
88 (be32_to_cpu(label->vtoc.version) == 1) &&
89 (be16_to_cpu(label->vtoc.nparts) <= 8));
92 nparts = (use_vtoc) ? be16_to_cpu(label->vtoc.nparts) : 8;
98 use_vtoc = use_vtoc || !(label->vtoc.sanity ||
99 label->vtoc.version || label->vtoc.nparts);
111 if (be16_to_cpu(label->vtoc.infos[i].id) == LINUX_RAID_PARTITION)
113 else if (be16_to_cpu(label->vtoc.infos[i].id) == SUN_WHOLE_DISK)