Searched refs:sgilabel (Results 1 – 1 of 1) sorted by relevance
106 #define sgilabel ((sgi_partition *)MBRbuffer) macro107 #define sgiparam (sgilabel->devparam)203 return SGI_SSWAP16(sgilabel->devparam.nsect); in sgi_get_nsect()209 return SGI_SSWAP16(sgilabel->devparam.ntrks); in sgi_get_ntrks()235 if (sgilabel->magic != SGI_LABEL_MAGIC in check_sgi_label()236 && sgilabel->magic != SGI_LABEL_MAGIC_SWAPPED in check_sgi_label()242 sgi_other_endian = (sgilabel->magic == SGI_LABEL_MAGIC_SWAPPED); in check_sgi_label()246 if (two_s_complement_32bit_sum((unsigned int*)sgilabel, in check_sgi_label()247 sizeof(*sgilabel))) { in check_sgi_label()260 return SGI_SSWAP32(sgilabel->partitions[i].start_sector); in sgi_get_start_sector()[all …]