Lines Matching refs:svc
196 static void service_start_if_not_disabled(struct service *svc) in service_start_if_not_disabled() argument
198 if (!(svc->flags & SVC_DISABLED)) { in service_start_if_not_disabled()
199 service_start(svc, NULL); in service_start_if_not_disabled()
576 struct service *svc; in do_start() local
577 svc = service_find_by_name(args[1]); in do_start()
578 if (svc) { in do_start()
579 service_start(svc, NULL); in do_start()
586 struct service *svc; in do_stop() local
587 svc = service_find_by_name(args[1]); in do_stop()
588 if (svc) { in do_stop()
589 service_stop(svc); in do_stop()
596 struct service *svc; in do_restart() local
597 svc = service_find_by_name(args[1]); in do_restart()
598 if (svc) { in do_restart()
599 service_stop(svc); in do_restart()
600 service_start(svc, NULL); in do_restart()