Searched defs:rv (Results 51 - 75 of 965) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/uts/common/io/mii/
H A Dmii_qualsemi.c59 int rv; local
77 rv = phy_check(ph);
88 return (rv);
/illumos-gate/usr/src/uts/intel/nskern/
H A Dnsc_asm.s54 uint8_t rv;
55 rv = *cp; define
57 return (rv);
/illumos-gate/usr/src/uts/sparc/nskern/
H A Dnsc_asm.s53 uint8_t rv;
54 rv = *cp; define
56 return (rv);
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A Dpkcs11DualCrypt.c46 CK_RV rv; local
60 HANDLE2SESSION(hSession, sessp, rv);
62 if (rv != CKR_OK) {
63 return (rv);
67 rv = FUNCLIST(sessp->se_slotid)->
72 if (rv == CKR_FUNCTION_NOT_SUPPORTED) {
76 return (rv);
91 CK_RV rv; local
106 HANDLE2SESSION(hSession, sessp, rv);
108 if (rv !
137 CK_RV rv; local
181 CK_RV rv; local
[all...]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelRand.c41 CK_RV rv; local
48 rv = handle2session(hSession, &session_p);
49 if (rv != CKR_OK)
50 return (rv);
66 rv = CKR_FUNCTION_FAILED;
69 rv = crypto2pkcs11_error_number(
72 rv = CKR_OK;
77 return (rv);
87 CK_RV rv; local
94 rv
[all...]
H A DkernelSlottable.c38 CK_RV rv; local
52 rv = CKR_FUNCTION_FAILED;
55 rv = crypto2pkcs11_error_number(pl->pl_return_value);
57 rv = CKR_OK;
61 if (rv == CKR_OK) {
66 return (rv);
105 CK_RV rv = CKR_OK; local
118 rv = CKR_FUNCTION_FAILED;
121 rv = CKR_OK;
123 rv
172 CK_RV rv = CKR_OK; local
[all...]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftDualCrypt.c41 CK_RV rv; local
47 rv = C_EncryptUpdate(hSession, pPart, ulPartLen,
50 if (rv != CKR_OK)
51 return (rv);
69 CK_RV rv; local
75 rv = C_DecryptUpdate(hSession, pEncryptedPart, ulEncryptedPartLen,
78 if (rv != CKR_OK)
79 return (rv);
98 CK_RV rv; local
104 rv
126 CK_RV rv; local
[all...]
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_tree.c155 int rv = 0; local
186 if ((rv = topo_file_load(tp->tt_root->tn_enum,
196 if (rv != 0)
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/
H A Dx86pi_chassis.c42 int rv; local
60 rv = smbios_info_common(shp, smb_id, &ip);
61 if (rv != 0) {
66 rv = smbios_info_chassis(shp, smb_id, &ch);
67 if (rv != 0) {
93 rv = x86pi_enum_generic(mod, &ch_hcfmri, t_parent, NULL,
96 rv = x86pi_enum_generic(mod, &ch_hcfmri, t_parent, t_parent,
99 if (rv != 0) {
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/hash_provider/
H A Dhash_ef_generic.c18 CK_RV rv; local
22 if ((rv = C_DigestInit(krb_ctx_hSession(context), mechanism)) !=
25 "rv = 0x%x.", rv);
30 if ((rv = C_DigestUpdate(krb_ctx_hSession(context),
34 "rv = 0x%x", rv);
39 if ((rv = C_DigestFinal(krb_ctx_hSession(context),
42 "rv = 0x%x", rv);
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/
H A Dpkcs11slot.c124 CK_RV rv; local
131 if ((rv = get_algo(tempenctype, &algos)) != CKR_OK) {
145 rv = C_GetMechanismInfo(*slotid, algos.enc_algo, &info);
146 if (rv != CKR_OK) {
150 rv);
173 rv = C_GetMechanismInfo(*slotid, algos.hash_algo,
175 if (rv != CKR_OK) {
179 rv);
186 rv = C_GetMechanismInfo(*slotid, algos.str2key_algo,
188 if (rv !
[all...]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dmbgetwidth.c98 int rv; local
102 rv = _curs_scrwidth[0];
105 rv = _curs_scrwidth[1];
108 rv = _curs_scrwidth[2];
111 rv = 1;
115 return (rv);
H A Dwaddch.c59 int rv = OK; local
77 rv = _mbaddch(win, rawattrs, RBYTE(rawc));
115 rv = ERR;
132 (rv = _mbclrch(win, y, x)) == ERR) {
156 rv = ERR;
206 return ((savimmed == 1) ? wrefresh(win) : rv);
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dvwprintw.c60 int n, rv; local
77 rv = waddnstr(w, buffer, -1);
79 return (rv);
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dsidsys.c39 sysret_t rv; local
42 e = __systemcall(&rv, SYS_sidsys, SIDSYS_ALLOC_IDS, flag, nuids, ngids);
50 *suid = (uid_t)rv.sys_rval1;
52 *sgid = (gid_t)rv.sys_rval2;
/illumos-gate/usr/src/cmd/vntsd/
H A Dread.c88 int rv; local
112 rv = vntsd_que_rm(&(consp->clientpq), clientp);
113 assert(rv == VNTSD_SUCCESS);
121 rv = vntsd_que_insert_after(consp->clientpq, clientp, writerp);
127 if (rv != VNTSD_SUCCESS) {
128 return (rv);
133 if ((rv = vntsd_write_line(writerp,
136 return (rv);
164 int rv; local
168 rv
208 int rv; local
[all...]
H A Dwrite.c194 int rv; local
196 rv = vntsd_write_client(clientp, write_buf->buf, write_buf->sz);
197 if (rv != VNTSD_SUCCESS) {
214 int rv; local
226 rv = read_vcc(consp, buf, &sz);
228 write_chk_status(consp, rv);
/illumos-gate/usr/src/common/crypto/aes/
H A Daes_modes.c81 int rv; local
84 rv = ctr_mode_contiguous_blocks(ctx, data, length, out,
88 rv = ccm_mode_encrypt_contiguous_blocks(ctx, data, length,
92 rv = gcm_mode_encrypt_contiguous_blocks(ctx, data, length,
97 rv = cbc_encrypt_contiguous_blocks(ctx,
101 rv = ecb_cipher_contiguous_blocks(ctx, data, length, out,
104 return (rv);
116 int rv; local
119 rv = ctr_mode_contiguous_blocks(ctx, data, length, out,
121 if (rv
[all...]
/illumos-gate/usr/src/common/crypto/padding/
H A Dpkcs1.c68 int rv; local
75 rv = 0;
82 rv = knzero_random_generator(padbuf + 2, padlen - 3);
84 rv = (pkcs11_get_nzero_urandom(padbuf + 2, padlen - 3) < 0) ?
95 if (rv != 0) {
96 return (rv);
120 int rv = ((method == PKCS1_DECRYPT) ? CKR_ENCRYPTED_DATA_INVALID : local
127 return (rv);
135 return (rv);
141 return (rv);
[all...]
/illumos-gate/usr/src/lib/brand/sn1/sn1_brand/common/
H A Dsn1_brand.c63 sn1_uname(sysret_t *rv, uintptr_t p1) argument
68 if ((err = __systemcall(rv, SYS_uname + 1024, &un)) != 0)
97 sn1_##name(sysret_t *rv, \
101 return (__systemcall(rv, num + 1024, \
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_wr.c187 int rc, rv, i; local
208 if ((rv = cb(wn, arg)) < 0)
211 i += rv;
/illumos-gate/usr/src/cmd/mdb/sun4u/modules/serengeti/sgsbbc/
H A Dsgsbbc.c56 int rv; /* return value from mdb function */ local
65 rv = mdb_vread(&softp, sizeof (sbbc_softstate_t), addr);
66 if (rv != sizeof (sbbc_softstate_t)) {
/illumos-gate/usr/src/cmd/cmd-crypto/kmfcfg/
H A Dexport.c42 int rv = KC_OK; local
55 filename = get_string(optarg_av, &rv);
62 policyname = get_string(optarg_av, &rv);
69 outfile = get_string(optarg_av, &rv);
78 rv = KC_ERR_USAGE;
82 if (rv != KC_OK)
91 rv = KC_ERR_USAGE;
98 rv = KC_ERR_MEMORY;
106 rv = KC_ERR_USAGE;
113 rv
[all...]
H A Dimport.c43 int rv = KC_OK; local
56 filename = get_string(optarg_av, &rv);
63 policyname = get_string(optarg_av, &rv);
70 infile = get_string(optarg_av, &rv);
79 rv = KC_ERR_USAGE;
83 if (rv != KC_OK)
93 rv = KC_ERR_USAGE;
100 rv = KC_ERR_MEMORY;
108 rv = KC_ERR_USAGE;
115 rv
[all...]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/des/
H A Dd3_cbc.c42 CK_RV rv; local
46 if ((rv = get_algo(key->enctype, &algos)) != CKR_OK) {
53 rv = init_key_uef(krb_ctx_hSession(context), key);
54 if (rv != CKR_OK) {
56 "mit_des3_cbc_encrypt: rv = 0x%0x", rv);
69 rv = C_EncryptInit(krb_ctx_hSession(context), &mechanism, key->hKey);
71 rv = C_DecryptInit(krb_ctx_hSession(context), &mechanism, key->hKey);
73 if (rv != CKR_OK) {
75 "mit_des3_cbc_encrypt: rv
[all...]

Completed in 105 milliseconds

1234567891011>>