Lines Matching refs:zonepath
899 char zonepath[MAXPATHLEN]; in exec_clean() local
904 zonepath[0] = '\0'; in exec_clean()
910 (void) strcpy(zonepath, "/"); in exec_clean()
918 (void) strcpy(zonepath, zoneroot); in exec_clean()
949 pw_ent.pw_name, devzone, zonepath, NULL); in exec_clean()
959 devzone, zonepath, NULL); in exec_clean()
971 dprintf("zonepath=%s ", zonepath); in exec_clean()
974 pw_ent.pw_name, devzone, zonepath, NULL); in exec_clean()
1701 char zonepath[MAXPATHLEN]; in create_znode() local
1711 (void) strcpy(zonepath, zoneroot); in create_znode()
1713 len = strlen(zonepath); in create_znode()
1714 size = sizeof (zonepath); in create_znode()
1715 (void) strlcat(zonepath, "/dev", size); in create_znode()
1716 if (di_prof_init(zonepath, &prof)) { in create_znode()
1717 dprintf("failed to initialize dev profile at %s\n", zonepath); in create_znode()
1720 zonepath[len] = '\0'; in create_znode()
1745 zonepath, tmpfile); in create_znode()
1757 if (strlcat(zonepath, tmpfile, size) >= size) { in create_znode()
1771 zpath->path[zpath->count] = strdup(zonepath); in create_znode()
1773 zonepath[len] = '\0'; in create_znode()
1789 char zonepath[MAXPATHLEN]; in remove_znode() local
1796 (void) snprintf(zonepath, MAXPATHLEN, "/zone/%s", zonename); in remove_znode()
1798 (void) strcpy(zonepath, zoneroot); in remove_znode()
1805 (void) strncat(zonepath, "/dev", MAXPATHLEN); in remove_znode()
1806 len = strlen(zonepath); in remove_znode()
1807 if (di_prof_init(zonepath, &prof)) { in remove_znode()
1808 dprintf("failed to initialize dev profile at %s\n", zonepath); in remove_znode()
1830 zonepath[len] = '\0'; in remove_znode()