Lines Matching refs:rest
2982 struct pfmri_list *rest;
3005 for (rest = restarters; rest != NULL; rest = rest->next) {
3006 if (strcmp(rest->scope, scope_name) == 0 &&
3007 strcmp(rest->service, svc_name) == 0 &&
3008 strcmp(rest->instance, inst_name) == 0)
3394 struct pfmri_list *rest;
3397 rest = safe_malloc(sizeof (*rest));
3399 if (scf_parse_svc_fmri(cfmri, &rest->scope, &rest->service,
3400 &rest->instance, &pg_name, NULL) != SCF_SUCCESS)
3403 if (rest->instance == NULL || pg_name != NULL)
3407 rest->next = restarters;
3408 restarters = rest;
3413 free(rest);