/illumos-gate/usr/src/lib/cfgadm_plugins/pci/common/ |
H A D | cfga.c | 269 int rv; in get_occupants() local 508 int rv; in check_rcm() local 578 int rv; in cfga_change_state() local 587 return (rv); in cfga_change_state() 593 rv = CFGA_OK; in cfga_change_state() 603 return (rv); in cfga_change_state() 614 return (rv); in cfga_change_state() 795 return (rv); in cfga_change_state() 1016 return (rv); in cfga_private_func() 1141 return (rv); in cfga_test() [all …]
|
/illumos-gate/usr/src/cmd/hotplug/ |
H A D | hotplug.c | 177 int i, rv; in main() local 300 int rv; in cmd_online() local 345 return (rv); in cmd_online() 361 int rv; in cmd_offline() local 402 return (rv); in cmd_offline() 417 int rv; in cmd_enable() local 473 int rv; in cmd_disable() local 538 int rv; in cmd_poweron() local 603 int rv; in cmd_poweroff() local 660 int rv; in cmd_getpriv() local [all …]
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softDecryptUtil.c | 49 CK_RV rv; in soft_remove_pkcs7_padding() local 56 return (rv); in soft_remove_pkcs7_padding() 88 CK_RV rv; in soft_decrypt_init() local 140 if (rv != CKR_OK) in soft_decrypt_init() 141 return (rv); in soft_decrypt_init() 167 return (rv); in soft_decrypt_init() 192 if (rv != CKR_OK) in soft_decrypt_init() 193 return (rv); in soft_decrypt_init() 221 return (rv); in soft_decrypt_init() 488 rv = CKR_OK; in soft_decrypt_final() [all …]
|
H A D | softSignUtil.c | 141 CK_RV rv = CKR_OK; in soft_sign() local 170 if ((rv == CKR_OK) && (pSignature != NULL)) in soft_sign() 173 return (rv); in soft_sign() 191 if ((rv == CKR_OK) && (pSignature != NULL)) in soft_sign() 194 return (rv); in soft_sign() 212 if ((rv == CKR_OK) && (pSignature != NULL)) in soft_sign() 215 return (rv); in soft_sign() 349 CK_RV rv = CKR_OK; in soft_sign_final() local 381 return (rv); in soft_sign_final() 401 return (rv); in soft_sign_final() [all …]
|
H A D | softMAC.c | 164 return (rv); in soft_hmac_sign_verify_init_common() 239 return (rv); in mac_init_ctx() 245 return (rv); in mac_init_ctx() 305 return (rv); in mac_init_ctx() 311 return (rv); in mac_init_ctx() 345 return (rv); in mac_init_ctx() 351 return (rv); in mac_init_ctx() 386 return (rv); in mac_init_ctx() 392 return (rv); in mac_init_ctx() 427 return (rv); in mac_init_ctx() [all …]
|
/illumos-gate/usr/src/cmd/cmd-crypto/cryptoadm/ |
H A D | adm_metaslot.c | 61 CK_RV rv; in list_metaslot_info() local 149 if (rv != CKR_OK) { in list_metaslot_info() 158 if (rv != CKR_OK) { in list_metaslot_info() 183 if (rv != CKR_OK) { in list_metaslot_info() 185 "code 0x%x\n", rv); in list_metaslot_info() 204 if (rv != CKR_OK) { in list_metaslot_info() 206 "code 0x%x\n", rv); in list_metaslot_info() 243 if (rv != CKR_OK) { in list_metaslot_info() 245 "code 0x%x\n", rv); in list_metaslot_info() 260 if (rv != CKR_OK) { in list_metaslot_info() [all …]
|
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | cryptoadm.c | 366 int rv; in get_dev_info() local 505 uint32_t rv; in load_dev_disabled() local 511 rv = CRYPTO_SUCCESS; in load_dev_disabled() 553 rv = CRYPTO_FAILED; in load_dev_disabled() 556 rv = CRYPTO_SUCCESS; in load_dev_disabled() 584 uint32_t rv; in load_soft_disabled() local 589 rv = CRYPTO_SUCCESS; in load_soft_disabled() 667 uint32_t rv; in load_soft_config() local 732 0, rv, error); in load_soft_config() 746 uint32_t rv; in unload_soft_module() local [all …]
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | drctl.c | 154 int rv; in _init() local 163 return (rv); in _init() 170 int rv; in _fini() local 173 return (rv); in _fini() 383 int rv = 0; in drctl_config_common() local 400 rv = 0; in drctl_config_common() 453 int rv; in drctl_config_init() local 515 return (rv); in drctl_config_init() 524 int rv; in drctl_config_fini() local 592 int rv; in drctl_ioctl() [all …]
|
H A D | vsw_phys.c | 183 int rv; in vsw_set_addrs() local 264 int rv; in vsw_mac_open() local 287 if (rv == ENOENT || rv == EBADF) { in vsw_mac_open() 389 int rv; in vsw_mac_multicast_add_all() local 479 int rv; in vsw_mac_client_init() local 688 int rv; in vsw_set_port_hw_addr() local 991 int rv; in vsw_port_mac_reconfig() local 1051 int rv; in vsw_if_mac_reconfig() local 1135 int rv; in vsw_mac_add_vlans() local 1266 int rv; in vsw_mac_set_mtu() local [all …]
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | ldap_print.c | 313 if (rv == 0) in printRuleValue() 316 if (rv->colName != 0) { in printRuleValue() 324 rv->colVal[i].val[0].value, in printRuleValue() 328 rv->colVal[i].val[0].value, in printRuleValue() 337 rv->colVal[i].val[j].value, in printRuleValue() 338 rv->colVal[i].val[j].length, in printRuleValue() 342 rv->colVal[i].val[j].value, in printRuleValue() 343 rv->colVal[i].val[j].length, in printRuleValue() 351 if (rv->attrName != 0) { in printRuleValue() 359 rv->attrVal[i].val[0].value, in printRuleValue() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | repval.c | 201 rep_val_t *rv; in find_rep_val() local 203 for (rv = uu_list_first(list); rv != NULL; in find_rep_val() 204 rv = uu_list_next(list, rv)) { in find_rep_val() 208 return (rv); in find_rep_val() 214 rep_val_t *rv; in add_rep_val() local 219 uu_list_node_init(rv, &rv->link, rep_val_pool); in add_rep_val() 220 rv->val = val; in add_rep_val() 230 rep_val_t *rv; in remove_rep_val() local 235 free(rv); in remove_rep_val() 243 rep_val_t *rv; in empty_rep_val_list() local [all …]
|
/illumos-gate/usr/src/psm/promif/ieee1275/sun4u/ |
H A D | prom_opl.c | 84 int rv; in prom_attach_notice() local 93 rv = p1275_cif_handler(&ci); in prom_attach_notice() 96 return ((rv) ? -1 : p1275_cell2int(ci[4])); in prom_attach_notice() 102 int rv; in prom_detach_notice() local 111 rv = p1275_cif_handler(&ci); in prom_detach_notice() 114 return ((rv) ? -1 : p1275_cell2int(ci[4])); in prom_detach_notice() 121 int rv; in prom_opl_switch_console() local 130 rv = p1275_cif_handler(&ci); in prom_opl_switch_console() 133 if (rv != 0) { in prom_opl_switch_console() 134 return (rv); in prom_opl_switch_console()
|
H A D | prom_sunfire.c | 62 int rv; in prom_sunfire_attach_board() local 70 rv = p1275_cif_handler(&ci); in prom_sunfire_attach_board() 73 if (rv != 0) in prom_sunfire_attach_board() 74 return (rv); in prom_sunfire_attach_board() 85 int rv; in prom_sunfire_detach_board() local 93 rv = p1275_cif_handler(&ci); in prom_sunfire_detach_board() 96 if (rv != 0) in prom_sunfire_detach_board() 97 return (rv); in prom_sunfire_detach_board()
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | scalls.c | 533 int rv; in getmsg() local 544 int rv; in getpmsg() local 555 int rv; in putmsg() local 566 int rv; in __xpg4_putmsg() local 577 int rv; in putpmsg() local 588 int rv; in __xpg4_putpmsg() local 717 int rv; in close() local 735 int rv; in door_call() local 745 int rv; in fcntl() local 760 int rv; in fdatasync() local [all …]
|
/illumos-gate/usr/src/lib/cfgadm_plugins/shp/common/ |
H A D | shp.c | 626 return (rv); in cfga_change_state() 632 rv = CFGA_OK; in cfga_change_state() 637 return (rv); in cfga_change_state() 770 return (rv); in cfga_change_state() 798 int i, n, rv; in prt_led_mode() local 814 return (rv); in prt_led_mode() 900 return (rv); in cfga_private_func() 996 return (rv); in cfga_private_func() 1016 return (rv); in cfga_test() 1397 return (rv); in cfga_list_ext() [all …]
|
/illumos-gate/usr/src/cmd/ldmad/ |
H A D | ldma_dio.c | 90 int rv; in ldma_dio_pcidev_info_handler() local 94 if (rv != 0) { in ldma_dio_pcidev_info_handler() 153 int rv = 0; in add_prom_string_prop() local 168 return (rv); in add_prom_string_prop() 182 int rv = 0; in add_prom_int_prop() local 200 return (rv); in add_prom_int_prop() 251 int rv; in create_children() local 275 if (rv != 0) in create_children() 288 int rv; in create_peers() local 292 if (rv != 0) in create_peers() [all …]
|
/illumos-gate/usr/src/cmd/expr/ |
H A D | expr.c | 244 char *rv; in arith() local 296 char *rv; in conj() local 305 rv = r2; in conj() 307 rv = r1; in conj() 311 rv = "0"; in conj() 313 rv = "0"; in conj() 315 rv = r1; in conj() 345 char *rv; in index() local 360 char *rv; in length() local 372 char *rv; in match() local [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/keyhash_provider/ |
H A D | k5_md5des.c | 59 CK_RV rv; in k5_md5des_hash() local 105 "rv = 0x%x.", rv); in k5_md5des_hash() 113 "rv = 0x%x", rv); in k5_md5des_hash() 121 "rv = 0x%x", rv); in k5_md5des_hash() 129 "rv = 0x%x", rv); in k5_md5des_hash() 168 CK_RV rv; in k5_md5des_verify() local 231 "rv = 0x%x.", rv); in k5_md5des_verify() 237 if ((rv = C_DigestUpdate(krb_ctx_hSession(context), in k5_md5des_verify() 240 "rv = 0x%x", rv); in k5_md5des_verify() 248 "rv = 0x%x", rv); in k5_md5des_verify() [all …]
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | cfg_link.c | 418 int rv; in di_propall_lookup_ints() local 439 int rv; in di_propall_lookup_strings() local 477 int rv; in di_propall_lookup_slot_names() local 548 int rv; in pci_cfg_ap_node() local 553 if (rv < 1) in pci_cfg_ap_node() 648 int rv; in pci_cfg_pcidev() local 701 int rv = 0; in pci_cfg_ap_path() local 800 rv = 1; in pci_cfg_ap_path() 815 rv = 1; in pci_cfg_ap_path() 834 rv = 1; in pci_cfg_ap_path() [all …]
|
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | pk11keys.c | 91 CK_RV rv; in kmf_create_pk11_session() local 465 return (rv); in PKCS_VerifyData() 473 return (rv); in PKCS_VerifyData() 491 if (rv) in PKCS_VerifyData() 541 return (rv); in PKCS_VerifyData() 571 return (rv); in PKCS_EncryptData() 579 return (rv); in PKCS_EncryptData() 687 return (rv); in PKCS_EncryptData() 727 return (rv); in GetIDFromSPKI() 753 return (rv); in GetIDFromSPKI() [all …]
|
/illumos-gate/usr/src/uts/common/io/net80211/ |
H A D | net80211_crypto_wep.c | 232 int rv; in wep_encrypt() local 246 if (rv != CRYPTO_SUCCESS) in wep_encrypt() 279 int rv; in wep_decrypt() local 293 if (rv != CRYPTO_SUCCESS) in wep_decrypt() 327 int rv; in rc4_init() local 341 if (rv != CRYPTO_SUCCESS) in rc4_init() 344 return (rv); in rc4_init() 357 int rv = CRYPTO_FAILED; in rc4_crypt() local 383 return (rv); in rc4_crypt() 395 int rv = CRYPTO_FAILED; in rc4_final() local [all …]
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/enc_provider/ |
H A D | aes_provider.c | 275 CK_RV rv; in krb5int_aes_encrypt() local 317 if (rv != CKR_OK) in krb5int_aes_encrypt() 322 if (rv != CKR_OK) in krb5int_aes_encrypt() 342 if (rv != CKR_OK) { in krb5int_aes_encrypt() 454 if (rv != CKR_OK) in krb5int_aes_encrypt() 468 if (rv != CKR_OK) in krb5int_aes_encrypt() 727 CK_RV rv; in krb5int_aes_decrypt() local 764 if (rv != CKR_OK) in krb5int_aes_decrypt() 928 if (rv != CKR_OK) in krb5int_aes_decrypt() 984 if (rv != CKR_OK) in krb5int_aes_decrypt() [all …]
|
/illumos-gate/usr/src/lib/libnisdb/yptol/ |
H A D | dit_access_utils.c | 533 if (rv) { in addSplitFieldValues() 667 rv)) { in buildNISRuleValue() 864 if (rv == 0 || nv == 0) in getKeyFromRuleValue() 1341 freeRuleValue(rv, nv); in singleWriteToDIT() 1449 val = &rv->attrVal[i]; in collapseRuleValue() 1606 __nis_rule_value_t *rv; in makeNISObject() local 1767 __nis_rule_value_t *rv; in addParent() local 1796 freeRuleValue(rv, nr); in addParent() 1880 __nis_rule_value_t *rv; in addNISObject() local 1960 freeRuleValue(rv, 1); in addNISObject() [all …]
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelEmulate.c | 119 CK_RV rv; in emulate_init() local 124 return (rv); in emulate_init() 132 return (rv); in emulate_init() 137 rv = do_soft_digest(get_spp(opp), NULL, pPart, \ 140 rv = do_soft_hmac_update(get_spp(opp), pPart, \ 154 CK_RV rv; in emulate_update() local 178 return (rv); in emulate_update() 212 if (rv != CKR_OK) in emulate_update() 213 return (rv); in emulate_update() 219 if (rv == CKR_OK) { in emulate_update() [all …]
|
/illumos-gate/usr/src/cmd/hotplugd/ |
H A D | hotplugd_rcm.c | 100 int rv; in copy_usage() local 105 return (rv); in copy_usage() 116 return (rv); in copy_usage() 126 return (rv); in copy_usage() 191 int rv = 0; in rcm_offline() local 210 rv = EBUSY; in rcm_offline() 226 return (rv); in rcm_offline() 291 int rv = 0; in get_rcm_usage() local 316 return (rv); in get_rcm_usage() 334 int rv; in merge_rcm_info() local [all …]
|