Lines Matching refs:st

184  * st->st_configd_live_cv, and rebinds the repository handle.  Doing so resets
237 startd_state_t *st;
503 st->st_log_prefix = LOG_PREFIX_EARLY;
505 if ((st->st_log_file = getenv("STARTD_DEFAULT_LOG")) == NULL) {
506 st->st_log_file = startd_alloc(strlen(STARTD_DEFAULT_LOG) + 1);
508 (void) strcpy(st->st_log_file, STARTD_DEFAULT_LOG);
511 st->st_door_path = getenv("STARTD_ALT_DOOR");
698 st->st_boot_flags = STARTD_BOOT_VERBOSE;
699 st->st_log_level_min = LOG_INFO;
701 st->st_boot_flags = STARTD_BOOT_VERBOSE;
702 st->st_log_level_min = LOG_DEBUG;
704 st->st_log_level_min = LOG_NOTICE;
712 st->st_boot_flags = STARTD_BOOT_QUIET;
714 st->st_boot_flags = STARTD_BOOT_VERBOSE;
743 st->st_subgraph = startd_alloc(max_scf_fmri_size);
744 sz = strlcpy(st->st_subgraph, "milestone/single-user:default",
759 st->st_boot_flags = STARTD_BOOT_VERBOSE;
760 st->st_log_level_min = LOG_DEBUG;
763 st->st_log_flags =
764 st->st_log_flags | STARTD_LOG_TERMINAL;
766 st->st_boot_flags = STARTD_BOOT_VERBOSE;
767 st->st_log_level_min = LOG_INFO;
771 st->st_log_level_min = LOG_NOTICE;
779 if (st->st_subgraph == NULL) {
780 st->st_subgraph =
782 st->st_subgraph[0] = '\0';
786 (void) strcpy(st->st_subgraph, "all");
789 (void) strcpy(st->st_subgraph,
793 (void) strcpy(st->st_subgraph,
797 (void) strcpy(st->st_subgraph,
800 (void) strcpy(st->st_subgraph, "none");
840 if (prop_reconfig != 1 && st->st_initial != 1)
888 (void) pthread_cond_init(&st->st_load_cv, NULL);
889 (void) pthread_cond_init(&st->st_configd_live_cv, NULL);
893 (void) pthread_mutex_init(&st->st_load_lock, &mutex_attrs);
894 (void) pthread_mutex_init(&st->st_configd_live_lock, &mutex_attrs);
915 MUTEX_LOCK(&st->st_configd_live_lock);
916 while (!st->st_configd_lives) {
919 err = pthread_cond_wait(&st->st_configd_live_cv,
920 &st->st_configd_live_lock);
923 MUTEX_UNLOCK(&st->st_configd_live_lock);
1014 st = startd_zalloc(sizeof (startd_state_t));
1034 st->st_log_flags = STARTD_LOG_FILE | STARTD_LOG_SYSLOG;
1035 st->st_log_level_min = LOG_NOTICE;