/osnet-11/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | obj_mgr.c | 307 CK_RV rc = CKR_OK; local 325 rc = CKR_USER_NOT_LOGGED_IN; 330 rc = CKR_SESSION_READ_ONLY; 337 rc = CKR_SESSION_READ_ONLY; 344 rc = CKR_USER_NOT_LOGGED_IN; 351 rc = CKR_USER_NOT_LOGGED_IN; 356 return (rc); 367 CK_RV rc; local 373 rc = pthread_mutex_lock(&obj_list_mutex); 374 if (rc ! 552 CK_RV rc; local 695 CK_RV rc; local 757 CK_RV rc; local 875 CK_RV rc; local 956 CK_RV rc; local 1230 CK_RV rc; local 1349 CK_RV rc; local 1386 CK_RV rc; local 1485 CK_RV rc; local 1513 CK_RV rc; local 1546 CK_RV rc; local 1555 CK_RV rc; local 1575 CK_RV rc; local 1600 CK_RV rc; local 1609 CK_RV rc; local 1660 CK_RV rc; local 1720 CK_RV rc; local 1835 CK_RV rc; local 1903 CK_RV rc; local 1979 CK_RV rc; local 2090 CK_RV rc; local [all...] |
H A D | template.c | 306 CK_RV rc; local 328 rc = template_update_attribute(tmpl, attr); 329 if (rc != CKR_OK) { 331 return (rc); 347 CK_RV rc; local 351 rc = template_set_default_common_attributes(tmpl); 352 if (rc != CKR_OK) { 353 return (rc); 562 CK_RV rc; local 569 rc 708 CK_RV rc; local 989 CK_RV rc; local 1173 CK_RV rc = CKR_OK; local [all...] |
/osnet-11/usr/src/lib/libshare/common/ |
H A D | libshare_util.c | 223 int rc; local 255 rc = sa_share_validate_name(new_name, sh_path, valflags, proto, 258 if (rc == SA_OK) 259 rc = sa_check_sh_list(new_name, sh_list, nlist); 261 } while (rc == SA_DUPLICATE_NAME); 264 if (rc != SA_OK) 265 return (rc); 270 if ((rc = sa_share_set_name(share, new_name)) != SA_OK) { 272 return (rc); 278 if ((rc 417 int rc; local [all...] |
/osnet-11/usr/src/lib/libshare_plugins/legacy/ |
H A D | libshare_legacy.c | 427 int rc; local 430 rc = SA_NO_SHARE_NAME; 431 salog_error(rc, "sa_legacy_share_write"); 436 rc = SA_XDR_ENCODE_ERR; 437 salog_error(rc, "sa_legacy_share_write: %s", sh_name); 441 if ((legacy_hdl = sa_get_fs_handle(shdl, SA_FS_LEGACY, &rc)) == NULL) 444 rc = legacy_share_rsrc_write(legacy_hdl, sh_name, bufp, buflen); 446 if (rc < 0) { 447 rc = SA_SYSTEM_ERR; 453 rc 469 int rc = SA_SHARE_NOT_FOUND; local 532 int rc; local 648 int rc; local [all...] |
/osnet-11/usr/src/lib/libsldap/common/ |
H A D | ns_mapping.c | 332 int i, rc; local 356 if ((rc = __ns_ldap_getParam(NS_LDAP_SEARCH_SCOPE_P, 591 rc = __s_api_getDNs(&dns, service, &error); 592 if (rc != NS_LDAP_SUCCESS) { 657 int rc; local 675 rc = __ns_ldap_getParam(NS_LDAP_SERVICE_SEARCH_DESC_P, 677 if (rc != NS_LDAP_SUCCESS) { 678 return (rc); 700 rc = __s_api_get_search_DNs_v1(&sdl, service, errorp); 701 if (rc ! [all...] |
/osnet-11/usr/src/lib/libsmb/common/ |
H A D | smb_auth.c | 124 int rc; local 134 rc = smb_auth_DES(lm_rsp, SMBAUTH_RESP_SZ, S21, 21, challenge, clen); 135 return (rc); 149 int rc; local 162 rc = smb_auth_md4(hash, (unsigned char *)unicode_password, length); 165 return (rc); 338 int rc; local 358 rc = SMBAUTH_HMACT64((unsigned char *)data, data_len, ntlm_hash, 363 return (rc); 436 int rc; local 522 int rc; local 559 int rc; local 577 int rc; local 611 int rc; local [all...] |
H A D | smb_info.c | 138 int rc; local 141 rc = smb_config_getstr(SMB_CI_MACHINE_GUID, guid_str, len); 142 if ((rc != SMBD_SMF_OK) || (*guid_str == '\0')) { 287 int rc; local 293 rc = smb_config_getstr(SMB_CI_DOMAIN_NB, buf, buflen); 295 if ((rc != SMBD_SMF_OK) || (*buf == '\0')) 406 int rc = -1; local 415 rc = 0; 417 return (rc); 423 int rc; local 436 int rc; local 457 int rc; local 696 size_t rc; local [all...] |
/osnet-11/usr/src/lib/libsmbfs/common/ |
H A D | smbfs_nbns_rq.c | 552 int rc; local 570 rc = sendto(s, mtod(mbp->mb_top, char *), mbp->mb_count, 0, 579 if (rc < 0)
|
/osnet-11/usr/src/lib/libsmbns/common/ |
H A D | smbns_browser.c | 892 int rc; local 918 rc = smb_msgbuf_decode(&mb, "Mb27.bwwwwb.w6.wwwwb.wwwws", 938 if (rc < 0) { 1054 int rc; local 1091 rc = smb_browser_addr_of_subnet(entry, hinfo, &master); 1092 if (rc == 0) {
|
/osnet-11/usr/src/lib/libldap4/common/ |
H A D | result.c | 231 int rc; local 254 rc = -2; 255 while ( rc == -2 ) { 266 rc = read1msg( ld, msgid, all, lc->lconn_sb, 273 rc = do_ldap_select( ld, tvp ); 277 if ( rc == -1 ) { 285 if ( rc == 0 || ( rc == -1 && (ld->ld_restart || errno != EINTR ))) { 287 if ( rc == -1 || rc 368 int rc, refer_cnt, hadref, simple_request, samereq = 0, total_count; local 981 int rc; local 1018 int rc; local 1156 int rc; local 1219 size_t rc; local 1399 size_t rc; local 1529 size_t rc; local [all...] |
/osnet-11/usr/src/lib/libldap5/sources/ldap/ber/ |
H A D | io.c | 126 ssize_t rc; local 143 rc = udp_read(sb, sb->sb_ber.ber_buf, READBUFSIZ, addrlen ); 148 rc ); 150 if ( lber_debug > 1 && rc > 0 ) 151 lber_bprint( sb->sb_ber.ber_buf, rc ); 155 rc = -1; 159 rc = sb->sb_ext_io_fns.lbextiofn_read( 165 rc = read( sb->sb_sd, sb->sb_ber.ber_buf, 171 if ( rc > 0 ) { 173 sb->sb_ber.ber_end = sb->sb_ber.ber_buf + rc; 339 ssize_t nwritten, towrite, rc; local 599 ber_int_t rc; local 1105 ssize_t rc; local [all...] |
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | request.c | 363 int rc; local 421 rc = nsldapi_connect_to_host( ld, lc->lconn_sb, 425 if (rc != -1) { 448 if (ld->ld_options & LDAP_BITOPT_ASYNC && rc == -2) 821 int rc, tmprc, len, unknown; local 859 rc = LDAP_SUCCESS; 862 for ( ref = p; rc == LDAP_SUCCESS && ref != NULL; ref = p ) { 871 rc = chase_one_referral( ld, lr, origreq, ref, "v2 referral", 874 if ( rc != LDAP_SUCCESS || unknown ) { 877 rc 896 int i, rc, unknown; local 951 int rc, tmprc, secure, msgid; local 1116 int rc; local [all...] |
H A D | sasl.c | 411 int rc, value; local 421 rc = ber_sockbuf_get_option( sb, 424 if (rc != 0 || value != 0) 430 rc = sasl_getprop( sb->sb_sasl_ctx, SASL_SEC_PROPS, 432 if (rc != SASL_OK) 450 rc = ber_sockbuf_get_option( sb, 453 if (rc != 0) { 459 rc = ldap_get_option( ld, LDAP_X_OPT_EXTIO_FN_PTRS, 461 if (rc != 0 ) { 491 rc 523 int rc = LDAP_LOCAL_ERROR; local 657 int saslrc, rc; local 842 int slen, rc; local 1038 int rc; local [all...] |
/osnet-11/usr/src/lib/libndr/common/ |
H A D | ndr_process.c | 294 int rc; local 373 rc = ndr_outer_grow(outer_ref, n_fixed); 374 if (!rc) 385 rc = ndr_inner(outer_ref); 386 if (!rc) 658 int rc; local 687 rc = ndr_outer_grow(outer_ref, n_pdu_total); 688 if (!rc) 689 return (rc); /* error already set */ 730 rc 748 int rc; local 840 int rc; local 968 int rc; local 1096 int rc; local 1168 int rc; local 1375 int rc; local 1410 int rc; local 1448 int rc; local 1491 int rc, is_ok = 0; local 1821 int rc; local 2043 int rc; local [all...] |
H A D | ndr_server.c | 141 int rc; local 153 if ((rc = ndr_pipe_grow(np, len)) != 0) { 155 return (rc); 251 int rc; local 273 rc = nds_initialize(recv_nds, datalen, NDR_MODE_CALL_RECV, mxa->heap); 274 if (rc != 0) { 287 rc = nds_initialize(send_nds, 0, NDR_MODE_RETURN_SEND, mxa->heap); 288 if (rc != 0) { 511 int rc; local 513 rc 637 int rc; local 817 int rc; local 861 int rc; local [all...] |
/osnet-11/usr/src/lib/libnisdb/ |
H A D | nis_parse_ldap_conf.c | 113 int rc = 0; local 135 rc = 0; 138 if (rc == 0) { 140 rc = yp_parse_ldap_default_conf(&proxyInfo, &ldapConfig, 151 if (rc == 0 && config_file != NULL) { 156 rc = yp_parse_ldap_config_file(config_file, &proxyInfo, 163 if (rc == 0 && (config_info.config_dn != NULL) && 165 rc = parse_ldap_config_dn_attrs(&proxyInfo, 172 if (rc == 0 && got_config_data == FALSE) 173 rc 208 int rc = 0; local 371 int rc = 0; local 534 int rc = 0; local 662 int rc = 0; local 771 int rc; local 851 int rc; local 904 int rc = 0; local [all...] |
/osnet-11/usr/src/lib/libnisdb/yptol/ |
H A D | dit_access.c | 1085 int i, rc, statP = SUCCESS; local 1133 if ((rc = makeNISObject(0, dn)) == FAILURE) {
|
H A D | dit_access_utils.c | 1017 int i, rc, nr = 0, nv = 0; local 1145 if ((rc = verifyKey(skey, &rv_result[i])) 1156 if (rc == 1) { 1220 int nv, nr, i, rc, collapse; local 1377 rc = ldapAdd(dn, &frv[i], 1381 rc = ldapModify(dn, &frv[i], 1387 (rc == LDAP_TYPE_OR_VALUE_EXISTS) && 1401 if (rc != LDAP_SUCCESS) { 1409 "ldapModify" : "ldapAdd", rc, 1410 ldap_err2string(rc), d 1613 int i, rc, nr, add_rc; local 1774 int rc, nr; local 1886 int rc; local [all...] |
/osnet-11/usr/src/lib/libnsl/ipsec/ |
H A D | algs.c | 193 ipsec_proto_t *rc = NULL, *new_proto = NULL; local 265 new_proto = (ipsec_proto_t *)realloc(rc, 267 rc = new_proto; 307 for (new_proto = rc; new_proto < (rc + new_num); 311 if (new_proto == (rc + new_num)) { 569 return (rc); 579 _clean_trash(rc, rc_num); 593 int rc, trash_num; local 615 rc 726 struct ipsecalgent *rc; local 789 int *rc, i; local 814 int *rc = NULL, i; local 845 struct ipsecalgent *rc = NULL; local 890 struct ipsecalgent *rc = NULL; local 919 int rc = -1; local 936 char *rc = NULL; local [all...] |
/osnet-11/usr/src/lib/libntfs/common/libntfs/ |
H A D | dir.c | 116 int eo, rc; local 205 rc = ntfs_names_collate(uname, uname_len, 214 if (rc == -1) 217 if (rc) 224 rc = ntfs_names_collate(uname, uname_len, 228 if (rc == -1) 230 if (rc) 390 rc = ntfs_names_collate(uname, uname_len, 399 if (rc == -1) 402 if (rc) 727 int rc, ir_pos, bmp_buf_size, bmp_buf_pos, eo; local [all...] |
/osnet-11/usr/src/lib/libntsvcs/common/ |
H A D | netr_clnt.c | 428 int rc; local 436 rc = smb_getnetbiosname(netr_info->hostname, NETBIOS_NAME_SZ); 437 if (rc != 0) 448 if ((rc = netr_server_req_challenge(netr_handle, netr_info)) == 0) { 449 rc = netr_server_authenticate2(netr_handle, netr_info); 450 if (rc == 0) { 456 return ((rc) ? NT_STATUS_UNSUCCESSFUL : NT_STATUS_SUCCESS); 501 int rc; local 552 rc = memcmp(&netr_info->server_credential, &arg.server_credential, 556 return (rc); 568 int rc = SMBAUTH_FAILURE; local 672 int rc; local 746 int rc; local 862 int rc; local 1052 int rc; local 1346 int rc; local [all...] |
H A D | ntsvcs_clnt.c | 247 int rc = 0; local 260 rc = smb_kinit(principal, NULL); 268 rc = smb_kinit(principal, (char *)passwd); 271 if (rc != 0) 286 int rc; local 292 rc = smbfs_keychain_addhash((uid_t)-1, domain, username, NULL, nthash); 293 return (rc); 324 int rc; local 350 rc = ndr_rpc_setup_kerberos(username, fh_ctx.sf_realm); 351 if (rc ! 591 int rc; local 699 int rc; local 831 int rc; local 877 int rc; local [all...] |
H A D | winreg_svc.c | 869 int rc; local 876 rc = NDR_MSTRING(mxa, "", (ndr_mstring_t *)name); 878 if ((name == NULL) || (rc != 0)) {
|
/osnet-11/usr/src/lib/libdladm/common/ |
H A D | libdlflow.c | 262 int rc; local 276 rc = ioctl(dladm_dld_fd(handle), DLDIOC_ADDFLOW, &ioc); 277 if (rc < 0)
|
H A D | libdlvnic.c | 111 int rc, ioc_cmd; local 140 rc = ioctl(dladm_dld_fd(handle), ioc_cmd, &ioc); 141 if (rc < 0) 185 int rc; local 192 rc = ioctl(dladm_dld_fd(handle), VNIC_IOC_INFO, &ioc); 193 if (rc != 0) { 342 int rc; local 346 rc = ioctl(dladm_dld_fd(handle), VNIC_IOC_DELETE, &ioc); 347 if (rc < 0)
|