Home | History | Annotate | Download | only in init

Lines Matching defs:svc

130 static void service_start_if_not_disabled(struct service *svc)
132 if (!(svc->flags & SVC_DISABLED)) {
133 service_start(svc, NULL);
397 struct service *svc;
398 svc = service_find_by_name(args[1]);
399 if (svc) {
400 service_start(svc, NULL);
407 struct service *svc;
408 svc = service_find_by_name(args[1]);
409 if (svc) {
410 service_stop(svc);
417 struct service *svc;
418 svc = service_find_by_name(args[1]);
419 if (svc) {
420 service_stop(svc);
421 service_start(svc, NULL);