Lines Matching refs:svc
175 Service *svc = ServiceManager::GetInstance().FindServiceByName("watchdogd"); in unmount_and_fsck() local
176 if (svc) { in unmount_and_fsck()
180 } while (svc->flags() & SVC_RUNNING); // Paranoid Cargo in unmount_and_fsck()
181 svc->Start(); in unmount_and_fsck()
254 Service* svc = ServiceManager::GetInstance().FindServiceByName(args[1]); in do_enable() local
255 if (!svc) { in do_enable()
258 return svc->Enable(); in do_enable()
262 Service* svc = ServiceManager::GetInstance().MakeExecOneshotService(args); in do_exec() local
263 if (!svc) { in do_exec()
266 if (!svc->Start()) { in do_exec()
611 Service* svc = ServiceManager::GetInstance().FindServiceByName(args[1]); in do_start() local
612 if (!svc) { in do_start()
616 if (!svc->Start()) in do_start()
622 Service* svc = ServiceManager::GetInstance().FindServiceByName(args[1]); in do_stop() local
623 if (!svc) { in do_stop()
627 svc->Stop(); in do_stop()
632 Service* svc = ServiceManager::GetInstance().FindServiceByName(args[1]); in do_restart() local
633 if (!svc) { in do_restart()
637 svc->Restart(); in do_restart()