Searched defs:rv (Results 551 - 575 of 965) sorted by relevance

<<21222324252627282930>>

/illumos-gate/usr/src/cmd/fwflash/plugins/transport/common/
H A Dhermon.c103 int rv = FWFLASH_SUCCESS; local
117 rv = cnx_read_image(manuf);
118 if (rv != FWFLASH_SUCCESS) {
123 rv = cnx_write_file(manuf, filename);
127 return (rv);
261 int rv = FWFLASH_FAILURE; local
274 return (rv);
313 rv = cnx_identify(newdev);
314 if (rv == FWFLASH_FAILURE) {
1035 int i, rv; local
[all...]
H A Dses.c193 int rv = FWFLASH_FAILURE; local
253 rv = sendimg(targetnode, nvl);
254 if (rv == FWFLASH_SUCCESS) {
272 return (rv);
290 int rv = FWFLASH_FAILURE; local
493 rv = di_prop_lookup_strings(DDI_DEV_T_ANY,
495 if (rv < 0) {
H A Dtavor.c116 int rv = FWFLASH_SUCCESS; local
216 rv = ioctl(manuf->fd, TAVOR_IOCTL_FLASH_READ, &tfi_data);
217 if (rv < 0) {
284 if ((rv = ioctl(manuf->fd, TAVOR_IOCTL_FLASH_READ,
351 int rv; local
574 rv = tavor_blast_image(manuf->fd, 2, hsfia, manuf->sector_sz, isps);
575 if (rv != FWFLASH_SUCCESS) {
582 rv = tavor_blast_image(manuf->fd, 1, hpfia, manuf->sector_sz, ipps);
583 if (rv != FWFLASH_SUCCESS) {
610 int rv local
818 int rv = FWFLASH_SUCCESS; local
1183 int rv, j; local
1495 int rv, i; local
1553 int i, rv; local
1617 int i, rv; local
1663 int i, rv; local
1733 uint32_t i, j, rv; local
1881 int rv; local
[all...]
/illumos-gate/usr/src/uts/common/fs/
H A Dgfs.c1101 int rv; local
1126 rv = choose_addr(as, addrp, len, off, ADDR_VACALIGN, flags);
1127 if (rv != 0) {
1129 return (rv);
1135 rv = as_map(as, *addrp, len, segvn_create, zfod_argsp);
1137 if (rv != 0)
1138 return (rv);
1143 rv = vn_rdwr(UIO_READ, vp, *addrp, len, off, UIO_USERSPACE,
1146 if (rv == 0 && resid != 0)
1147 rv
[all...]
/illumos-gate/usr/src/tools/tokenize/
H A Dforth_preload.c212 long rv; local
222 rv = realfunc(a0, a1, a2, a3, a4, a5);
225 return (rv);
/illumos-gate/usr/src/uts/common/crypto/api/
H A Dkcf_dual.c60 int rv; local
72 rv = kcf_get_hardware_provider(encr_mech->cm_type, encr_key,
76 if (rv != CRYPTO_SUCCESS)
77 return (rv);
94 rv = CRYPTO_MECHANISM_INVALID;
99 rv = CRYPTO_OLD_CTX_TEMPLATE;
108 rv = CRYPTO_MECHANISM_INVALID;
113 rv = CRYPTO_OLD_CTX_TEMPLATE;
134 rv = KCF_PROV_ENCRYPT_MAC_ATOMIC(real_provider, sid,
138 KCF_PROV_INCRSTATS(pd, rv);
425 int rv; local
1848 int rv; local
[all...]
H A Dkcf_miscapi.c587 int rv; local
602 rv = KCF_PROV_KEY_CHECK(real_provider, &lmech, key);
606 return (rv);
648 int rv; local
655 if ((rv = kcf_get_mech_entry(mech_type, &me)) != CRYPTO_SUCCESS) {
656 return (rv);
668 rv = CRYPTO_SUCCESS;
674 rv = CRYPTO_HOST_MEMORY;
700 return (rv);
781 int rv; local
854 int rv; local
[all...]
/illumos-gate/usr/src/uts/common/crypto/core/
H A Dkcf_callprov.c234 int index, len, gqlen = INT_MAX, rv = CRYPTO_SUCCESS; local
262 rv = CRYPTO_DEVICE_ERROR;
286 rv = CRYPTO_KEY_SIZE_RANGE;
305 rv = CRYPTO_KEY_SIZE_RANGE;
332 rv = CRYPTO_SUCCESS;
336 rv = CRYPTO_SUCCESS;
341 if (rv == CRYPTO_SUCCESS)
342 rv = CRYPTO_MECHANISM_INVALID;
349 rv = CRYPTO_DEVICE_ERROR;
355 rv
392 int len, gqlen = INT_MAX, rv = CRYPTO_SUCCESS; local
[all...]
H A Dkcf_cryptoadm.c433 int rv; local
446 rv = kcf_get_hw_prov_tab(&provider_count, &provider_array, KM_SLEEP,
448 if (rv != CRYPTO_SUCCESS)
449 return (rv);
511 int rv; local
538 rv = dup_mech_names(provider, array, count, KM_SLEEP);
542 return (rv);
642 int i, rv = CRYPTO_SUCCESS; local
651 } else if ((rv = kcf_policy_load_dev_disabled(name, instance, new_count,
653 return (rv);
696 int rv; local
[all...]
/illumos-gate/usr/src/uts/common/des/
H A Ddes_crypt.c440 int rv; local
483 if ((rv = des_common_init_ctx(des_ctx, template, mechanism, key,
486 return (rv);
1002 int rv; local
1030 if ((rv = init_keysched(key, keysched, strength)) != CRYPTO_SUCCESS) {
1033 return (rv);
1113 int rv = CRYPTO_SUCCESS; local
1126 if ((rv = init_keysched(key, keysched,
1144 rv = cbc_init_ctx((cbc_ctx_t *)des_ctx, mechanism->cm_param,
1152 if (rv !
[all...]
/illumos-gate/usr/src/uts/common/io/audio/drv/audiocmi/
H A Daudiocmi.c1094 int rv; local
1097 if ((rv = mod_install(&modlinkage)) != 0) {
1100 return (rv);
1106 int rv; local
1107 if ((rv = mod_remove(&modlinkage)) == 0) {
1110 return (rv);
/illumos-gate/usr/src/uts/common/io/audio/drv/audiocmihd/
H A Daudiocmihd.c1729 int rv; local
1732 if ((rv = mod_install(&modlinkage)) != 0) {
1735 return (rv);
1741 int rv; local
1743 if ((rv = mod_remove(&modlinkage)) == 0) {
1746 return (rv);
/illumos-gate/usr/src/uts/common/io/audio/impl/
H A Daudio_engine.c379 int rv = ENODEV; local
445 rv = EIO;
463 rv = rv ? EIO : 0;
476 rv = rv ? EBUSY : 0;
492 rv = rv ? EBUSY : 0;
514 rv = 0;
617 if ((rv
[all...]
H A Daudio_sun.c330 int rv; local
361 rv = ENOMEM;
373 rv = EBUSY;
386 rv = EINTR;
399 if (((rv = auclnt_set_rate(sp, 8000)) != 0) ||
400 ((rv = auclnt_set_format(sp, AUDIO_FORMAT_ULAW)) != 0) ||
401 ((rv = auclnt_set_channels(sp, 1)) != 0)) {
421 if (((rv = auclnt_set_rate(sp, 8000)) != 0) ||
422 ((rv = auclnt_set_format(sp, AUDIO_FORMAT_ULAW)) != 0) ||
423 ((rv
670 int rv; local
1069 int rv; local
1091 int rv; local
[all...]
/illumos-gate/usr/src/uts/common/io/comstar/port/qlt/
H A Dqlt_dma.c418 int rv; local
427 rv = ddi_dma_sync(th->dma_handle,
429 if (rv != DDI_SUCCESS) {
482 int rv; local
484 rv = ddi_dma_alloc_handle(qlt->dip, &qlt_sgl_dma_attr,
486 if (rv != DDI_SUCCESS) {
487 EL(qlt, "ddi_dma_alloc_handle status=%xh\n", rv);
549 int rv, handle_count; local
564 rv = ddi_dma_unbind_handle(tmp_handle->dma_handle);
565 ASSERT(rv
660 int i, rv; local
[all...]
/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/
H A Dutil.c246 int rv; local
262 rv = p1275_cif_handler(ci);
265 if (rv)
266 return (rv); /* Service "call-method" failed */
/illumos-gate/usr/src/uts/common/io/cardbus/
H A Dcardbus_hp.c174 int rv = HPC_EVENT_CLAIMED; local
230 if ((rv = hpc_nexus_connect(cbp->slot_handle,
239 rv = HPC_ERR_FAILED;
268 rv = HPC_ERR_FAILED;
340 return (rv);
462 int rv = 0; local
487 rv = HPC_ERR_FAILED;
504 rv = HPC_ERR_FAILED;
517 rv = HPC_ERR_FAILED;
552 rv
666 int rv = HPC_SUCCESS; local
791 int rv = HPC_SUCCESS, nrv; local
1121 int rv = 0; local
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Ddevcache.c789 int rv; local
818 rv = (nvfd->nvf_unpack_nvlist)
821 if (rv != 0) {
H A Ddriver.c90 int rv, probe_failed; local
107 rv = DDI_PROBE_DONTCARE;
109 rv = DDI_PROBE_FAILURE;
111 rv = (*fn)(devi);
113 switch (rv) {
122 pm_post_probe(&ppm_cookie, rv, probe_failed);
124 return (rv);
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_swap.c439 swapctl(int sc_cmd, void *sc_arg, int *rv) argument
468 *rv = nswapfiles;
470 *rv = 1;
624 *rv = 1;
700 *rv = nswap;
775 swapctl32(int sc_cmd, void *sc_arg, int *rv) argument
805 *rv = nswapfiles;
807 *rv = 1;
919 *rv = 1;
994 *rv
[all...]
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxencons.c1626 int rv; local
1628 if ((rv = ddi_soft_state_init(&xencons_soft_state,
1630 return (rv);
1631 if ((rv = mod_install(&modlinkage)) != 0) {
1633 return (rv);
1643 int rv; local
1645 if ((rv = mod_remove(&modlinkage)) != 0)
1646 return (rv);
H A Dxpvd.c322 int rv; local
351 rv = DDI_PROP_SUCCESS;
365 rv = DDI_PROP_BUF_TOO_SMALL;
368 rv = DDI_PROP_INVAL_ARG;
372 if ((rv == DDI_PROP_SUCCESS) && (prop_len > 0)) {
377 return (rv);
/illumos-gate/usr/src/uts/i86pc/i86hvm/io/
H A Dxdf_shell.c215 int rv; local
235 if ((rv = xdf_lb_getinfo(xsp->xdfss_tgt_dip,
246 rv = EINVAL;
259 rv = 0;
263 rv = xdf_lb_getinfo(xsp->xdfss_tgt_dip, cmd, arg, tg_cookie);
267 return (rv);
474 int rv; local
482 rv = xdf_lb_rdwr(xsp->xdfss_tgt_dip,
486 return (rv);
784 int rv; local
831 int rv; local
947 int rv = DDI_PROBE_SUCCESS; local
1055 int rv = DDI_FAILURE; local
1097 int rv; local
[all...]
/illumos-gate/usr/src/uts/i86pc/io/pciex/
H A Dnpe.c988 int rv; local
1006 rv = pcie_open(pci_p->pci_dip, devp, flags, otyp, credp);
1008 return (rv);
1038 int rv; local
1051 rv = pcie_close(pci_p->pci_dip, dev, flags, otyp, credp);
1053 return (rv);
/illumos-gate/usr/src/uts/i86pc/io/pcplusmp/
H A Dapic.c1286 int rv; local
1297 rv = apic_rebind(irqptr, apic_irq_table[irq]->airq_cpu, drep);
1298 if (rv) {
1303 rv = apic_rebind(irqptr, apic_find_cpu(APIC_CPU_INTR_ENABLE),
1307 return (rv);

Completed in 190 milliseconds

<<21222324252627282930>>