Lines Matching refs:method
445 exec_method(const restarter_inst_t *inst, int type, const char *method, in exec_method() argument
453 cmd = uu_msprintf("exec %s", method); in exec_method()
460 method_names[type], method); in exec_method()
658 char *method; in method_run() local
720 if ((method = libscf_get_method(h, type, inst, snap, &restart_on, in method_run()
771 if (restarter_is_null_method(method)) { in method_run()
783 sig = restarter_is_kill_method(method); in method_run()
811 inst->ri_i.i_fmri, method); in method_run()
814 inst->ri_m_inst, snap, mname, method, &mcp); in method_run()
851 if ((pend = strchr(method, ' ')) != NULL) in method_run()
854 if (*method == '/' && stat64(method, &sbuf) == -1 && in method_run()
857 "changing state to maintenance.", method); in method_run()
885 exec_method(inst, type, method, mcp, need_session); in method_run()
896 inst->ri_i.i_fmri, method, strerror(forkerr)); in method_run()
1004 inst->ri_i.i_fmri, method, buf); in method_run()
1010 inst->ri_i.i_fmri, method, in method_run()
1024 inst->ri_i.i_fmri, method, WEXITSTATUS(ret_status)); in method_run()
1079 (restarter_is_kill_method(method) < 0)) in method_run()
1086 free(method); in method_run()