/titanic_51/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | new_host.c | 109 rc = CKR_MECHANISM_INVALID; \ 118 CK_RV rc = CKR_OK; in ST_Initialize() local 150 if ((rc = attach_shm()) != CKR_OK) in ST_Initialize() 163 rc = token_specific.t_init((char *)Correlator, SlotNumber, in ST_Initialize() 165 if (rc != 0) { in ST_Initialize() 170 rc = CKR_OK; in ST_Initialize() 178 rc = load_token_data(hContext, nv_token_data); in ST_Initialize() 180 if (rc != CKR_OK) { in ST_Initialize() 184 rc = load_public_token_objects(); in ST_Initialize() 185 if (rc ! in ST_Initialize() 204 CK_RV rc; SC_Finalize() local 251 CK_RV rc = CKR_OK; SC_GetTokenInfo() local 280 CK_RV rc = CKR_OK; SC_GetMechanismList() local 332 CK_RV rc = CKR_OK; SC_GetMechanismInfo() local 377 CK_RV rc = CKR_OK; SC_InitToken() local 451 CK_RV rc = CKR_OK; SC_InitPIN() local 514 CK_RV rc = CKR_OK; SC_SetPIN() local 553 CK_RV rc = CKR_OK; SC_OpenSession() local 603 CK_RV rc = CKR_OK; SC_CloseSession() local 632 CK_RV rc = CKR_OK; SC_CloseAllSessions() local 650 CK_RV rc = CKR_OK; SC_GetSessionInfo() local 681 CK_RV rc = CKR_OK; SC_GetOperationState() local 717 CK_RV rc = CKR_OK; SC_SetOperationState() local 748 CK_RV rc = CKR_OK; SC_Login() local 753 rc = pthread_mutex_lock(&login_mutex); SC_Login() local 847 CK_RV rc = CKR_OK; SC_Logout() local 884 CK_RV rc = CKR_OK; SC_CreateObject() local 919 CK_RV rc = CKR_OK; SC_CopyObject() local 951 CK_RV rc = CKR_OK; SC_DestroyObject() local 983 CK_RV rc = CKR_OK; SC_GetObjectSize() local 1010 CK_RV rc = CKR_OK; SC_GetAttributeValue() local 1037 CK_RV rc = CKR_OK; SC_SetAttributeValue() local 1063 CK_RV rc = CKR_OK; SC_FindObjectsInit() local 1102 CK_RV rc = CKR_OK; SC_FindObjects() local 1147 CK_RV rc = CKR_OK; SC_FindObjectsFinal() local 1186 CK_RV rc = CKR_OK; SC_EncryptInit() local 1233 CK_RV rc = CKR_OK; SC_Encrypt() local 1369 CK_RV rc = CKR_OK; SC_DecryptInit() local 1416 CK_RV rc = CKR_OK; SC_Decrypt() local 1460 CK_RV rc = CKR_OK; SC_DigestInit() local 1506 CK_RV rc = CKR_OK; SC_Digest() local 1550 CK_RV rc = CKR_OK; SC_DigestUpdate() local 1590 CK_RV rc = CKR_OK; SC_DigestKey() local 1625 CK_RV rc = CKR_OK; SC_DigestFinal() local 1668 CK_RV rc = CKR_OK; SC_SignInit() local 1714 CK_RV rc = CKR_OK; SC_Sign() local 1757 CK_RV rc = CKR_OK; SC_SignUpdate() local 1797 CK_RV rc = CKR_OK; SC_SignFinal() local 1840 CK_RV rc = CKR_OK; SC_SignRecoverInit() local 1885 CK_RV rc = CKR_OK; SC_SignRecover() local 1928 CK_RV rc = CKR_OK; SC_VerifyInit() local 1972 CK_RV rc = CKR_OK; SC_Verify() local 2010 CK_RV rc = CKR_OK; SC_VerifyUpdate() local 2049 CK_RV rc = CKR_OK; SC_VerifyFinal() local 2088 CK_RV rc = CKR_OK; SC_VerifyRecoverInit() local 2133 CK_RV rc = CKR_OK; SC_VerifyRecover() local 2181 CK_RV rc = CKR_OK; SC_GenerateKeyPair() local 2227 CK_RV rc = CKR_OK; SC_WrapKey() local 2275 CK_RV rc = CKR_OK; SC_UnwrapKey() local 2332 CK_RV rc = CKR_OK; SC_GenerateRandom() local [all...] |
H A D | asn1.c | 764 CK_RV rc; in ber_encode_PrivateKeyInfo() local 768 rc = ber_encode_INTEGER(TRUE, NULL, &total, version, sizeof (version)); in ber_encode_PrivateKeyInfo() 769 if (rc != CKR_OK) { in ber_encode_PrivateKeyInfo() 770 return (rc); in ber_encode_PrivateKeyInfo() 777 rc = ber_encode_OCTET_STRING(TRUE, NULL, &total, in ber_encode_PrivateKeyInfo() 780 if (rc != CKR_OK) in ber_encode_PrivateKeyInfo() 781 return (rc); in ber_encode_PrivateKeyInfo() 789 rc = ber_encode_SEQUENCE(TRUE, NULL, &total, NULL, len); in ber_encode_PrivateKeyInfo() 791 if (rc == CKR_OK) in ber_encode_PrivateKeyInfo() 793 return (rc); in ber_encode_PrivateKeyInfo() 842 CK_RV rc; ber_decode_PrivateKeyInfo() local 899 CK_RV rc; ber_encode_RSAPrivateKey() local 1078 CK_RV rc; ber_decode_RSAPrivateKey() local [all...] |
H A D | key_mgr.c | 40 CK_RV rc; in key_mgr_get_private_key_type() local 42 rc = ber_decode_PrivateKeyInfo(keydata, keylen, &alg, in key_mgr_get_private_key_type() 44 if (rc != CKR_OK) { in key_mgr_get_private_key_type() 45 return (rc); in key_mgr_get_private_key_type() 74 CK_RV rc; in key_mgr_generate_key_pair() local 130 rc = object_mgr_create_skel(sess, in key_mgr_generate_key_pair() 134 if (rc != CKR_OK) { in key_mgr_generate_key_pair() 137 rc = object_mgr_create_skel(sess, in key_mgr_generate_key_pair() 141 if (rc != CKR_OK) { in key_mgr_generate_key_pair() 147 rc in key_mgr_generate_key_pair() 248 CK_RV rc; key_mgr_wrap_key() local 365 CK_RV rc; key_mgr_unwrap_key() local [all...] |
H A D | mech_rsa.c | 43 CK_RV rc; in ckm_rsa_key_pair_gen() local 45 rc = token_specific.t_rsa_generate_keypair( in ckm_rsa_key_pair_gen() 48 return (rc); in ckm_rsa_key_pair_gen() 62 CK_RV rc; in ckm_rsa_encrypt() local 64 rc = template_attribute_find(key_obj->template, CKA_CLASS, &attr); in ckm_rsa_encrypt() 65 if (rc == FALSE) { in ckm_rsa_encrypt() 74 rc = token_specific.t_rsa_encrypt(hContext, in ckm_rsa_encrypt() 78 return (rc); in ckm_rsa_encrypt() 91 CK_RV rc; in ckm_rsa_decrypt() local 94 rc in ckm_rsa_decrypt() 123 CK_RV rc; ckm_rsa_sign() local 153 CK_RV rc; ckm_rsa_verify() local 187 CK_RV rc; rsa_pkcs_encrypt() local 230 CK_RV rc; rsa_pkcs_decrypt() local 274 CK_RV rc; rsa_pkcs_sign() local 318 CK_RV rc; rsa_pkcs_verify() local 357 CK_RV rc; rsa_pkcs_verify_recover() local 409 CK_RV rc; rsa_hash_pkcs_sign() local 483 CK_RV rc; rsa_hash_pkcs_sign_update() local 538 CK_RV rc; rsa_hash_pkcs_verify() local 611 CK_RV rc; rsa_hash_pkcs_verify_update() local 662 CK_RV rc; rsa_hash_pkcs_sign_final() local 744 CK_RV rc; rsa_hash_pkcs_verify_final() local [all...] |
H A D | mech_md5.c | 338 CK_RV rc; in md5_hmac_sign() local 363 rc = object_mgr_find_in_map1(sess->hContext, ctx->key, &key_obj); in md5_hmac_sign() 364 if (rc != CKR_OK) in md5_hmac_sign() 365 return (rc); in md5_hmac_sign() 366 rc = template_attribute_find(key_obj->template, CKA_VALUE, &attr); in md5_hmac_sign() 367 if (rc == FALSE) { in md5_hmac_sign() 380 rc = digest_mgr_init(sess, &digest_ctx, &digest_mech); in md5_hmac_sign() 381 if (rc != CKR_OK) { in md5_hmac_sign() 383 return (rc); in md5_hmac_sign() 387 rc in md5_hmac_sign() 495 CK_RV rc; md5_hmac_verify() local [all...] |
H A D | mech_sha.c | 72 CK_RV rc; in sha1_hmac_sign() local 96 rc = object_mgr_find_in_map1(sess->hContext, ctx->key, &key_obj); in sha1_hmac_sign() 97 if (rc != CKR_OK) { in sha1_hmac_sign() 98 return (rc); in sha1_hmac_sign() 100 rc = template_attribute_find(key_obj->template, CKA_VALUE, &attr); in sha1_hmac_sign() 101 if (rc == FALSE) { in sha1_hmac_sign() 112 rc = digest_mgr_init(sess, &digest_ctx, &digest_mech); in sha1_hmac_sign() 113 if (rc != CKR_OK) { in sha1_hmac_sign() 115 return (rc); in sha1_hmac_sign() 119 rc in sha1_hmac_sign() 225 CK_RV rc; sha1_hmac_verify() local [all...] |
H A D | object.c | 317 CK_RV rc; in object_create() local 355 rc = object_create_skel(pTemplate, ulCount, in object_create() 357 if (rc != CKR_OK) { in object_create() 358 return (rc); in object_create() 369 rc = template_attribute_find(o->template, CKA_SENSITIVE, &attr); in object_create() 370 if (rc == FALSE) { in object_create() 371 rc = CKR_FUNCTION_FAILED; in object_create() 377 rc = build_attribute(CKA_ALWAYS_SENSITIVE, &flag, in object_create() 379 if (rc != CKR_OK) { in object_create() 383 rc in object_create() 434 CK_RV rc; object_copy() local 523 long rc; object_flatten() local 616 CK_BBOOL rc; object_is_public() local 641 CK_BBOOL rc; object_is_session_object() local 669 CK_RV rc; object_get_attribute_values() local 715 CK_RV rc; object_set_attribute_values() local 761 CK_RV rc; object_restore() local 823 CK_RV rc; object_create_skel() local [all...] |
H A D | obj_mgr.c | 308 CK_RV rc = CKR_OK; in check_object_access() local 326 rc = CKR_USER_NOT_LOGGED_IN; in check_object_access() 331 rc = CKR_SESSION_READ_ONLY; in check_object_access() 338 rc = CKR_SESSION_READ_ONLY; in check_object_access() 345 rc = CKR_USER_NOT_LOGGED_IN; in check_object_access() 352 rc = CKR_USER_NOT_LOGGED_IN; in check_object_access() 357 return (rc); in check_object_access() 368 CK_RV rc; in object_mgr_add() local 374 rc = pthread_mutex_lock(&obj_list_mutex); in object_mgr_add() 375 if (rc ! in object_mgr_add() 552 CK_RV rc; object_mgr_copy() local 695 CK_RV rc; object_mgr_create_skel() local 757 CK_RV rc; object_mgr_create_final() local 875 CK_RV rc; object_mgr_destroy_object() local 956 CK_RV rc; object_mgr_destroy_token_objects() local 1230 CK_RV rc; object_mgr_find_build_list() local 1349 CK_RV rc; object_mgr_get_attribute_values() local 1386 CK_RV rc; object_mgr_get_object_size() local 1485 CK_RV rc; object_mgr_purge_session_objects() local 1513 CK_RV rc; object_mgr_purge_session_objects() local 1546 CK_RV rc; object_mgr_purge_token_objects() local 1555 CK_RV rc; object_mgr_purge_token_objects() local 1575 CK_RV rc; object_mgr_purge_token_objects() local 1600 CK_RV rc; object_mgr_purge_private_token_objects() local 1609 CK_RV rc; object_mgr_purge_private_token_objects() local 1660 CK_RV rc; object_mgr_restore_obj() local 1720 CK_RV rc; object_mgr_set_attribute_values() local 1835 CK_RV rc; object_mgr_del_from_shm() local 1903 CK_RV rc; object_mgr_check_shm() local 1979 CK_RV rc; object_mgr_update_publ_tok_obj_from_shm() local 2090 CK_RV rc; object_mgr_update_priv_tok_obj_from_shm() local [all...] |
/titanic_51/usr/src/uts/common/fs/zfs/ |
H A D | refcount.c | 59 refcount_create(refcount_t *rc) in refcount_create() argument 61 mutex_init(&rc->rc_mtx, NULL, MUTEX_DEFAULT, NULL); in refcount_create() 62 list_create(&rc->rc_list, sizeof (reference_t), in refcount_create() 64 list_create(&rc->rc_removed, sizeof (reference_t), in refcount_create() 66 rc->rc_count = 0; in refcount_create() 67 rc->rc_removed_count = 0; in refcount_create() 68 rc->rc_tracked = reference_tracking_enable; in refcount_create() 72 refcount_create_untracked(refcount_t *rc) in refcount_create_untracked() argument 74 refcount_create(rc); in refcount_create_untracked() 75 rc in refcount_create_untracked() 79 refcount_destroy_many(refcount_t * rc,uint64_t number) refcount_destroy_many() argument 100 refcount_destroy(refcount_t * rc) refcount_destroy() argument 106 refcount_is_zero(refcount_t * rc) refcount_is_zero() argument 112 refcount_count(refcount_t * rc) refcount_count() argument 118 refcount_add_many(refcount_t * rc,uint64_t number,void * holder) refcount_add_many() argument 140 refcount_add(refcount_t * rc,void * holder) refcount_add() argument 146 refcount_remove_many(refcount_t * rc,uint64_t number,void * holder) refcount_remove_many() argument 194 refcount_remove(refcount_t * rc,void * holder) refcount_remove() argument [all...] |
/titanic_51/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_reparse.c | 90 int rc; in smb_reparse_svcadd() local 92 if ((rc = smb_reparse_init(path, &nvl)) != 0) in smb_reparse_svcadd() 93 return (rc); in smb_reparse_svcadd() 95 if ((rc = reparse_add(nvl, svctype, svcdata)) != 0) { in smb_reparse_svcadd() 97 return (rc); in smb_reparse_svcadd() 100 rc = smb_reparse_set(path, nvl); in smb_reparse_svcadd() 103 return (rc); in smb_reparse_svcadd() 115 int rc; in smb_reparse_svcdel() local 117 if ((rc = smb_reparse_init(path, &nvl)) != 0) in smb_reparse_svcdel() 118 return (rc); in smb_reparse_svcdel() 153 int rc; smb_reparse_svcget() local 200 int rc; smb_reparse_init() local 240 int rc; smb_reparse_set() local [all...] |
/titanic_51/usr/src/cmd/nscd/ |
H A D | nscd_init.c | 60 nscd_rc_t rc; in _nscd_init() local 71 if ((rc = _nscd_alloc_nsw_config()) != NSCD_SUCCESS || in _nscd_init() 72 (rc = _nscd_alloc_service_state_table()) != NSCD_SUCCESS || in _nscd_init() 73 (rc = _nscd_alloc_nsw_state_base()) != NSCD_SUCCESS || in _nscd_init() 74 (rc = _nscd_alloc_nsw_be_info_db()) != NSCD_SUCCESS || in _nscd_init() 75 (rc = _nscd_alloc_getent_ctx_base()) != NSCD_SUCCESS) in _nscd_init() 76 return (rc); in _nscd_init() 82 if ((rc = _nscd_alloc_switch_cfg()) != NSCD_SUCCESS || in _nscd_init() 83 (rc = _nscd_alloc_frontend_cfg()) != NSCD_SUCCESS || in _nscd_init() 84 (rc in _nscd_init() 200 nscd_rc_t rc; _nscd_refresh() local [all...] |
/titanic_51/usr/src/uts/common/fs/zfs/sys/ |
H A D | refcount.h | 63 void refcount_create(refcount_t *rc); 64 void refcount_create_untracked(refcount_t *rc); 65 void refcount_destroy(refcount_t *rc); 66 void refcount_destroy_many(refcount_t *rc, uint64_t number); 67 int refcount_is_zero(refcount_t *rc); 68 int64_t refcount_count(refcount_t *rc); 69 int64_t refcount_add(refcount_t *rc, void *holder_tag); 70 int64_t refcount_remove(refcount_t *rc, void *holder_tag); 71 int64_t refcount_add_many(refcount_t *rc, uint64_t number, void *holder_tag); 72 int64_t refcount_remove_many(refcount_t *rc, uint64_ [all...] |
/titanic_51/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fksmb_init.c | 118 int rc; in fksmbsrv_drv_open() local 121 if ((rc = fksmbsrv_vfs_init()) != 0) { in fksmbsrv_drv_open() 122 cmn_err(CE_WARN, "fksmbsrv_vfs_init, rc=%d", rc); in fksmbsrv_drv_open() 123 return (rc); in fksmbsrv_drv_open() 125 if ((rc = smb_server_g_init()) != 0) { in fksmbsrv_drv_open() 126 cmn_err(CE_WARN, "smb_server_g_init, rc=%d", rc); in fksmbsrv_drv_open() 127 return (rc); in fksmbsrv_drv_open() 132 rc in fksmbsrv_drv_open() 139 int rc; fksmbsrv_drv_close() local 159 int rc = 0; fksmbsrv_drv_ioctl() local [all...] |
/titanic_51/usr/src/lib/librdc/common/ |
H A D | rdcconfig.c | 81 rdcconfig_t *rc; in rdc_dup_config() local 83 rc = (rdcconfig_t *)calloc(1, sizeof (*rc)); in rdc_dup_config() 84 if (!rc) { in rdc_dup_config() 89 *rc = *orig; in rdc_dup_config() 90 rc->next = NULL; /* don't want to hook into wrong chaing */ in rdc_dup_config() 91 return (rc); in rdc_dup_config() 112 if (rcp->rc == 0) { in chain_successful() 148 rdc_rc_t *rc; in new_rc() local 150 rc in new_rc() 161 rdc_rc_t rc; rdc_config() local 196 rdc_rc_t *rc[1]; rdc_mtconfig() local 316 rdc_free_rclist(rdc_rc_t * rc) rdc_free_rclist() argument 334 rdcconfig_t *rc; rdc_alloc_config() local 393 rdc_rc_t *rc = NULL; rdc_enable() local 478 rdc_rc_t *rc = NULL; rdc_enable_clrbmp() local 554 rdc_rc_t *rc = NULL; rdc_disable() local 600 rdc_rc_t *rc = NULL; rdc_log() local 635 rdc_rc_t *rc = NULL; rdc_usync() local 679 rdc_rc_t *rc = NULL; rdc_fsync() local 728 rdc_rc_t *rc = NULL; rdc_rsync() local 788 rdc_rc_t *rc = NULL; rdc_ursync() local 844 rdc_rc_t *rc = NULL; rdc_wait() local 879 rdc_rc_t *rc = NULL; rdc_set_autosync() local 917 rdc_rc_t *rc = NULL; rdc_set_maxqfbas() local 955 rdc_rc_t *rc = NULL; rdc_set_maxqitems() local 1049 rdc_rc_t *rc; rdc_reconfig_pbmp() local 1079 rdc_rc_t *rc; rdc_reconfig_sbmp() local 1109 rdc_rc_t *rc = NULL; rdc_reconfig_group() local 1161 rdc_rc_t *rc = NULL; rdc_set_sync() local 1205 rdc_rc_t *rc = NULL; rdc_set_async() local 1247 rdc_rc_t *rc = NULL; rdc_health() local 1285 rdc_rc_t *rc = NULL; rdc_reverse_role() local [all...] |
/titanic_51/usr/src/lib/libilb/common/ |
H A D | ilb_hc.c | 43 ilb_status_t rc; in ilb_create_hc() local 57 rc = i_ilb_do_comm(h, ic, ic_sz, ic, &ic_sz); in ilb_create_hc() 58 if (rc != ILB_STATUS_OK) in ilb_create_hc() 62 rc = *(ilb_status_t *)&ic->ic_data; in ilb_create_hc() 66 return (rc); in ilb_create_hc() 76 ilb_status_t rc; in ilb_destroy_hc() local 88 rc = i_ilb_do_comm(h, ic, ic_sz, ic, &ic_sz); in ilb_destroy_hc() 89 if (rc != ILB_STATUS_OK) in ilb_destroy_hc() 93 rc = *(ilb_status_t *)&ic->ic_data; in ilb_destroy_hc() 97 return (rc); in ilb_destroy_hc() 106 ilb_status_t rc; ilb_get_hc_info() local 145 ilb_status_t rc; ilb_walk_hc() local 191 ilb_status_t rc; ilb_get_hc_srvs() local 226 ilb_status_t rc; ilb_walk_hc_srvs() local [all...] |
/titanic_51/usr/src/uts/common/avs/ncall/ |
H A D | ncall.c | 231 int rc = DDI_FAILURE; in ncall_getinfo() local 237 rc = DDI_SUCCESS; in ncall_getinfo() 245 rc = DDI_SUCCESS; in ncall_getinfo() 252 return (rc); in ncall_getinfo() 271 int rc = 0; in ncall_register_module() local 288 rc = ENOMEM; in ncall_register_module() 292 return (rc); in ncall_register_module() 300 int rc = ESRCH; in ncall_unregister_module() local 307 rc = 0; in ncall_unregister_module() 314 return (rc); in ncall_unregister_module() 322 int rc = 0; ncall_stop() local 346 int rc = 0; ncallioctl() local 481 int rc = ENOLINK; ncall_alloc() local 496 int rc = ENOLINK; ncall_timedsend() local 515 int rc = ENOLINK; ncall_timedsendnotify() local 532 int rc = ENOLINK; ncall_broadcast() local 549 int rc = ENOLINK; ncall_send() local 567 int rc = ENOLINK; ncall_read_reply() local 599 int rc = ENOLINK; ncall_put_data() local 611 int rc = ENOLINK; ncall_get_data() local 623 int rc = -1; ncall_sender() local 665 int rc = ENOLINK; ncall_ping() local 674 int rc = 0; ncall_maxnodes() local 685 int rc = 0; ncall_nextnode() local 696 int rc = ENOLINK; ncall_errcode() local 708 int rc; ncallgetnodes() local [all...] |
/titanic_51/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | t4_ioctl.c | 50 int rc = ENOTSUP; in t4_ioctl() local 55 rc = pci_rw(sc, data, mode, cmd == T4_IOCTL_PCIPUT32); in t4_ioctl() 59 rc = reg_rw(sc, data, mode, cmd == T4_IOCTL_PUT32); in t4_ioctl() 62 rc = regdump(sc, data, mode); in t4_ioctl() 65 rc = get_sge_context(sc, data, mode); in t4_ioctl() 68 rc = get_devlog(sc, data, mode); in t4_ioctl() 71 rc = read_card_mem(sc, data, mode); in t4_ioctl() 74 rc = read_tid_tab(sc, data, mode); in t4_ioctl() 77 rc = read_mbox(sc, data, mode); in t4_ioctl() 80 rc in t4_ioctl() 158 int rc = 0, i; regdump() local 407 int rc = 0; get_sge_context() local 451 int rc = 0; read_tid_tab() local 483 int rc = 0; read_card_mem() local 576 int rc = 0; get_devlog() local 628 int rc = 0; read_cim_qcfg() local 654 int rc = 0; read_edc() local 708 int rc = 0; read_cim_ibq() local 742 int rc = 0; read_cim_la() local 780 int rc = 0, i; read_mbox() local [all...] |
/titanic_51/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_directory.c | 57 int rc; in smb_pre_create_directory() local 59 rc = smbsr_decode_data(sr, "%S", sr, in smb_pre_create_directory() 65 return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR); in smb_pre_create_directory() 77 int rc = 0; in smb_com_create_directory() local 92 if ((rc = smb_common_create_directory(sr)) != 0) { in smb_com_create_directory() 93 smbsr_errno(sr, rc); in smb_com_create_directory() 97 rc = smbsr_encode_empty_result(sr); in smb_com_create_directory() 98 return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR); in smb_com_create_directory() 113 int rc; in smb_common_create_directory() local 121 rc in smb_common_create_directory() 204 int rc; smb_pre_delete_directory() local 224 int rc; smb_com_delete_directory() local 359 int rc; smb_pre_check_directory() local 379 int rc; smb_com_check_directory() local [all...] |
/titanic_51/usr/src/lib/libsqlite/src/ |
H A D | test3.c | 31 static char *errorName(int rc){ in errorName() argument 33 switch( rc ){ in errorName() 66 int rc; in btree_open() local 73 rc = sqliteBtreeFactory(0, argv[1], 0, 1000, &pBt); in btree_open() 74 if( rc!=SQLITE_OK ){ in btree_open() 75 Tcl_AppendResult(interp, errorName(rc), 0); in btree_open() 98 int rc; in btree_close() local 105 rc = sqliteBtreeClose(pBt); in btree_close() 106 if( rc!=SQLITE_OK ){ in btree_close() 107 Tcl_AppendResult(interp, errorName(rc), in btree_close() 125 int rc; btree_begin_transaction() local 152 int rc; btree_rollback() local 179 int rc; btree_commit() local 206 int rc, iTable; btree_create_table() local 237 int rc; btree_drop_table() local 266 int rc; btree_clear_table() local 294 int rc; btree_get_meta() local 328 int rc; btree_update_meta() local 364 int rc; btree_page_dump() local 394 int rc; btree_tree_dump() local 521 int rc; btree_cursor() local 555 int rc; btree_close_cursor() local 583 int rc; btree_move_to() local 617 int rc; btree_delete() local 646 int rc; btree_insert() local 677 int rc; btree_next() local 711 int rc; btree_prev() local 744 int rc; btree_first() local 777 int rc; btree_last() local 809 int rc; btree_key() local 847 int rc; btree_data() local 923 int rc; btree_cursor_dump() local [all...] |
H A D | pager.c | 324 int rc; in read32bits() local 325 rc = sqliteOsRead(fd, &res, sizeof(res)); in read32bits() 326 if( rc==SQLITE_OK && format>JOURNAL_FORMAT_1 ){ in read32bits() 332 return rc; in read32bits() 382 int rc = SQLITE_OK; in pager_errcode() local 383 if( pPager->errMask & PAGER_ERR_LOCK ) rc = SQLITE_PROTOCOL; in pager_errcode() 384 if( pPager->errMask & PAGER_ERR_DISK ) rc = SQLITE_IOERR; in pager_errcode() 385 if( pPager->errMask & PAGER_ERR_FULL ) rc = SQLITE_FULL; in pager_errcode() 386 if( pPager->errMask & PAGER_ERR_MEM ) rc = SQLITE_NOMEM; in pager_errcode() 387 if( pPager->errMask & PAGER_ERR_CORRUPT ) rc in pager_errcode() 481 int rc; pager_unwritelock() local 536 int rc; pager_playback_one_page() local 648 int rc; pager_playback() local 788 int rc; pager_ckpt_playback() local 906 int rc; sqlitepager_opentemp() local 936 int rc, i; sqlitepager_open() local 1048 int rc; sqlitepager_truncate() local 1186 int rc = SQLITE_OK; syncJournal() local 1262 int rc; pager_write_pagelist() local 1322 int rc; sqlitepager_get() local 1346 int rc; sqlitepager_get() local 1424 int rc = syncJournal(pPager); sqlitepager_get() local 1530 int rc; sqlitepager_get() local 1643 int rc; pager_open_journal() local 1726 int rc = SQLITE_OK; sqlitepager_begin() local 1765 int rc = SQLITE_OK; sqlitepager_write() local 1899 int rc; sqlitepager_overwrite() local 1996 int rc; sqlitepager_commit() local 2061 int rc; sqlitepager_rollback() local 2120 int rc; sqlitepager_ckpt_begin() local 2187 int rc; sqlitepager_ckpt_rollback() local [all...] |
/titanic_51/usr/src/lib/libsldap/common/ |
H A D | ns_writes.c | 278 int k, rc, vlen; in __s_api_makeModListCount() local 409 rc = init_bval_mod(mods[i], mod_op, in __s_api_makeModListCount() 411 if (rc != 0) in __s_api_makeModListCount() 445 rc = init_bval_mod(mods[i], mod_op, in __s_api_makeModListCount() 447 if (rc != 0) in __s_api_makeModListCount() 470 rc = init_bval_mod(mods[i], mod_op, in __s_api_makeModListCount() 472 if (rc != 0) in __s_api_makeModListCount() 498 rc = init_bval_mod(mods[i], mod_op, in __s_api_makeModListCount() 500 if (rc != 0) in __s_api_makeModListCount() 532 rc in __s_api_makeModListCount() 672 int rc = NS_LDAP_SUCCESS; write_state_machine() local 1123 int rc = 0; __ns_ldap_addAttr() local 1159 int rc = 0; __ns_ldap_delAttr() local 1188 int rc, ldaprc; get_admin_passwd() local 1280 int rc = 0; __ns_ldap_repAttr() local 1365 int rc = 0; __ns_ldap_addEntry() local 1410 int rc; __ns_ldap_delEntry() local 1529 int rc; __s_cvt_passwd() local 1671 int rc; __s_cvt_project() local 1783 int rc; __s_cvt_shadow() local 1907 int rc; __s_cvt_group() local 2011 int rc; __s_cvt_hosts() local 2145 int rc; __s_cvt_rpc() local 2235 int rc; __s_cvt_protocols() local 2323 int rc; __s_cvt_services() local 2427 int rc; __s_cvt_networks() local 2519 int rc; __s_cvt_netmasks() local 2582 int rc; __s_cvt_netgroups() local 2680 int rc; __s_cvt_bootparams() local 2761 int rc; __s_cvt_ethers() local 2841 int rc = 0; modify_ethers_bootp() local 2934 int rc; __s_cvt_publickey() local 2997 int rc; __s_cvt_aliases() local 3077 int rc; __s_cvt_auto_mount() local 3180 int rc; __s_cvt_authattr() local 3272 int rc; __s_cvt_execattr() local 3383 int rc; __s_cvt_profattr() local 3467 int rc; __s_cvt_userattr() local 3549 int rc; __s_cvt_audituser() local 3616 int rc; __s_cvt_tnrhtp() local 3686 int rc; __s_cvt_tnrhdb() local 3802 int rc = 0; __ns_ldap_addTypedEntry() local 3982 int rc = NS_LDAP_SUCCESS, len = 0; __s_api_append_default_basedn() local 4119 int rc; send_to_cachemgr() local [all...] |
/titanic_51/usr/src/uts/common/ipp/meters/ |
H A D | tswtclddi.c | 110 int rc, rc2; in tswtcl_create_action() local 122 if ((rc = nvlist_lookup_string(nvlp, TSWTCL_RED_ACTION_NAME, in tswtcl_create_action() 128 return (rc); in tswtcl_create_action() 139 if ((rc = nvlist_lookup_string(nvlp, TSWTCL_YELLOW_ACTION_NAME, in tswtcl_create_action() 145 return (rc); in tswtcl_create_action() 156 if ((rc = nvlist_lookup_string(nvlp, TSWTCL_GREEN_ACTION_NAME, in tswtcl_create_action() 162 return (rc); in tswtcl_create_action() 173 if ((rc = nvlist_lookup_uint32(nvlp, TSWTCL_COMMITTED_RATE, in tswtcl_create_action() 179 return (rc); in tswtcl_create_action() 183 if ((rc in tswtcl_create_action() 468 int rc; tswtcl_destroy_action() local 499 int rc; tswtcl_invoke_action() local 517 int rc = 0; tswtcl_statinit() local 615 int rc; tswtcl_info() local [all...] |
/titanic_51/usr/src/cmd/sgs/libelf/common/ |
H A D | flag.c | 40 unsigned rc = 0; in elf_flagdata() local 54 rc = d->db_uflags |= flags; in elf_flagdata() 56 rc = d->db_uflags &= ~flags; in elf_flagdata() 60 return (rc); in elf_flagdata() 67 int rc; in elf_flagehdr() local 72 rc = elf->ed_ehflags |= flags; in elf_flagehdr() 74 return (rc); in elf_flagehdr() 78 rc = elf->ed_ehflags &= ~flags; in elf_flagehdr() 80 return (rc); in elf_flagehdr() 90 int rc; in elf_flagelf() local 113 int rc; elf_flagphdr() local 136 unsigned rc; elf_flagscn() local 163 unsigned rc; elf_flagshdr() local [all...] |
/titanic_51/usr/src/uts/common/ipp/ |
H A D | ippctl.c | 249 int rc; in _init() local 251 if ((rc = mod_install(&modlinkage)) != 0) { in _init() 253 return (rc); in _init() 256 return (rc); in _init() 265 int rc; in _fini() local 267 if ((rc = mod_remove(&modlinkage)) == 0) { in _fini() 268 return (rc); in _fini() 272 return (rc); in _fini() 299 int rc = DDI_FAILURE; in ippctl_info() local 304 rc in ippctl_info() 506 int rc; ippctl_ioctl() local 765 int rc; ippctl_extract_op() local 786 int rc; ippctl_extract_aname() local 810 int rc; ippctl_extract_modname() local 883 int rc; ippctl_extract_flags() local 907 int rc; ippctl_cmd() local 1137 int rc; ippctl_action_create() local 1193 int rc; ippctl_action_destroy() local 1229 int rc; ippctl_action_modify() local 1273 int rc; ippctl_action_info() local 1315 int rc; ippctl_action_mod() local 1369 int rc = 0; ippctl_list_mods() local 1455 int rc = 0; ippctl_mod_list_actions() local 1633 int rc; ippctl_add_nvlist() local 1674 int rc; ippctl_callback() local 1709 int rc; ippctl_set_rc() local [all...] |
/titanic_51/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/ |
H A D | piclfrutree.c | 478 picl_errno_t rc; in frutree_get_nodehdl() local 486 if ((rc = ptree_get_propval_by_name(nodeh, PICL_PROP_NAME, name, in frutree_get_nodehdl() 488 return (rc); in frutree_get_nodehdl() 557 picl_errno_t rc; in frutree_wd_evhandler() local 586 if ((rc = ptree_get_propval_by_name(wd_nodehdl, in frutree_wd_evhandler() 605 if ((rc = ptree_get_propval_by_name(wd_nodehdl, in frutree_wd_evhandler() 622 if ((rc = ptree_walk_tree_by_class(chassish, PICL_CLASS_FRU, in frutree_wd_evhandler() 633 if ((rc = post_piclevent(PICLEVENT_CONDITION_CHANGE, in frutree_wd_evhandler() 637 SANIBEL_PICLNODE_CPU, PICLEVENT_CONDITION_CHANGE, rc); in frutree_wd_evhandler() 1083 picl_errno_t rc in get_reference_handle() local 1563 picl_errno_t rc; create_table_entry() local 1611 picl_errno_t rc; create_property() local 1650 int rc = PICL_SUCCESS; initialize_frutree() local 1732 picl_errno_t rc; get_configuration_file() local 1790 picl_errno_t rc, rc1; update_loc_state() local 1935 picl_errno_t rc; get_loc_state() local 2009 picl_errno_t rc; update_fru_state() local 2142 picl_errno_t rc; update_fru_condition() local 2261 picl_errno_t rc; get_fru_state() local 2335 picl_errno_t rc; get_fru_condition() local 2414 picl_errno_t rc; probe_platform_tree() local 2484 picl_errno_t rc; create_fru_children() local 2556 picl_errno_t rc; probe_fru() local 2689 picl_errno_t rc = 0; frutree_update_hash() local 2702 picl_errno_t rc = PICL_SUCCESS; handle_fru_remove() local 2726 picl_errno_t rc = 0; frutree_handle_unconfigure() local 2773 picl_errno_t rc = 0, retval = 0; handle_fru_unconfigure() local 2842 picl_errno_t rc; create_fru_props() local 2910 picl_errno_t rc; connect_fru() local 2997 picl_errno_t rc; disconnect_fru() local 3123 picl_errno_t rc; handle_fru_configure() local 3159 picl_errno_t rc; configure_fru() local 3309 picl_errno_t rc; unconfigure_fru() local 3429 picl_errno_t rc; create_fru_node() local 3521 picl_errno_t rc; add_node2cache() local 3681 picl_errno_t rc; get_loc_type() local 3736 picl_errno_t rc; location_init() local 3840 picl_errno_t rc; get_port_condition() local 3880 picl_errno_t rc; get_port_state() local 3922 picl_errno_t rc; port_init() local 4051 picl_errno_t rc; init_scsi_slot() local 4166 picl_errno_t rc; frutree_initialize_children() local 4298 picl_errno_t rc; initiate_connects() local 4345 picl_errno_t rc; fru_init() local 4407 int rc; post_events() local 4480 int rc; do_action() local 4514 picl_errno_t rc = 0; frutree_update_chassis_state() local 4540 picl_errno_t rc; frutree_init() local 4606 picl_errno_t rc; init_thread() local 4678 picl_errno_t rc; post_piclevent() local 4829 picl_errno_t rc; reconfigure_chassis() local 4965 picl_errno_t rc; handle_chassis_configure() local 5000 picl_errno_t rc; handle_chassis_unconfigure() local 5036 picl_errno_t rc; configuration_fn() local 5117 picl_errno_t rc; handle_dr_event() local 5504 picl_errno_t rc; update_port_state() local 5618 picl_errno_t rc; monitor_nodes_under_fru() local 5684 picl_errno_t rc; monitor_fru() local 5797 picl_errno_t rc; create_children() local [all...] |