Searched refs:max_scf_fmri_size (Results 1 – 7 of 7) sorted by relevance
/titanic_50/usr/src/cmd/svc/startd/ |
H A D | misc.c | 83 cf = startd_alloc(max_scf_fmri_size); in fmri_canonify() 92 if (strlcpy(cf, fmri, max_scf_fmri_size) >= max_scf_fmri_size || in fmri_canonify() 95 startd_free(cf, max_scf_fmri_size); in fmri_canonify() 100 startd_free(cf, max_scf_fmri_size); in fmri_canonify() 105 if (scf_canonify_fmri(fmri, cf, max_scf_fmri_size) < 0) { in fmri_canonify() 106 startd_free(cf, max_scf_fmri_size); in fmri_canonify()
|
H A D | startd.c | 228 ssize_t max_scf_fmri_size; variable 498 buf = startd_alloc(max_scf_fmri_size); in read_startd_config() 635 if (scf_property_get_name(prop, buf, max_scf_fmri_size) < 0) in read_startd_config() 738 startd_free(buf, max_scf_fmri_size); in read_startd_config() 743 st->st_subgraph = startd_alloc(max_scf_fmri_size); in read_startd_config() 745 max_scf_fmri_size); in read_startd_config() 746 assert(sz < max_scf_fmri_size); in read_startd_config() 781 startd_alloc(max_scf_fmri_size); in read_startd_config() 1024 max_scf_fmri_size = scf_limit(SCF_LIMIT_MAX_FMRI_LENGTH); in main() 1032 max_scf_fmri_size++; in main()
|
H A D | graph.c | 1146 startd_free(sfmri, max_scf_fmri_size); in graph_insert_vertex_unconfigured() 2085 max_scf_fmri_size); in graph_change_restarter() 2102 startd_free(restarter_fmri, max_scf_fmri_size); in graph_change_restarter() 2111 startd_free(restarter_fmri, max_scf_fmri_size); in graph_change_restarter() 2198 inst_fmri = startd_alloc(max_scf_fmri_size); in add_service() 2266 if (scf_instance_to_fmri(inst, inst_fmri, max_scf_fmri_size) < in add_service() 2306 startd_free(inst_fmri, max_scf_fmri_size); in add_service() 3084 startd_free(fmri, max_scf_fmri_size); in refresh_vertex() 3313 startd_free((void *)idata.i_fmri, max_scf_fmri_size); in configure_vertex() 3319 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 | 52 buf = startd_alloc(max_scf_fmri_size); in inst_fmri_to_svc_fmri() 53 sfmri = startd_alloc(max_scf_fmri_size); in inst_fmri_to_svc_fmri() 62 (void) snprintf(sfmri, max_scf_fmri_size, "svc:%s%s/%s", in inst_fmri_to_svc_fmri() 65 startd_free(buf, max_scf_fmri_size); in inst_fmri_to_svc_fmri() 435 pgname = startd_alloc(max_scf_fmri_size); in libscf_get_stn_tset() 446 max_scf_fmri_size); in libscf_get_stn_tset() 459 max_scf_fmri_size); in libscf_get_stn_tset() 473 startd_free(pgname, max_scf_fmri_size); in libscf_get_stn_tset() 959 char *inst_fmri = startd_alloc(max_scf_fmri_size); in libscf_instance_get_fmri() 962 if (scf_instance_to_fmri(inst, inst_fmri, max_scf_fmri_size) <= 0) { in libscf_instance_get_fmri() [all …]
|
H A D | startd.h | 192 extern ssize_t max_scf_fmri_size;
|
/titanic_50/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()
|