Searched refs:scratch_fmri (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/ipf/svc/
H A Dipfd.c103 static char *scratch_fmri; variable
519 if (scf_instance_to_fmri(inst, scratch_fmri, max_scf_fmri_size) == -1) {
529 if (strcmp(scratch_fmri, IPFILTER_FMRI) == 0) {
538 res = is_correct_event(scratch_fmri, pg, isrpc);
541 "is_correct_event failed for %s.\n", scratch_fmri);
553 "instance_has_firewall failed for %s.\n", scratch_fmri);
559 if (ipfilter_update(scratch_fmri) == -1) {
650 scratch_fmri = umem_alloc(max_scf_fmri_size, UMEM_DEFAULT);
653 if (scratch_fmri == NULL || scratch_name == NULL) {
/illumos-gate/usr/src/cmd/svc/svcadm/
H A Dsvcadm.c103 static char *scratch_fmri; variable
561 if (my_ct_name(scratch_fmri, max_scf_fmri_sz) > 0) {
565 SCF_PROPERTY_AUX_FMRI, scratch_fmri);
911 sz = scf_instance_to_fmri(inst, scratch_fmri, max_scf_fmri_sz);
918 return (scratch_fmri);
2173 scratch_fmri = malloc(max_scf_fmri_sz);
2174 if (scratch_fmri == NULL)

Completed in 75 milliseconds