Searched defs:adm (Results 1 - 12 of 12) sorted by relevance

/illumos-gate/usr/src/cmd/fm/fmadm/common/
H A Dgc.c34 cmd_gc(fmd_adm_t *adm, int argc, char *argv[]) argument
46 if (fmd_adm_module_gc(adm, mod) != 0)
H A Dload.c33 cmd_load(fmd_adm_t *adm, int argc, char *argv[]) argument
41 if (fmd_adm_module_load(adm, argv[1]) != 0)
49 cmd_unload(fmd_adm_t *adm, int argc, char *argv[]) argument
57 if (fmd_adm_module_unload(adm, argv[1]) != 0)
H A Dreset.c33 cmd_reset(fmd_adm_t *adm, int argc, char *argv[]) argument
58 if (fmd_adm_serd_reset(adm, mod, opt_s) != 0)
62 if (fmd_adm_module_reset(adm, mod) != 0)
H A Dconfig.c50 cmd_config(fmd_adm_t *adm, int argc, char *argv[]) argument
58 if (fmd_adm_module_iter(adm, config_modinfo, NULL) != 0)
65 cmd_rotate(fmd_adm_t *adm, int argc, char *argv[]) argument
70 if (fmd_adm_log_rotate(adm, argv[1]) != 0)
H A Dfaulty.c1629 get_cases_from_fmd(fmd_adm_t *adm, uurec_select_t *uurecp, int opt_i) argument
1637 if (fmd_adm_case_iter(adm, NULL, dfault_rec, uurecp) != 0)
1639 if (opt_i && fmd_adm_rsrc_iter(adm, 1, dstatus_rec, NULL) != 0)
1659 cmd_faulty(fmd_adm_t *adm, int argc, char *argv[]) argument
1714 rt = get_cases_from_fmd(adm, uurecp, opt_i);
1746 cmd_flush(fmd_adm_t *adm, int argc, char *argv[]) argument
1754 if (fmd_adm_rsrc_flush(adm, argv[i]) != 0) {
1765 cmd_repair(fmd_adm_t *adm, int argc, char *argv[]) argument
1779 err = fmd_adm_case_repair(adm, argv[optind]);
1781 err = fmd_adm_rsrc_repaired(adm, arg
1791 cmd_repaired(fmd_adm_t *adm, int argc, char *argv[]) argument
1813 cmd_replaced(fmd_adm_t *adm, int argc, char *argv[]) argument
1835 cmd_acquit(fmd_adm_t *adm, int argc, char *argv[]) argument
[all...]
/illumos-gate/usr/src/lib/fm/libfmd_snmp/common/
H A Dmodule.c244 fmd_adm_t *adm; local
252 if ((adm = fmd_adm_open(update_ctx->uc_host, update_ctx->uc_prog,
260 if (fmd_adm_module_iter(adm, modinfo_update_one, update_ctx) != 0) {
262 "update failed: %s\n", fmd_adm_errmsg(adm));
263 fmd_adm_close(adm);
269 fmd_adm_close(adm);
H A Dresource.c231 fmd_adm_t *adm; local
240 if ((adm = fmd_adm_open(update_ctx->uc_host, update_ctx->uc_prog,
248 err = fmd_adm_rsrc_count(adm, update_ctx->uc_all, &rsrc_count);
252 err = fmd_adm_rsrc_iter(adm, update_ctx->uc_all,
257 fmd_adm_close(adm);
261 "information update failed: %s\n", fmd_adm_errmsg(adm));
H A Dproblem.c247 fmd_adm_t *adm; local
255 if ((adm = fmd_adm_open(update_ctx->uc_host, update_ctx->uc_prog,
263 if (fmd_adm_case_iter(adm, SNMP_URL_MSG, problem_update_one,
266 "update failed: %s\n", fmd_adm_errmsg(adm));
267 fmd_adm_close(adm);
273 fmd_adm_close(adm);
/illumos-gate/usr/src/cmd/svr4pkg/pkgremove/
H A Dmain.c93 struct admin adm; /* holds info about installation admin */ variable in typeref:struct:admin
735 if ((err = set_basedirs((getenv("BASEDIR") != NULL), adm.basedir,
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/
H A Dmain.c156 struct admin adm; variable in typeref:struct:admin
957 p = adm.RSCRIPTALT;
1646 if ((err = set_basedirs(isreloc(instdir), adm.basedir, pkginst,
2248 if (adm.basedir && *(adm.basedir) &&
2249 strchr("/$", *(adm.basedir))) {
2258 adm.basedir) != 0) {
2260 value, adm.basedir);
2270 adm.basedir = "update";
2430 if (adm
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/pkgrm/
H A Dmain.c98 struct admin adm; /* holds info about installation admin */ variable in typeref:struct:admin
/illumos-gate/usr/src/cmd/svr4pkg/pkgadd/
H A Dmain.c121 struct admin adm; /* holds info about installation admin */ variable in typeref:struct:admin
1044 * admin(4) file and, using fpkgparam(), sets the global "adm" structure

Completed in 73 milliseconds