Searched defs:rv (Results 176 - 200 of 965) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libast/common/disc/
H A Dsfdcdio.c57 ssize_t rv; local
60 rv = 0;
77 rv = read(f->file,buf,io);
78 else rv = write(f->file,buf,io);
80 if(rv > 0)
81 { rw -= rv; done += rv;
82 buf = (Void_t*)((char*)buf + rv);
85 if(rv < io || rw < di->dio.d_miniosz)
98 (rv
[all...]
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfdisc.c155 { int rv = 0; local
156 if(rv == 0 && f->disc && f->disc->exceptf) /* ask current discipline */
158 rv = (*f->disc->exceptf)(f, SF_DBUFFER, &n, f->disc);
161 if(rv == 0 && disc && disc->exceptf) /* ask discipline being pushed */
163 rv = (*disc->exceptf)(f, SF_DBUFFER, &n, disc);
166 if(rv < 0)
/illumos-gate/usr/src/lib/libast/common/vmalloc/
H A Dvmprivate.c106 { int rv, lock; local
109 rv = (*exceptf)(vm,VM_NOMEM,(Void_t*)size,vm->disc);
111 if(rv <= 0)
112 { if(rv == 0)
/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp_error.c144 int rv = ESBD_NOERROR; local
155 rv = ESBD_INVAL;
166 rv = ESBD_INVAL;
183 rv = ESBD_INVAL;
200 rv = ESBD_INVAL;
211 rv = ESBD_INVAL;
231 return (rv);
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvnet_common.c189 int rv; local
192 if ((rv = VIO_DRING_ACQUIRE(&otd, mtype, handle, start, stop)) != 0)
193 return (rv);
197 rv = VIO_DRING_RELEASE_NOCOPYOUT(mtype);
199 return (rv);
206 int rv; local
209 rv = VIO_DRING_ACQUIRE_NOCOPYIN(&otd, mtype);
210 if (rv)
211 return (rv);
215 rv
[all...]
/illumos-gate/usr/src/uts/sun4v/os/
H A Dmach_mp_startup.c135 int rv = DDI_WALK_CONTINUE; local
158 rv = DDI_WALK_TERMINATE;
163 return (rv);
H A Dmach_mp_states.c77 uint64_t rv; local
133 if ((rv = hv_cpu_stop(cpuid)) != H_EWOULDBLOCK)
140 if (rv != H_EOK)
219 int rv = 0; local
254 rv = -1;
259 if (rv != 0) {
265 return (rv);
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_devctl.c170 int rv = 0; local
195 rv = ENOTSUP;
217 rv = ENOTSUP;
222 rv = ENOTSUP;
226 rv = ENOTTY;
230 return (rv);
240 int rv = ENOTTY; local
265 rv = EPERM;
267 rv = pcitool_dev_reg_ops(
276 rv
[all...]
/illumos-gate/usr/src/uts/sun4u/io/ppm/
H A Dschppm.c160 int rv; local
199 rv = ddi_regs_map_setup(dip, 0,
201 if (rv != DDI_SUCCESS) {
204 return (rv);
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_sign_kcf.c54 int rv; local
56 rv = crypto_digest_init(mech, ctxp, NULL);
58 return (rv == CRYPTO_SUCCESS ? 0 : -1);
68 int rv; local
76 rv = crypto_digest_update(ctx, &data, 0);
78 return (rv == CRYPTO_SUCCESS ? 0 : -1);
88 int rv; local
96 rv = crypto_digest_final(ctx, &out, 0);
98 return (rv == CRYPTO_SUCCESS ? 0 : -1);
126 int rv; local
145 int rv; local
167 int rv; local
[all...]
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm_digest.c62 CK_RV rv; local
66 if ((rv = C_DigestInit(hSession, pmech)) != CKR_OK) {
67 return (rv);
72 rv = C_DigestUpdate(hSession, buf, (CK_ULONG)nread);
73 if (rv != CKR_OK)
74 return (rv);
84 rv = C_DigestFinal(hSession, *pdigest, pdigestlen);
87 if (rv == CKR_BUFFER_TOO_SMALL) {
96 rv = C_DigestFinal(hSession, *pdigest, pdigestlen);
99 return (rv);
106 CK_RV rv; local
[all...]
/illumos-gate/usr/src/boot/lib/libstand/
H A Dnetif.c230 ssize_t rv; local
241 rv = drv->netif_get(desc, pkt, len, timo);
245 nif->nif_unit, (int)rv);
247 return rv;
260 ssize_t rv; local
271 rv = drv->netif_put(desc, pkt, len);
275 nif->nif_unit, (int)rv);
277 return rv;
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Ddevicename.c48 int rv; local
58 if (((rv = i386_parsedev(dev, getenv("currdev"), NULL)) == 0) &&
61 return(rv);
199 int rv; local
201 if ((rv = i386_parsedev(&ncurr, value, NULL)) != 0)
202 return(rv);
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/
H A Ddevicename.c47 int rv; local
57 if (((rv = ofw_parsedev(dev, getenv("currdev"), NULL)) == 0) &&
60 return(rv);
139 int rv; local
141 if ((rv = ofw_parsedev(&ncurr, value, NULL)) != 0)
142 return rv;
H A Dofw_net.c94 ssize_t rv; local
118 rv = OF_write(netinstance, pkt, len);
121 printf("netif_put: OF_write returned %d\n", rv);
124 return rv;
/illumos-gate/usr/src/boot/sys/boot/uboot/lib/
H A Ddevicename.c49 int rv; local
58 if (((rv = uboot_parsedev(dev, getenv("currdev"), NULL)) == 0)
61 return(rv);
194 int rv; local
196 if ((rv = uboot_parsedev(&ncurr, value, NULL)) != 0)
197 return (rv);
/illumos-gate/usr/src/boot/sys/boot/userboot/userboot/
H A Ddevicename.c52 int rv; local
62 if (((rv = userboot_parsedev(dev, getenv("currdev"), NULL)) == 0) &&
65 return(rv);
217 int rv; local
219 if ((rv = userboot_parsedev(&ncurr, value, NULL)) != 0)
220 return(rv);
/illumos-gate/usr/src/lib/libproc/common/
H A Dproc_get_info.c58 int rv = -1; local
66 rv = 0;
69 return (rv);
77 int rv = -1; local
87 rv = 0;
90 return (rv);
108 prpriv_t *rv = NULL; local
114 (rv = malloc(statb.st_size)) == NULL ||
115 read(fd, rv, statb.st_size) != statb.st_size) {
116 free(rv);
169 int rv = -1; local
186 int rv = -1; local
209 int rv = -1; local
[all...]
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_smf.c301 int rv = 1; local
328 rv = 0;
331 return (rv);
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaCrypt.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_defer(CKF_ENCRYPT, session, pMechanism, key);
66 return (rv);
79 CK_RV rv; local
110 CK_RV rv; local
140 CK_RV rv; local
170 CK_RV rv; local
205 CK_RV rv; local
236 CK_RV rv; local
266 CK_RV rv; local
[all...]
H A DmetaSlotToken.c54 CK_RV rv; local
65 rv = CKR_BUFFER_TOO_SMALL;
68 rv = CKR_OK;
72 return (rv);
89 CK_RV rv; local
110 rv = FUNCLIST(metaslot_keystore_slotid)->C_GetSlotInfo(true_id,
112 if ((rv == CKR_OK) && (slotinfo.flags & CKF_TOKEN_PRESENT)) {
137 CK_RV rv; local
150 rv = FUNCLIST(metaslot_keystore_slotid)->C_GetTokenInfo(true_id,
158 if (rv !
244 CK_RV rv; local
276 CK_RV rv; local
381 CK_RV rv; local
[all...]
H A Dpkcs11Crypt.c48 CK_RV rv; local
66 HANDLE2SESSION(hSession, sessp, rv);
68 if (rv != CKR_OK) {
69 return (rv);
80 rv = FUNCLIST(slotid)->C_EncryptInit(sessp->se_handle,
84 if (rv == CKR_FUNCTION_NOT_SUPPORTED) {
88 return (rv);
102 CK_RV rv; local
116 HANDLE2SESSION(hSession, sessp, rv);
118 if (rv !
145 CK_RV rv; local
186 CK_RV rv; local
231 CK_RV rv; local
285 CK_RV rv; local
328 CK_RV rv; local
369 CK_RV rv; local
[all...]
H A Dpkcs11General.c227 CK_RV rv; local
262 rv = CKR_ARGUMENTS_BAD;
278 rv = CKR_ARGUMENTS_BAD;
288 rv = CKR_CANT_LOCK;
304 rv = pkcs11_slottable_initialize();
306 if (rv != CKR_OK)
311 rv = CKR_FUNCTION_FAILED;
320 rv = pkcs11_slot_mapping(pliblist, pInitArgs);
322 if (rv != CKR_OK)
348 return (rv);
367 CK_RV rv; local
386 CK_RV rv; local
[all...]
H A Dpkcs11Session.c47 CK_RV rv; local
75 rv = meta_OpenSession(METASLOT_SLOTID, flags,
84 rv = FUNCLIST(fw_st_id)->C_OpenSession(true_id, flags,
89 if (rv == CKR_FUNCTION_NOT_SUPPORTED) {
91 } else if (rv != CKR_OK) {
93 return (rv);
98 rv = pkcs11_session_add(
102 rv = pkcs11_session_add(slottable->st_slots[fw_st_id],
106 if (rv != CKR_OK) {
110 return (rv);
120 CK_RV rv; local
167 CK_RV rv, rv1; local
250 CK_RV rv; local
309 CK_RV rv; local
351 CK_RV rv; local
394 CK_RV rv; local
433 CK_RV rv; local
[all...]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelDecrypt.c43 CK_RV rv; local
55 rv = kernel_mech(pMechanism->mechanism, &k_mech_type);
56 if (rv != CKR_OK)
57 return (rv);
79 rv = CKR_HOST_MEMORY;
89 rv = CKR_HOST_MEMORY;
93 rv = CKR_KEY_TYPE_INCONSISTENT;
117 rv = CKR_FUNCTION_FAILED;
119 rv = crypto2pkcs11_error_number(decrypt_init.di_return_value);
138 if (rv !
154 CK_RV rv; local
194 CK_RV rv; local
273 CK_RV rv; local
330 CK_RV rv; local
431 CK_RV rv; local
[all...]

Completed in 86 milliseconds

1234567891011>>