Home | History | Annotate | Download | only in blkid

Lines Matching defs:cp

170 	char	buf[80], *cp, *t;
178 cp = buf;
179 if (!isspace(*cp)) {
180 while (*cp && !isspace(*cp))
181 cp++;
183 while (*cp && isspace(*cp))
184 cp++;
185 if ((t = strchr(cp, '\n')) != NULL)
187 if ((t = strchr(cp, '\t')) != NULL)
189 if ((t = strchr(cp, ' ')) != NULL)
191 if (!strcmp(fs_name, cp)) {
209 char buf[1024], *cp;
225 if ((cp = strchr(buf, ':')) != NULL)
226 *cp = 0;
229 if ((cp = strrchr(buf, '/')) != NULL)
230 cp++;
232 cp = buf;
233 if (!strncmp(cp, fs_name, namesz) &&
234 (!strcmp(cp + namesz, ".ko") ||
235 !strcmp(cp + namesz, ".ko.gz"))) {
252 const char *cp;
259 cp = ut.release;
261 major = strtol(cp, &endptr, 10);
262 if (cp == endptr || *endptr != '.')
264 cp = endptr + 1;
265 minor = strtol(cp, &endptr, 10);
266 if (cp == endptr || *endptr != '.')
268 cp = endptr + 1;
269 rev = strtol(cp, &endptr, 10);
270 if (cp == endptr)
687 char uuid_str[17], label_str[129], *cp;
770 for (i=0, cp=label_str; i < val_len; i+=2,cp++) {
772 *cp = val[0];
774 *cp = '?';
776 *cp = 0;