Lines Matching refs:rest
3004 struct pfmri_list *rest; in list_instance() local
3027 for (rest = restarters; rest != NULL; rest = rest->next) { in list_instance()
3028 if (strcmp(rest->scope, scope_name) == 0 && in list_instance()
3029 strcmp(rest->service, svc_name) == 0 && in list_instance()
3030 strcmp(rest->instance, inst_name) == 0) in list_instance()
3425 struct pfmri_list *rest; in add_restarter() local
3428 rest = safe_malloc(sizeof (*rest)); in add_restarter()
3430 if (scf_parse_svc_fmri(cfmri, &rest->scope, &rest->service, in add_restarter()
3431 &rest->instance, &pg_name, NULL) != SCF_SUCCESS) in add_restarter()
3434 if (rest->instance == NULL || pg_name != NULL) in add_restarter()
3438 rest->next = restarters; in add_restarter()
3439 restarters = rest; in add_restarter()
3444 free(rest); in add_restarter()