Lines Matching refs:part
16 extern void note_bootable_part(dev_t dev, int part, int goodness);
41 struct mac_partition *part; in mac_partition() local
59 if (partoffset + sizeof(*part) > datasize) in mac_partition()
61 part = (struct mac_partition *) (data + partoffset); in mac_partition()
62 if (be16_to_cpu(part->signature) != MAC_PARTITION_MAGIC) { in mac_partition()
66 blocks_in_map = be32_to_cpu(part->map_count); in mac_partition()
82 part = (struct mac_partition *) (data + pos%512); in mac_partition()
83 if (be16_to_cpu(part->signature) != MAC_PARTITION_MAGIC) in mac_partition()
86 be32_to_cpu(part->start_block) * (secsize/512), in mac_partition()
87 be32_to_cpu(part->block_count) * (secsize/512)); in mac_partition()
89 if (!strncasecmp(part->type, "Linux_RAID", 10)) in mac_partition()
99 mac_fix_string(part->processor, 16); in mac_partition()
100 mac_fix_string(part->name, 32); in mac_partition()
101 mac_fix_string(part->type, 32); in mac_partition()
103 if ((be32_to_cpu(part->status) & MAC_STATUS_BOOTABLE) in mac_partition()
104 && strcasecmp(part->processor, "powerpc") == 0) in mac_partition()
107 if (strcasecmp(part->type, "Apple_UNIX_SVR2") == 0 in mac_partition()
108 || (strncasecmp(part->type, "Linux", 5) == 0 in mac_partition()
109 && strcasecmp(part->type, "Linux_swap") != 0)) { in mac_partition()
113 l = strlen(part->name); in mac_partition()
114 if (strcmp(part->name, "/") == 0) in mac_partition()
117 if (strncasecmp(part->name + i, "root", in mac_partition()
123 if (strncasecmp(part->name, "swap", 4) == 0) in mac_partition()