Home | History | Annotate | Download | only in blkid

Lines Matching defs:cp

172 	char	buf[80], *cp, *t;
180 cp = buf;
181 if (!isspace(*cp)) {
182 while (*cp && !isspace(*cp))
183 cp++;
185 while (*cp && isspace(*cp))
186 cp++;
187 if ((t = strchr(cp, '\n')) != NULL)
189 if ((t = strchr(cp, '\t')) != NULL)
191 if ((t = strchr(cp, ' ')) != NULL)
193 if (!strcmp(fs_name, cp)) {
211 char buf[1024], *cp;
227 if ((cp = strchr(buf, ':')) != NULL)
228 *cp = 0;
231 if ((cp = strrchr(buf, '/')) != NULL)
232 cp++;
234 cp = buf;
235 if (!strncmp(cp, fs_name, namesz) &&
236 (!strcmp(cp + namesz, ".ko") ||
237 !strcmp(cp + namesz, ".ko.gz"))) {
254 const char *cp;
261 cp = ut.release;
263 major = strtol(cp, &endptr, 10);
264 if (cp == endptr || *endptr != '.')
266 cp = endptr + 1;
267 minor = strtol(cp, &endptr, 10);
268 if (cp == endptr || *endptr != '.')
270 cp = endptr + 1;
271 rev = strtol(cp, &endptr, 10);
272 if (cp == endptr)
689 char uuid_str[17], label_str[129], *cp;
772 for (i=0, cp=label_str; i < val_len; i+=2,cp++) {
774 *cp = val[0];
776 *cp = '?';
778 *cp = 0;