Searched refs:sunlabel (Results 1 - 2 of 2) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/util-linux/
H A Dfdisk_sun.c85 sunlabel->infos[i].id = sysid;
86 sunlabel->partitions[i].start_cylinder =
88 sunlabel->partitions[i].num_sectors =
99 if (sunlabel->magic != SUN_LABEL_MAGIC
100 && sunlabel->magic != SUN_LABEL_MAGIC_SWAPPED) {
105 sun_other_endian = (sunlabel->magic == SUN_LABEL_MAGIC_SWAPPED);
106 ush = ((unsigned short *) (sunlabel + 1)) - 1;
107 for (csum = 0; ush >= (unsigned short *)sunlabel;) csum ^= *ush--;
114 heads = SUN_SSWAP16(sunlabel->ntrks);
115 cylinders = SUN_SSWAP16(sunlabel
[all...]
H A Dfdisk.c455 #define sunlabel ((sun_partition *)MBRbuffer) macro
813 return LABEL_IS_SUN ? sunlabel->infos[i].id :
1426 || (LABEL_IS_SUN && (!sunlabel->partitions[i].num_sectors || !sunlabel->infos[i].id))

Completed in 21 milliseconds