Lines Matching full:part

16 extern void note_bootable_part(dev_t dev, int part, int goodness);
43 struct mac_partition *part; in mac_partition() local
61 if (partoffset + sizeof(*part) > datasize) in mac_partition()
63 part = (struct mac_partition *) (data + partoffset); in mac_partition()
64 if (be16_to_cpu(part->signature) != MAC_PARTITION_MAGIC) { in mac_partition()
68 blocks_in_map = be32_to_cpu(part->map_count); in mac_partition()
84 part = (struct mac_partition *) (data + pos%512); in mac_partition()
85 if (be16_to_cpu(part->signature) != MAC_PARTITION_MAGIC) in mac_partition()
88 be32_to_cpu(part->start_block) * (secsize/512), in mac_partition()
89 be32_to_cpu(part->block_count) * (secsize/512)); in mac_partition()
91 if (!strncasecmp(part->type, "Linux_RAID", 10)) in mac_partition()
101 mac_fix_string(part->processor, 16); in mac_partition()
102 mac_fix_string(part->name, 32); in mac_partition()
103 mac_fix_string(part->type, 32); in mac_partition()
105 if ((be32_to_cpu(part->status) & MAC_STATUS_BOOTABLE) in mac_partition()
106 && strcasecmp(part->processor, "powerpc") == 0) in mac_partition()
109 if (strcasecmp(part->type, "Apple_UNIX_SVR2") == 0 in mac_partition()
110 || (strncasecmp(part->type, "Linux", 5) == 0 in mac_partition()
111 && strcasecmp(part->type, "Linux_swap") != 0)) { in mac_partition()
115 l = strlen(part->name); in mac_partition()
116 if (strcmp(part->name, "/") == 0) in mac_partition()
119 if (strncasecmp(part->name + i, "root", in mac_partition()
125 if (strncasecmp(part->name, "swap", 4) == 0) in mac_partition()