Lines Matching defs:cp
85 * Look at the string 'cp' and decode the boot device.
91 makebootdev(char *cp)
100 if (*cp >= '0' && *cp <= '9') {
101 booted_bus = *cp++ - '0';
102 if (*cp == '/')
103 cp++;
106 if (strncmp(cp, "tftp(", 5) == 0) {
114 for (i = 0; i < 7 && *cp && *cp != '('; i++)
115 booted_controller_name[i] = *cp++;
118 if (*cp == '(')
119 cp++;
120 if (*cp >= '0' && *cp <= '9')
121 booted_unit = *cp++ - '0';
123 if (*cp == ',')
124 cp++;
125 if (*cp >= '0' && *cp <= '9')
126 booted_partition = *cp - '0';