Home
last modified time | relevance | path

Searched refs:rc (Results 1 – 25 of 1489) sorted by relevance

12345678910>>...60

/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dbuiltin-overflow.c6 int rc = 0; in test() local
9 rc += __builtin_add_overflow(i, i, &i); in test()
10 rc += __builtin_add_overflow(l, i, &i); in test()
11 rc += __builtin_add_overflow(i, l, &i); in test()
58 rc += __builtin_add_overflow(); in test()
59 rc += __builtin_add_overflow(i); in test()
82 rc += __builtin_sub_overflow(); in test()
83 rc += __builtin_sub_overflow(i); in test()
106 rc += __builtin_mul_overflow(); in test()
107 rc += __builtin_mul_overflow(i); in test()
[all …]
/illumos-gate/usr/src/test/libc-tests/tests/threads/
H A Dthread_name.c51 int rc; in main() local
68 if (rc != 0) in main()
81 if (rc != ERANGE) in main()
97 if (rc != 0) in main()
110 if (rc != ESRCH) in main()
115 if (rc != ESRCH) in main()
132 if (rc != 0) in main()
137 if (rc != 0) in main()
153 if (rc != 0) in main()
171 if (rc != 0) in main()
[all …]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dnew_host.c197 return (rc); in ST_Initialize()
204 CK_RV rc; in SC_Finalize() local
213 return (rc); in SC_Finalize()
242 return (rc); in SC_Finalize()
269 return (rc); in SC_GetTokenInfo()
313 rc = CKR_OK; in SC_GetMechanismList()
321 return (rc); in SC_GetMechanismList()
366 return (rc); in SC_GetMechanismInfo()
441 return (rc); in SC_InitToken()
503 return (rc); in SC_InitPIN()
[all …]
H A Dasn1.c764 CK_RV rc; in ber_encode_PrivateKeyInfo() local
770 return (rc); in ber_encode_PrivateKeyInfo()
828 return (rc); in ber_encode_PrivateKeyInfo()
842 CK_RV rc; in ber_decode_PrivateKeyInfo() local
866 return (rc); in ber_decode_PrivateKeyInfo()
899 CK_RV rc; in ber_encode_RSAPrivateKey() local
902 rc = 0; in ber_encode_RSAPrivateKey()
953 rc = 0; in ber_encode_RSAPrivateKey()
1049 return (rc); in ber_encode_RSAPrivateKey()
1078 CK_RV rc; in ber_decode_RSAPrivateKey() local
[all …]
H A Dkey_mgr.c40 CK_RV rc; in key_mgr_get_private_key_type() local
45 return (rc); in key_mgr_get_private_key_type()
74 CK_RV rc; in key_mgr_generate_key_pair() local
217 return (rc); in key_mgr_generate_key_pair()
228 return (rc); in key_mgr_generate_key_pair()
248 CK_RV rc; in key_mgr_wrap_key() local
334 return (rc); in key_mgr_wrap_key()
345 return (rc); in key_mgr_wrap_key()
365 CK_RV rc; in key_mgr_unwrap_key() local
500 return (rc); in key_mgr_unwrap_key()
[all …]
H A Dmech_rsa.c43 CK_RV rc; in ckm_rsa_key_pair_gen() local
48 return (rc); in ckm_rsa_key_pair_gen()
62 CK_RV rc; in ckm_rsa_encrypt() local
78 return (rc); in ckm_rsa_encrypt()
91 CK_RV rc; in ckm_rsa_decrypt() local
110 return (rc); in ckm_rsa_decrypt()
123 CK_RV rc; in ckm_rsa_sign() local
140 return (rc); in ckm_rsa_sign()
153 CK_RV rc; in ckm_rsa_verify() local
357 CK_RV rc; in rsa_pkcs_verify_recover() local
[all …]
H A Dmech_md5.c338 CK_RV rc; in md5_hmac_sign() local
365 return (rc); in md5_hmac_sign()
424 return (rc); in md5_hmac_sign()
431 return (rc); in md5_hmac_sign()
438 return (rc); in md5_hmac_sign()
445 return (rc); in md5_hmac_sign()
454 return (rc); in md5_hmac_sign()
461 return (rc); in md5_hmac_sign()
467 return (rc); in md5_hmac_sign()
495 CK_RV rc; in md5_hmac_verify() local
[all …]
H A Dobject.c317 CK_RV rc; in object_create() local
411 return (rc); in object_create()
434 CK_RV rc; in object_copy() local
511 return (rc); in object_copy()
523 long rc; in object_flatten() local
620 if (rc) in object_is_public()
645 if (rc) in object_is_session_object()
669 CK_RV rc; in object_get_attribute_values() local
715 CK_RV rc; in object_set_attribute_values() local
761 CK_RV rc; in object_restore() local
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Drefcount.c66 rc->rc_count = 0; in zfs_refcount_create()
74 zfs_refcount_create(rc); in zfs_refcount_create_tracked()
75 rc->rc_tracked = B_TRUE; in zfs_refcount_create_tracked()
121 return (rc->rc_count); in zfs_refcount_count()
130 if (rc->rc_tracked) { in zfs_refcount_add_many()
137 if (rc->rc_tracked) in zfs_refcount_add_many()
139 rc->rc_count += number; in zfs_refcount_add_many()
140 count = rc->rc_count; in zfs_refcount_add_many()
161 if (!rc->rc_tracked) { in zfs_refcount_remove_many()
163 count = rc->rc_count; in zfs_refcount_remove_many()
[all …]
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Decore_phy.c85 return rc; in ecore_phy_core_write()
97 return rc; in ecore_phy_core_write()
112 return rc; in ecore_phy_core_read()
127 return rc; in ecore_phy_core_read()
141 return rc; in ecore_phy_raw_write()
148 return rc; in ecore_phy_raw_write()
160 return rc; in ecore_phy_raw_write()
176 return rc; in ecore_phy_raw_read()
183 return rc; in ecore_phy_raw_read()
199 return rc; in ecore_phy_raw_read()
[all …]
/illumos-gate/usr/src/cmd/bhyve/
H A Drfb.c398 zbufp = rc->zbuf + rc->zstream.total_out; in rfb_send_rect()
467 rc->zstream.next_out = (Bytef *)rc->zbuf; in rfb_send_all()
757 rc = arg; in rfb_wr_thr()
1041 rc->cfd = -1; in rfb_handle()
1056 rc = arg; in rfb_thr()
1119 rc->sfd = -1; in rfb_init()
1174 pthread_create(&rc->tid, NULL, rfb_thr, rc); in rfb_init()
1180 pthread_cond_wait(&rc->cond, &rc->mtx); in rfb_init()
1195 free(rc); in rfb_init()
1210 rc->sfd = -1; in rfb_init_unix()
[all …]
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_reparse.c90 int rc; in smb_reparse_svcadd() local
103 return (rc); in smb_reparse_svcadd()
115 int rc; in smb_reparse_svcdel() local
128 if ((rc != 0) && (rc == ENOENT)) in smb_reparse_svcdel()
129 rc = 0; in smb_reparse_svcdel()
135 return (rc); in smb_reparse_svcdel()
153 int rc; in smb_reparse_svcget() local
173 rc = 0; in smb_reparse_svcget()
200 int rc; in smb_reparse_init() local
240 int rc; in smb_reparse_set() local
[all …]
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfksmb_init.c123 int rc; in fksmbsrv_drv_open() local
128 return (rc); in fksmbsrv_drv_open()
132 return (rc); in fksmbsrv_drv_open()
138 return (rc); in fksmbsrv_drv_open()
145 int rc; in fksmbsrv_drv_close() local
148 if (rc == 0) in fksmbsrv_drv_close()
156 return (rc); in fksmbsrv_drv_close()
167 int rc = 0; in fksmbsrv_drv_ioctl() local
177 rc = smb_server_stop(); in fksmbsrv_drv_ioctl()
210 rc = ENOTTY; in fksmbsrv_drv_ioctl()
[all …]
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_init.c60 nscd_rc_t rc; in _nscd_init() local
76 return (rc); in _nscd_init()
85 return (rc); in _nscd_init()
113 rc); in _nscd_init()
114 return (rc); in _nscd_init()
123 return (rc); in _nscd_init()
133 return (rc); in _nscd_init()
149 return (rc); in _nscd_init()
180 return (rc); in _nscd_init()
200 nscd_rc_t rc; in _nscd_refresh() local
[all …]
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Def10_nvram.c146 efx_rc_t rc; in tlv_advance() local
173 return (rc); in tlv_advance()
180 efx_rc_t rc; in tlv_rewind() local
192 return (rc); in tlv_rewind()
200 efx_rc_t rc; in tlv_find() local
209 return (rc); in tlv_find()
216 efx_rc_t rc; in tlv_validate_state() local
255 return (rc); in tlv_validate_state()
307 efx_rc_t rc; in tlv_require_end() local
323 return (rc); in tlv_require_end()
[all …]
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dcudbg_lib.c168 if (rc) in read_sge_ctxt()
650 if (rc) in collect_rss()
664 if (rc) in collect_rss()
689 if (rc) in collect_sw_state()
700 if (rc) in collect_sw_state()
725 if (rc) in collect_ddp_stats()
735 if (rc) in collect_ddp_stats()
760 if (rc) in collect_ulptx_la()
783 if (rc) in collect_ulptx_la()
809 if (rc) in collect_ulprx_la()
[all …]
H A Dt4_ioctl.c105 return (rc); in t4_ioctl()
1218 int rc = 0; in get_sge_context() local
1262 int rc = 0; in read_tid_tab() local
1345 int rc = 0; in read_card_mem() local
1400 int rc = 0; in get_devlog() local
1421 rc = (rc == 0) ? ENOBUFS : EFAULT; in get_devlog()
1456 int rc = 0; in read_cim_qcfg() local
1495 int rc = 0; in read_edc() local
1550 int rc = 0; in read_cim_ibq() local
1569 rc = 0; in read_cim_ibq()
[all …]
/illumos-gate/usr/src/lib/libilb/common/
H A Dilb_hc.c43 ilb_status_t rc; in ilb_create_hc() local
66 return (rc); in ilb_create_hc()
76 ilb_status_t rc; in ilb_destroy_hc() local
97 return (rc); in ilb_destroy_hc()
136 return (rc); in ilb_get_hc_info()
184 return (rc); in ilb_walk_hc()
212 return (rc); in ilb_get_hc_srvs()
219 return (rc); in ilb_get_hc_srvs()
235 return (rc); in ilb_walk_hc_srvs()
250 return (rc); in ilb_walk_hc_srvs()
[all …]
/illumos-gate/usr/src/cmd/smbsrv/test-msgbuf/
H A Dtest_msgbuf.c45 int rc; in msg_put_a0() local
77 int rc; in msg_put_a1() local
106 int rc; in msg_put_apad() local
136 int rc; in msg_put_atrunc() local
170 int rc; in msg_put_u0() local
202 int rc; in msg_put_u1() local
230 int rc; in msg_put_u3() local
258 int rc; in msg_put_u4() local
287 int rc; in msg_put_upad() local
317 int rc; in msg_put_utrunc() local
[all …]
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dtest3.c66 int rc; in btree_open() local
98 int rc; in btree_close() local
125 int rc; in btree_begin_transaction() local
152 int rc; in btree_rollback() local
179 int rc; in btree_commit() local
237 int rc; in btree_drop_table() local
266 int rc; in btree_clear_table() local
294 int rc; in btree_get_meta() local
328 int rc; in btree_update_meta() local
364 int rc; in btree_page_dump() local
[all …]
H A Dpager.c324 int rc; in read32bits() local
481 int rc; in pager_unwritelock() local
542 if( rc!=SQLITE_OK ) return rc; in pager_playback_one_page()
544 if( rc!=SQLITE_OK ) return rc; in pager_playback_one_page()
559 if( rc ) return rc; in pager_playback_one_page()
1205 if( rc!=0 ) return rc; in syncJournal()
1215 if( rc!=0 ) return rc; in syncJournal()
1219 if( rc ) return rc; in syncJournal()
1226 if( rc!=0 ) return rc; in syncJournal()
1273 if( rc ) return rc; in pager_write_pagelist()
[all …]
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_writes.c1412 int rc; in __ns_ldap_delEntry() local
1531 int rc; in __s_cvt_passwd() local
1673 int rc; in __s_cvt_project() local
1785 int rc; in __s_cvt_shadow() local
1909 int rc; in __s_cvt_group() local
2013 int rc; in __s_cvt_hosts() local
2147 int rc; in __s_cvt_rpc() local
2237 int rc; in __s_cvt_protocols() local
2325 int rc; in __s_cvt_services() local
2429 int rc; in __s_cvt_networks() local
[all …]
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb2_sign.c101 int rc; in smb2_sign_init() local
110 if (rc != 0) in smb2_sign_init()
134 if (rc != 0) in smb2_sign_init()
180 int rc; in smb3_do_kdf() local
190 if (rc != 0) in smb3_do_kdf()
222 int rc; in smb2_compute_MAC() local
231 if (rc != 0) in smb2_compute_MAC()
245 if (rc != 0) in smb2_compute_MAC()
254 if (rc != 0) in smb2_compute_MAC()
282 int rc; in smb2_rq_sign() local
[all …]
/illumos-gate/usr/src/uts/common/ipp/meters/
H A Dtswtclddi.c110 int rc, rc2; in tswtcl_create_action() local
128 return (rc); in tswtcl_create_action()
145 return (rc); in tswtcl_create_action()
162 return (rc); in tswtcl_create_action()
179 return (rc); in tswtcl_create_action()
189 return (rc); in tswtcl_create_action()
277 return (rc); in tswtcl_create_action()
468 int rc; in tswtcl_destroy_action() local
499 int rc; in tswtcl_invoke_action() local
517 int rc = 0; in tswtcl_statinit() local
[all …]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_directory.c57 int rc; in smb_pre_create_directory() local
76 int rc = 0; in smb_com_create_directory() local
112 int rc; in smb_common_create_directory() local
122 if (rc != 0) in smb_common_create_directory()
123 return (rc); in smb_common_create_directory()
140 return (rc); in smb_common_create_directory()
165 return (rc); in smb_common_create_directory()
203 int rc; in smb_pre_delete_directory() local
222 int rc; in smb_com_delete_directory() local
353 int rc; in smb_pre_check_directory() local
[all …]

12345678910>>...60