Searched refs:lens (Results 1 – 1 of 1) sorted by relevance
366 fetch_sun(unsigned *starts, unsigned *lens, unsigned *start, unsigned *stop) in fetch_sun() argument377 lens[i] = SUN_SSWAP32(sunlabel->partitions[i].num_sectors); in fetch_sun()380 *start += lens[i]; in fetch_sun()381 else if (starts[i] + lens[i] >= *stop) in fetch_sun()390 lens[i] = 0; in fetch_sun()409 unsigned starts[8], lens[8], start, stop; in verify_sun() local414 fetch_sun(starts, lens, &start, &stop); in verify_sun()417 if (k && (lens[i] % (g_heads * g_sectors))) { in verify_sun()420 if (lens[i]) { in verify_sun()422 if (lens[j]) { in verify_sun()[all …]