Searched refs:max_name_length (Results 1 – 3 of 3) sorted by relevance
444 ssize_t max_name_length; in list_callback() local450 max_name_length = scf_limit(SCF_LIMIT_MAX_NAME_LENGTH); in list_callback()451 if ((inst_name = malloc(max_name_length + 1)) == NULL) in list_callback()459 if (scf_instance_to_fmri(inst, inst_name, max_name_length + 1) < 0) in list_callback()
1218 ssize_t max_name_length; in list_callback() local1228 max_name_length = scf_limit(SCF_LIMIT_MAX_NAME_LENGTH); in list_callback()1229 if ((svc_name = malloc(max_name_length + 1)) == NULL) { in list_callback()1240 if (scf_instance_to_fmri(inst, svc_name, max_name_length) < 0) { in list_callback()
6287 ssize_t max_name_length; in scf_walk_fmri() local6307 max_name_length = scf_limit(SCF_LIMIT_MAX_NAME_LENGTH); in scf_walk_fmri()6308 assert(max_name_length != -1); in scf_walk_fmri()6311 (pgname = malloc(max_name_length + 1)) == NULL) { in scf_walk_fmri()6714 max_name_length + 1) <= 0) { in scf_walk_fmri()