Searched refs:max_scf_fmri_size (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | misc.c | 81 cf = startd_alloc(max_scf_fmri_size); in fmri_canonify() 90 if (strlcpy(cf, fmri, max_scf_fmri_size) >= max_scf_fmri_size || in fmri_canonify() 93 startd_free(cf, max_scf_fmri_size); in fmri_canonify() 98 startd_free(cf, max_scf_fmri_size); in fmri_canonify() 103 if (scf_canonify_fmri(fmri, cf, max_scf_fmri_size) < 0) { in fmri_canonify() 104 startd_free(cf, max_scf_fmri_size); in fmri_canonify()
|
H A D | startd.c | 229 ssize_t max_scf_fmri_size; variable 503 buf = startd_alloc(max_scf_fmri_size); in read_startd_config() 640 if (scf_property_get_name(prop, buf, max_scf_fmri_size) < 0) in read_startd_config() 743 startd_free(buf, max_scf_fmri_size); in read_startd_config() 748 st->st_subgraph = startd_alloc(max_scf_fmri_size); in read_startd_config() 750 max_scf_fmri_size); in read_startd_config() 751 assert(sz < max_scf_fmri_size); in read_startd_config() 786 startd_alloc(max_scf_fmri_size); in read_startd_config() 1029 max_scf_fmri_size = scf_limit(SCF_LIMIT_MAX_FMRI_LENGTH); in main() 1037 max_scf_fmri_size++; in main()
|
H A D | graph.c | 1154 startd_free(sfmri, max_scf_fmri_size); in graph_insert_vertex_unconfigured() 2059 max_scf_fmri_size); in graph_change_restarter() 2076 startd_free(restarter_fmri, max_scf_fmri_size); in graph_change_restarter() 2085 startd_free(restarter_fmri, max_scf_fmri_size); in graph_change_restarter() 2172 inst_fmri = startd_alloc(max_scf_fmri_size); in add_service() 2240 if (scf_instance_to_fmri(inst, inst_fmri, max_scf_fmri_size) < in add_service() 2280 startd_free(inst_fmri, max_scf_fmri_size); in add_service() 3058 startd_free(fmri, max_scf_fmri_size); in refresh_vertex() 3287 startd_free((void *)idata.i_fmri, max_scf_fmri_size); in configure_vertex() 3293 startd_free((void *)idata.i_fmri, max_scf_fmri_size); in configure_vertex() [all …]
|
H A D | deathrow.c | 138 line_size = max_scf_fmri_size + 3 + MAXPATHLEN + MAXNAMELEN; in deathrow_init() 166 strlen(fmri) < max_scf_fmri_size && in deathrow_init()
|
H A D | libscf.c | 53 buf = startd_alloc(max_scf_fmri_size); in inst_fmri_to_svc_fmri() 54 sfmri = startd_alloc(max_scf_fmri_size); in inst_fmri_to_svc_fmri() 63 (void) snprintf(sfmri, max_scf_fmri_size, "svc:%s%s/%s", in inst_fmri_to_svc_fmri() 66 startd_free(buf, max_scf_fmri_size); in inst_fmri_to_svc_fmri() 436 pgname = startd_alloc(max_scf_fmri_size); in libscf_get_stn_tset() 447 max_scf_fmri_size); in libscf_get_stn_tset() 460 max_scf_fmri_size); in libscf_get_stn_tset() 474 startd_free(pgname, max_scf_fmri_size); in libscf_get_stn_tset() 960 char *inst_fmri = startd_alloc(max_scf_fmri_size); in libscf_instance_get_fmri() 963 if (scf_instance_to_fmri(inst, inst_fmri, max_scf_fmri_size) <= 0) { in libscf_instance_get_fmri() [all …]
|
H A D | startd.h | 188 extern ssize_t max_scf_fmri_size;
|
/illumos-gate/usr/src/cmd/ipf/svc/ |
H A D | ipfd.c | 94 static ssize_t max_scf_fmri_size; variable 519 if (scf_instance_to_fmri(inst, scratch_fmri, max_scf_fmri_size) == -1) { in repository_event_process() 574 if ((fmri = umem_alloc(max_scf_fmri_size, UMEM_DEFAULT)) == NULL) { in repository_event_wait() 579 if ((scratch = umem_alloc(max_scf_fmri_size, UMEM_DEFAULT)) == NULL) { in repository_event_wait() 599 res = _scf_notify_wait(pg, fmri, max_scf_fmri_size); in repository_event_wait() 616 (void) strlcpy(scratch, fmri, max_scf_fmri_size); in repository_event_wait() 636 max_scf_fmri_size = scf_limit(SCF_LIMIT_MAX_FMRI_LENGTH) + 1; in main() 639 assert(max_scf_fmri_size > 0); in main() 650 scratch_fmri = umem_alloc(max_scf_fmri_size, UMEM_DEFAULT); in main()
|