Lines Matching refs:svc
195 static void service_start_if_not_disabled(struct service *svc)
197 if (!(svc->flags & SVC_DISABLED)) {
198 service_start(svc, NULL);
586 struct service *svc;
587 svc = service_find_by_name(args[1]);
588 if (svc) {
589 service_start(svc, NULL);
596 struct service *svc;
597 svc = service_find_by_name(args[1]);
598 if (svc) {
599 service_stop(svc);
606 struct service *svc;
607 svc = service_find_by_name(args[1]);
608 if (svc) {
609 service_restart(svc);