Home
last modified time | relevance | path

Searched refs:cpr_status (Results 1 – 3 of 3) sorted by relevance

/titanic_44/usr/src/cmd/power/
H A Dconf.c260 if (cpr_status.update == NOUP) in update_cprconfig()
264 } else if (!cpr_status.perm) { in update_cprconfig()
270 } else if (cpr_status.update == NOUP || pm_status.update == NOUP) in update_cprconfig()
435 if ((cpr_status.perm && cpr_status.update != OKUP) || in write_conf()
439 cpr_status.perm, cpr_status.update, in write_conf()
455 if (cpr_status.perm && pm_status.perm) in write_conf()
458 conf_scanner(&cpr_status); in write_conf()
531 ruid, cpr_status.perm, pm_status.perm); in main()
533 if ((!cpr_status.perm && !pm_status.perm) || in main()
534 (rflag && !(cpr_status.perm && pm_status.perm))) in main()
H A Dparse.c44 prmup_t cpr_status = { 0, OKUP, "cpr" }; variable
57 "autoshutdown", autosd, &cpr_status, as_cmt, 5, 0, 1,
65 "diskreads", dreads, &cpr_status, NULL, 2, 0, 1,
66 "idlecheck", idlechk, &cpr_status, NULL, 2, 0, 0,
67 "loadaverage", loadavg, &cpr_status, NULL, 2, 0, 1,
68 "nfsreqs", nfsreq, &cpr_status, NULL, 2, 0, 1,
70 "statefile", sfpath, &cpr_status, sf_cmt, 2, 0, 0,
73 "ttychars", tchars, &cpr_status, NULL, 2, 0, 1,
132 cpr_status.perm = pm_status.perm = 1; in lookup_perms()
148 set_perm("CPRCHANGEPERM=", user, &cpr_status.perm, cons_perm); in lookup_perms()
H A Dpmconfig.h100 extern prmup_t cpr_status, pm_status;