Searched refs:szret (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | expand.c | 364 ssize_t sname_len, szret; in expand_token() local 397 szret = scf_service_get_name(svc, sname, sname_len + 1); in expand_token() 399 if (szret < 0) { in expand_token() 414 ssize_t iname_len, szret; in expand_token() local 428 szret = scf_instance_get_name(inst, iname, iname_len + 1); in expand_token() 429 if (szret < 0) { in expand_token()
|
/illumos-gate/usr/src/cmd/svc/common/ |
H A D | manifest_hash.c | 126 ssize_t szret; in mhash_retrieve_entry() local 171 szret = scf_value_get_opaque(val, hash, MHASH_SIZE); in mhash_retrieve_entry() 172 if (szret < 0) { in mhash_retrieve_entry() 181 if (szret == MHASH_SIZE_OLD) { in mhash_retrieve_entry() 184 } else if (szret != MHASH_SIZE) { in mhash_retrieve_entry()
|
/illumos-gate/usr/src/cmd/svc/svcadm/ |
H A D | svcadm.c | 1636 ssize_t szret; in inst_get_state() local 1653 szret = get_astring_prop(pg, SCF_PROPERTY_STATE, prop, val, state, in inst_get_state() 1655 if (szret < 0) { in inst_get_state() 1656 switch (-szret) { in inst_get_state() 1683 if (szret >= MAX_SCF_STATE_STRING_SZ) { in inst_get_state()
|
/illumos-gate/usr/src/cmd/svc/svccfg/ |
H A D | svccfg_libscf.c | 11626 ssize_t fmrilen, szret; in lscf_get_selection_str() local 11643 szret = scf_snapshot_get_name(cur_snap, buf + 1, in lscf_get_selection_str() 11645 if (szret < 0) { in lscf_get_selection_str() 11656 szret = scf_snaplevel_get_service_name(cur_level, cp, in lscf_get_selection_str() 11658 if (szret < 0) { in lscf_get_selection_str() 11726 szret = scf_service_to_fmri(cur_svc, buf, bufsz); in lscf_get_selection_str() 11727 if (szret >= 0) { in lscf_get_selection_str() 11728 assert(szret < bufsz); in lscf_get_selection_str() 12291 ssize_t szret; in inst_is_running() local 12309 szret = scf_value_get_astring(val, buf, sizeof (buf)); in inst_is_running() [all …]
|
/illumos-gate/usr/src/lib/librestart/common/ |
H A D | librestart.c | 1986 ssize_t szret; in get_astring_val() local 2003 szret = scf_value_get_astring(val, buf, bufsz); in get_astring_val() 2005 return (szret >= 0 ? 0 : -1); in get_astring_val()
|