Lines Matching defs:ptr1
2378 char *ptr1, *ptr2;2388 ptr1 = prom_dev1;2391 if ((ptr1 == NULL) || (*ptr1 != '/')) {2401 while ((ptr1 != NULL) && (ptr2 != NULL)) {2402 *ptr1 = *ptr2 = '/';2403 dev1 = ptr1 + 1;2405 if ((ptr1 = strchr(dev1, '/')) != NULL)2406 *ptr1 = '\0';2467 if (ptr1 != NULL) {2468 *ptr1 = '/';