Lines Matching refs:svc

315 	if (strncmp(fmri, "svc:/", sizeof ("svc:/") - 1) == 0)
316 fmri += sizeof ("svc:/") - 1;
369 fmri = "svc:/system/disabled:default";
372 fmri = "svc:/system/enabled:default";
374 print_dependency("svc:/system/disabled:default", "dg",
375 "svc:/system/enabled:default", "label=\"require_all\",style=bold",
378 fmri = "svc:/network/disabled:default";
381 fmri = "svc:/network/enabled:default";
383 print_dependency("svc:/network/disabled:default", "dg",
384 "svc:/network/enabled:default", "label=\"require_any\"", 1);
386 fmri = "svc:/milestone/disabled:default";
389 fmri = "svc:/milestone/enabled:default";
391 print_dependency("svc:/milestone/disabled:default", "dg",
392 "svc:/milestone/enabled:default",
395 fmri = "svc:/other/disabled:default";
398 fmri = "svc:/other/enabled:default";
400 print_dependency("svc:/other/disabled:default", "dg",
401 "svc:/other/enabled:default",
415 return (strcmp(fmri, "svc:/system/identity:node") == 0 ||
416 strcmp(fmri, "svc:/system/identity:domain") == 0 ||
417 strcmp(fmri, "svc:/network/initial:default") == 0 ||
418 strcmp(fmri, "svc:/milestone/single-user:default") == 0 ||
419 strcmp(fmri, "svc:/network/inetd:default") == 0 ||
420 strcmp(fmri, "svc:/network/http:apache2") == 0);
469 (void) snprintf(fmri, max_fmri_len + 1, "svc:/%s:%s", svcname,
519 strappend(fmri + sizeof ("svc:/") - 1, &inetd_svcs,
533 strappend(fmri + sizeof ("svc:/") - 1, &rpcbind_svcs,
545 print_service_node(fmri, fmri + sizeof ("svc:/") - 1, allpgs,
549 * Edges: One for the restarter, if it is not the default (svc.startd)
716 scf_service_t *svc;
814 (svc = scf_service_create(h)) == NULL ||
862 r = scf_iter_next_service(svciter, svc);
868 if (scf_iter_service_instances(institer, svc) != 0)
871 if (scf_service_get_name(svc, svcname, max_name_len + 1) < 0)
874 if (strcmp(svcname, "system/svc/restarter") == 0)
897 "svc:/network/inetd:default", "", 1);
905 "svc:/network/inetd:default", "", 1);
907 "svc:/network/rpc/bind:default", "", 1);