Lines Matching defs:syspath
215 bootmgmt_check_pcfs(char *syspath)
220 const char *p = syspath;
224 if ((strncmp(syspath, "/dev/", 5) == 0) &&
225 (((p = strstr(syspath, "/rdsk/")) != NULL) ||
226 ((p = strstr(syspath, "/rlofi/")) != NULL) ||
227 ((p = strstr(syspath, "/rramdisk/")) != NULL) ||
228 ((p = strstr(syspath, "/rdmp/")) != NULL))) {
230 pos = (uintptr_t)p - (uintptr_t)syspath;
232 pos + 1, syspath, p + 2);
234 (void) snprintf(blockpath, sizeof (blockpath), "%s", syspath);
585 char syspath[MAXPATHLEN];
588 syspath, MAXPATHLEN, "p", i + 1) != 0)
590 else if (strcmp(syspath, pathname) == 0)
592 else if (bootmgmt_check_pcfs(syspath) != 0)
634 char syspath[MAXPATHLEN];
643 if (makepath(pathname, syspath, MAXPATHLEN, "p",
646 else if (strcmp(syspath, pathname) == 0)
648 else if (bootmgmt_check_pcfs(syspath) != 0)
734 char syspath[MAXPATHLEN];
763 (void) snprintf(syspath, sizeof (syspath), "%s%s%d", path, "s", i);
766 if (bootmgmt_check_pcfs(syspath) == 0)
770 "-o fat=32 %s < /dev/null", syspath);