Lines Matching refs:sfile
150 is_good_slice(char *sfile, char **err)
160 (void) strlcpy(rdskname, sfile, sizeof (rdskname));
162 y = strstr(sfile, "dsk/");
213 char sfile[MAXPATHLEN], diskname[MAXPATHLEN];
245 (void) strlcpy(sfile, fp, MAXPATHLEN);
266 (void) snprintf(sfile, MAXPATHLEN,
286 if (stat(sfile, &stbuf) == -1) {
288 "%s statefile path error on %s\n", __FUNCTION__, sfile);
304 if (!is_good_slice(sfile, &err_fmt)) {
316 if (strncmp(sfile, PM_ZVOLPATH, sizeof (PM_ZVOLPATH) - 1) != 0) {
318 if (utop(sfile, cc->cf_dev_prom)) {
321 __FUNCTION__, sfile);
325 (void) strlcpy(cc->cf_dev_prom, sfile,
341 fp = sfile;
392 __FUNCTION__, sfile);
414 (void) strlcpy(cc->cf_devfs, sfile, sizeof (cc->cf_devfs));
415 (void) strlcpy(cc->cf_path, sfile, sizeof (cc->cf_path));
417 "%s statefile path: %s\n", __FUNCTION__, sfile);