Searched defs:rv (Results 76 - 100 of 965) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/des/
H A Def_crypto.c20 int rv = CRYPTO_FAILED; local
62 rv = crypto_encrypt(&mech, &d1,
68 rv = crypto_decrypt(&mech, &d1,
74 if (rv != CRYPTO_SUCCESS) {
76 "k5_ef_crypto: %s error: rv = 0x%08x",
78 rv);
H A Df_cbc.c45 CK_RV rv; local
49 if ((rv = get_algo(key->enctype, &algos)) != CKR_OK) {
56 rv = init_key_uef(krb_ctx_hSession(context), key);
57 if (rv != CKR_OK) {
59 "mit_des_cbc_encrypt: rv = 0x%x", rv);
72 rv = C_EncryptInit(krb_ctx_hSession(context), &mechanism, key->hKey);
74 rv = C_DecryptInit(krb_ctx_hSession(context), &mechanism, key->hKey);
76 if (rv != CKR_OK) {
78 "mit_des_cbc_encrypt: rv
[all...]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/hash_provider/
H A Dhash_kef_generic.c21 int rv = CRYPTO_FAILED; local
50 rv = crypto_digest_init(&mech, &ctxp, NULL);
51 if (rv != CRYPTO_SUCCESS) {
52 KRB5_LOG(KRB5_ERR, "crypto_digest_init error: %0x", rv);
53 return (rv);
64 rv = crypto_digest_update(ctxp, &d1, NULL);
65 if (rv != CRYPTO_SUCCESS) {
67 "crypto_digest_update error: %0x", rv);
69 return (rv);
73 rv
94 int rv; local
[all...]
/illumos-gate/usr/src/psm/promif/ieee1275/common/
H A Dprom_2path.c50 int rv; local
71 rv = p1275_cif_handler(&ci);
82 if (rv != 0)
H A Dprom_key.c44 int rv; local
98 rv = p1275_cif_handler(ci);
108 if (rv != 0)
126 int rv; local
174 rv = p1275_cif_handler(ci);
186 if (rv != 0)
/illumos-gate/usr/src/psm/promif/ieee1275/sun4/
H A Dprom_cpuctl.c92 int rv; local
100 rv = p1275_cif_handler(&ci);
103 if (rv != 0)
104 return (rv);
113 int rv; local
121 rv = p1275_cif_handler(&ci);
124 if (rv != 0)
/illumos-gate/usr/src/psm/promif/ieee1275/sun4u/
H A Dprom_opl.c84 int rv; local
93 rv = p1275_cif_handler(&ci);
96 return ((rv) ? -1 : p1275_cell2int(ci[4]));
102 int rv; local
111 rv = p1275_cif_handler(&ci);
114 return ((rv) ? -1 : p1275_cell2int(ci[4]));
121 int rv; local
130 rv = p1275_cif_handler(&ci);
133 if (rv != 0) {
134 return (rv);
[all...]
H A Dprom_starcat.c56 int rv; local
81 rv = p1275_cif_handler(&ci);
90 if (rv != 0) {
91 return (rv);
112 int rv; local
142 rv = p1275_cif_handler(&ci);
151 if (rv != 0) {
152 return (rv);
173 int rv; local
203 rv
[all...]
/illumos-gate/usr/src/uts/common/syscall/
H A Dioctl.c68 int rv = 0; local
129 error = VOP_IOCTL(fp->f_vnode, cmd, arg, flag, CRED(), &rv, NULL);
152 return (rv);
H A Dsigprocmask.c46 rval_t rv; local
64 rv.r_val1 = t->t_hold.__sigbits[0];
65 rv.r_val2 = t->t_hold.__sigbits[1];
89 return (rv.r_vals);
H A Dpsecflags.c96 int rv = 0; local
118 rv = dotoprocs(&procset, psecdo, (caddr_t)&psd);
120 return (rv ? set_errno(rv) : 0);
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfprints.c39 reg int rv; local
49 rv = sfvprintf(f,form,args);
51 if(rv < 0 || sfputc(f,'\0') < 0)
H A Dsfraise.c39 int n, rv; local
41 rv = 0;
50 rv -= 1;
53 return rv;
66 reg int local, rv; local
90 if((rv = (*disc->exceptf)(f,type,data,disc)) != 0 )
91 SFMTXRETURN(f, rv);
H A Dsfsync.c38 reg int n, rv; local
43 { rv = nsync = count = 0;
69 rv = -1;
79 return rv;
89 int local, rv, mode, lock; local
103 rv = 0;
110 { rv = -1;
134 rv = -1;
171 SFMTXRETURN(origf, rv);
H A Dsfwr.c164 { reg int rv; local
167 if((rv = _sfexcept(f,SF_WRITE,n,dc)) > 0)
168 n = rv;
169 else if(rv < 0)
171 SFMTXRETURN(f, rv);
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_hio.c59 int rv; local
72 rv = mip->mi_share_capab.ms_salloc(mip->mi_share_capab.ms_handle,
75 int, rv, mac_share_handle_t, mcip->mci_share);
117 int rv; local
145 rv = mip->mi_share_capab.ms_sbind(mcip->mci_share, cookie, rcookie);
146 if (rv == 0)
156 return (rv);
/illumos-gate/usr/src/uts/sun4v/io/
H A Ddrctl_impl.c42 int rv; local
51 rv = EFAULT;
56 rv = 0;
60 rv = EIO;
63 return (rv);
70 int rv = 0; local
140 rv = EIO;
145 rv = EIO;
152 return (rv);
/illumos-gate/usr/src/uts/sun4v/io/n2rng/
H A Dn2rng_provider.c70 int rv; local
87 if ((rv = n2rng_getentropy(n2rng, (void *)&entropy.as64[1],
96 if (rv == EPERM) {
173 int rv; local
176 rv = n2rng_getentropy(n2rng, (void *)frsp->XKEY, ROUNDUP(SHA1BYTES, 8));
177 if (rv) {
178 return (rv);
/illumos-gate/usr/src/uts/sun4v/promif/
H A Dpromif_cpu.c44 int rv, ret; local
60 if ((rv = hv_cpu_set_rtba(&rtba)) != H_EOK)
61 panic("hv_cpu_set_rtba failed: %d\n", rv);
73 if ((rv = hv_mmu_fault_area_conf(&mmfsa_ra)) != H_EOK) {
74 panic("hv_mmu_fault_area_conf failed: %d\n", rv);
77 if ((rv = hv_cpu_set_rtba(&rtba)) != H_EOK) {
78 panic("hv_cpu_set_rtba failed: %d\n", rv);
92 int rv; local
112 rv = hv_cpu_start(cpuid, va_to_pa(pc), rtba, cpuid);
114 if (rv !
[all...]
/illumos-gate/usr/src/lib/libfakekernel/common/
H A Dsema.c50 int rv; local
52 rv = _lwp_sema_wait(sem);
53 } while (rv == EINTR);
70 int rv; local
71 rv = _lwp_sema_wait(sem);
72 switch (rv) {
74 /* rv = 0 ; success */
78 rv = 1; /* interrrupted */
82 return (rv);
93 int rv; local
[all...]
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaDigest.c43 CK_RV rv; local
49 rv = meta_handle2session(hSession, &session);
50 if (rv != CKR_OK)
51 return (rv);
53 rv = meta_operation_init_defer(CKF_DIGEST, session, pMechanism, NULL);
57 return (rv);
69 CK_RV rv; local
76 rv = meta_handle2session(hSession, &session);
77 if (rv != CKR_OK)
78 return (rv);
97 CK_RV rv; local
130 CK_RV rv; local
163 CK_RV rv; local
[all...]
H A DmetaGeneral.c127 CK_RV rv; local
132 rv = meta_slotManager_initialize();
133 if (rv != CKR_OK) {
135 return (rv);
138 rv = meta_mechManager_initialize();
139 if (rv != CKR_OK) {
142 return (rv);
145 rv = meta_objectManager_initialize();
146 if (rv != CKR_OK) {
150 return (rv);
191 CK_RV rv = CKR_OK; local
[all...]
H A DmetaSign.c44 CK_RV rv; local
51 rv = meta_handle2session(hSession, &session);
52 if (rv != CKR_OK)
53 return (rv);
55 rv = meta_handle2object(hKey, &key);
56 if (rv != CKR_OK) {
58 return (rv);
61 rv = meta_operation_init(CKF_SIGN, session, pMechanism, key);
66 return (rv);
79 CK_RV rv; local
109 CK_RV rv; local
139 CK_RV rv; local
168 CK_RV rv; local
202 CK_RV rv; local
[all...]
H A DmetaVerify.c44 CK_RV rv; local
51 rv = meta_handle2session(hSession, &session);
52 if (rv != CKR_OK)
53 return (rv);
55 rv = meta_handle2object(hKey, &key);
56 if (rv != CKR_OK) {
58 return (rv);
61 rv = meta_operation_init(CKF_VERIFY, session, pMechanism, key);
66 return (rv);
78 CK_RV rv; local
109 CK_RV rv; local
139 CK_RV rv; local
173 CK_RV rv; local
207 CK_RV rv; local
[all...]
H A Dpkcs11Digest.c46 CK_RV rv; local
64 HANDLE2SESSION(hSession, sessp, rv);
66 if (rv != CKR_OK) {
67 return (rv);
78 rv = FUNCLIST(slotid)->C_DigestInit(sessp->se_handle,
82 if (rv == CKR_FUNCTION_NOT_SUPPORTED) {
86 return (rv);
98 CK_RV rv; local
112 HANDLE2SESSION(hSession, sessp, rv);
114 if (rv !
139 CK_RV rv; local
178 CK_RV rv; local
216 CK_RV rv; local
[all...]

Completed in 110 milliseconds

1234567891011>>