Lines Matching defs:scmdata
58 typedef struct scmdata {
100 static scmdata_t scmdata;
300 if (scmdata.manifest == NULL ||
301 (strcmp(scmpath, scmdata.metapath) != 0 &&
303 strncmp(path, scmdata.root, scmdata.rootlen - 1) != 0) {
304 pnset_free(scmdata.manifest);
305 scmdata.manifest = NULL;
316 if (!scmdata.rootwarn) {
319 scmdata.rootwarn = B_TRUE;
332 (void) strlcpy(scmdata.metapath, scmpath, MAXPATHLEN);
333 (void) strlcpy(scmdata.root, basepath, MAXPATHLEN);
334 scmdata.manifest = manifest_func(scmdata.root);
337 * The logic in check_scmdata() depends on scmdata.root having
340 if (scmdata.root[strlen(scmdata.root) - 1] != '/')
341 (void) strlcat(scmdata.root, "/", MAXPATHLEN);
342 scmdata.rootlen = strlen(scmdata.root);
368 path += scmdata.rootlen;
370 return (scmdata.manifest != NULL && pnset_check(scmdata.manifest,