Lines Matching refs:method
446 exec_method(const restarter_inst_t *inst, int type, const char *method, in exec_method() argument
454 cmd = uu_msprintf("exec %s", method); in exec_method()
461 method_names[type], method); in exec_method()
662 char *method; in method_run() local
724 if ((method = libscf_get_method(h, type, inst, snap, &restart_on, in method_run()
775 if (restarter_is_null_method(method)) { in method_run()
787 sig = restarter_is_kill_method(method); in method_run()
815 inst->ri_i.i_fmri, method); in method_run()
818 inst->ri_m_inst, snap, mname, method, &mcp); in method_run()
855 if ((pend = strchr(method, ' ')) != NULL) in method_run()
858 if (*method == '/' && stat64(method, &sbuf) == -1 && in method_run()
861 "changing state to maintenance.", method); in method_run()
889 exec_method(inst, type, method, mcp, need_session); in method_run()
900 inst->ri_i.i_fmri, method, strerror(forkerr)); in method_run()
1008 inst->ri_i.i_fmri, method, buf); in method_run()
1014 inst->ri_i.i_fmri, method, in method_run()
1030 inst->ri_i.i_fmri, method, WEXITSTATUS(ret_status)); in method_run()
1096 restarter_is_kill_method(method) < 0) { in method_run()
1104 free(method); in method_run()