Searched refs:default_conf (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/cmd/power/ |
H A D | conf.c | 64 static char default_conf[] = "/etc/power.conf"; variable 65 static char *power_conf = default_conf; 329 static char *args[] = { "/usr/bin/cp", default_conf, orig_conf, NULL }; in save_orig() 399 ? power_conf : default_conf, filter, B_FALSE); in conf_scanner() 466 parse_conf_file(default_conf, search, B_FALSE); in write_conf() 470 if (stat(name = default_conf, &stbuf) == -1) in write_conf() 476 else if (rename(tmp_conf, default_conf) == -1) in write_conf() 480 tmp_conf, default_conf); in write_conf() 545 if (stat(default_conf, &def_info) == -1) in main() 546 mesg(MEXIT, "cannot stat %s, %s\n", default_conf, in main()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | confstr.c | 44 static const config default_conf[] = { variable 89 #define CS_ENTRY_COUNT (sizeof (default_conf) / sizeof (config)) 119 entry = (config *)default_conf; in confstr()
|
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | chkey_common.c | 244 struct __nsw_switchconfig *default_conf, char *head_msg) in first_and_only_switch_policy() argument 252 if (default_conf == 0) in first_and_only_switch_policy() 253 default_conf = &publickey_default; in first_and_only_switch_policy() 258 conf = default_conf; in first_and_only_switch_policy() 271 switch_policy_str(default_conf)); in first_and_only_switch_policy() 295 struct __nsw_switchconfig *default_conf, char *head_msg, char *tail_msg) in check_switch_policy() argument 301 if (default_conf == 0) in check_switch_policy() 302 default_conf = &publickey_default; in check_switch_policy() 306 if (!is_switch_policy(default_conf, target_service)) { in check_switch_policy() 312 switch_policy_str(default_conf)); in check_switch_policy()
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | cplmatch.c | 733 CplFileConf default_conf; in CPL_MATCH_FN() 756 conf = &default_conf; in CPL_MATCH_FN() 757 cpl_init_FileConf(&default_conf); in CPL_MATCH_FN()
|
/illumos-gate/usr/src/cmd/powertop/common/ |
H A D | cpufreq.c | 59 static char default_conf[] = "/etc/power.conf"; variable 538 if (g_npstates < 2 || (file = fopen(default_conf, "r")) == NULL) in pt_cpufreq_check_pm()
|