Home
last modified time | relevance | path

Searched refs:scf_max_name_len (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/lib/libshare/common/
H A Dscfutil.c44 ssize_t scf_max_name_len; variable
104 scf_max_name_len = scf_limit(SCF_LIMIT_MAX_NAME_LENGTH); in sa_scf_init()
105 if (scf_max_name_len <= 0) in sa_scf_init()
106 scf_max_name_len = SA_MAX_NAME_LEN + 1; in sa_scf_init()
272 name = malloc(scf_max_name_len); in sa_extract_pgroup()
288 scf_max_name_len) > 0) { in sa_extract_pgroup()
500 name = malloc(scf_max_name_len); in sa_share_from_pgroup()
530 if (scf_property_get_name(prop, name, scf_max_name_len) > 0) { in sa_share_from_pgroup()
815 name = malloc(scf_max_name_len); in sa_share_props_from_pgroup()
826 scf_max_name_len) > 0) { in sa_share_props_from_pgroup()
[all …]
H A Dlibshare.c73 extern ssize_t scf_max_name_len; /* defined in scfutil during initialization */
644 if (len < (scf_max_name_len - sizeof ("group:"))) { in sa_valid_group_name()