Lines Matching refs:ret

456 	int ret = SA_OK;
529 ret = sa_add_property(sec->security,
538 ret = sa_add_property(sec->security, prop);
540 if (ret == SA_OK && !iszfs) {
541 ret = sa_commit_properties(sec->security, !persist);
544 return (ret);
574 int ret = 0;
578 while (token != NULL && ret == 0) {
593 ret = !nfs_validate_security_mode(tok);
594 if (ret)
602 return (ret);
621 int ret = SA_OK;
643 return (ret);
652 return (ret);
698 while (token != NULL && ret == SA_OK) {
734 ret = SA_SYNTAX_ERR;
768 ret = add_security_prop(
772 ret = SA_NO_MEMORY;
797 ret = sa_add_property(optionset, prop);
798 if (ret != SA_OK)
802 ret = sa_commit_properties(
813 return (ret);
825 int ret = 1;
834 while (ret == 1 && *number != '\0') {
836 ret = isxdigit(*number++);
838 ret = isdigit(*number++);
841 return (ret);
919 int ret = SA_OK;
1042 return (ret);
2049 int ret = SA_OK;
2055 return (ret);
2089 ret = SA_NO_PERMISSION;
2091 ret = SA_NOT_SUPPORTED;
2096 ret = SA_NO_SUCH_PATH;
2099 ret = SA_SYSTEM_ERR;
2103 if (ret == SA_OK || ret == SA_NO_SUCH_PATH) {
2110 return (ret);
2116 int ret = SA_OK;
2126 ret = SA_BAD_VALUE;
2132 ret = SA_BAD_VALUE;
2135 return (ret);
2141 int ret = SA_OK;
2151 ret = SA_BAD_VALUE;
2157 ret = SA_BAD_VALUE;
2160 return (ret);
2174 int ret = SA_OK;
2176 ret = SA_VALUE_CONFLICT;
2178 ret = SA_VALUE_CONFLICT;
2180 return (ret);
2193 int ret = SA_OK;
2205 ret = SA_NO_SUCH_PROP;
2209 if (ret == SA_OK) {
2213 ret = SA_PROP_SHARE_ONLY;
2215 if (ret == SA_OK) {
2234 ret = SA_BAD_VALUE;
2243 ret = SA_OK;
2245 ret = SA_BAD_VALUE;
2250 ret = check_user(value);
2256 ret = SA_BAD_VALUE;
2306 ret = check_rorwnone(value, ovalue1,
2329 ret = SA_BAD_VALUE;
2334 ret = SA_CONFIG_ERR;
2349 ret = SA_NO_SUCH_PROP;
2363 ret = SA_CONFIG_ERR;
2391 ret = SA_CONFIG_ERR;
2395 ret = SA_OK;
2398 if (ret != SA_OK)
2409 ret = SA_BAD_VALUE;
2411 for (c = p; ret == SA_OK && c != NULL; c = n) {
2428 ret = SA_BAD_VALUE;
2430 if (ret == SA_OK && *c != '\0' &&
2432 ret = f(c);
2434 if (ret == SA_OK && *s != '\0' &&
2436 ret = f(s);
2451 if (ret == SA_OK && optdefs[optindex].check != NULL) {
2453 ret = optdefs[optindex].check(handle, property);
2460 return (ret);
2632 int ret = SA_OK;
2644 ret = sa_add_protocol_property(protoset, prop);
2646 ret = SA_NO_MEMORY;
2648 return (ret);
2654 scf_type_t ret;
2658 ret = SCF_TYPE_INTEGER;
2661 ret = SCF_TYPE_BOOLEAN;
2664 ret = SCF_TYPE_ASTRING;
2666 return (ret);
2721 int ret = SA_OK, bufsz = 0, i;
2735 ret = nfs_smf_get_prop(name, value,
2738 if (ret == SA_OK) {
2739 ret = extractprop(name, value);
2743 ret = SA_NO_MEMORY;
2746 return (ret);
2819 int ret = SA_OK;
2827 ret = initprotofromsmf();
2828 if (ret != SA_OK) {
2831 sa_errorstr(ret));
2832 ret = SA_OK;
2836 return (ret);
2875 int ret = B_FALSE;
2880 ret = strcmp(state, chkstate) == 0 ? B_TRUE : B_FALSE;
2883 return (ret);
2899 int ret;
2945 ret = smf_restart_instance(service);
2952 if (ret != 0) {
2992 int ret = B_TRUE;
3009 ret = value <= val ? B_TRUE : B_FALSE;
3012 ret = value >= val ? B_TRUE : B_FALSE;
3018 return (ret);
3039 int ret = SA_OK;
3047 ret = SA_BAD_VALUE;
3053 ret = SA_BAD_VALUE;
3061 ret = SA_BAD_VALUE;
3077 ret = SA_BAD_VALUE;
3086 ret = SA_OK;
3088 ret = SA_BAD_VALUE;
3095 ret = SA_BAD_VALUE;
3121 ret = SA_BAD_VALUE;
3129 return (ret);
3141 int ret = SA_OK;
3153 ret = nfs_validate_proto_prop(index, name, value);
3154 if (ret == SA_OK) {
3165 ret = nfs_smf_set_prop(name, value, instance, sctype,
3167 if (ret == SA_OK) {
3172 sa_errorstr(ret));
3180 return (ret);