Searched refs:max_name_length (Results 1 – 3 of 3) sorted by relevance
442 ssize_t max_name_length; in list_callback() local448 max_name_length = scf_limit(SCF_LIMIT_MAX_NAME_LENGTH); in list_callback()449 if ((inst_name = malloc(max_name_length + 1)) == NULL) in list_callback()457 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()
6383 ssize_t max_name_length; in scf_walk_fmri() local6401 max_name_length = scf_limit(SCF_LIMIT_MAX_NAME_LENGTH); in scf_walk_fmri()6402 assert(max_name_length != -1); in scf_walk_fmri()6405 (pgname = malloc(max_name_length + 1)) == NULL) { in scf_walk_fmri()6805 max_name_length + 1) <= 0) { in scf_walk_fmri()