Searched defs:rv (Results 676 - 700 of 965) sorted by relevance

<<21222324252627282930>>

/illumos-gate/usr/src/uts/common/fs/devfs/
H A Ddevfs_subr.c268 int rv; local
270 if ((rv = strcmp(dv1->dv_name, dv2->dv_name)) == 0)
272 return ((rv < 0) ? -1 : 1);
930 int rv = 0, was_busy = 0, nmlen, write_held = 0; local
1092 rv = ndi_devi_config_one(pdevi, nm, &devi, ndi_flags | NDI_NO_EVENT);
1095 if (rv != NDI_SUCCESS) {
1096 rv = ENOENT;
1122 rv = ENOENT;
1132 rv = ENOENT;
1183 rv
[all...]
/illumos-gate/usr/src/uts/common/crypto/api/
H A Dkcf_random.c199 int rv; local
202 if ((pd = kcf_get_mech_provider(rngmech_type, NULL, NULL, &rv,
253 int rv; local
260 while ((pd = kcf_get_mech_provider(rngmech_type, NULL, NULL, &rv,
267 rv = kcf_submit_request(pd, NULL, NULL, &params, B_FALSE);
268 ASSERT(rv != CRYPTO_QUEUED);
270 if (rv == CRYPTO_SUCCESS) {
280 if (is_taskq_thr || rv != CRYPTO_SUCCESS) {
306 notify_done(void *arg, int rv) argument
310 if (rv
328 int rv, total_bytes; local
[all...]
/illumos-gate/usr/src/uts/common/crypto/core/
H A Dkcf_sched.c1009 clock_t rv; local
1022 rv = cv_reltimedwait(&gswq->gs_cv,
1026 switch (rv) {
1417 int rv; local
1420 rv = cv_reltimedwait(&kcfpool->kp_cv,
1424 switch (rv) {
/illumos-gate/usr/src/uts/common/crypto/io/
H A Decc.c346 int rv = CRYPTO_SUCCESS; local
361 if ((rv = crypto_get_key_attr(key, CKA_EC_POINT, &foo,
371 if ((rv = crypto_get_key_attr(key, CKA_VALUE, &foo,
384 return (rv);
395 int rv; local
401 if ((rv = random_get_pseudo_bytes(ran_out, ran_len)) != 0)
402 return (rv);
424 if ((rv = random_get_pseudo_bytes(extrarand,
426 return (rv);
470 int rv; local
550 int rv; local
570 int rv; local
597 int rv = CRYPTO_FAILED; local
641 int rv = CRYPTO_FAILED; local
708 int rv; local
735 int rv; local
764 int rv; local
785 int rv; local
844 int rv = CRYPTO_FAILED; local
907 int rv; local
933 int rv; local
960 int rv; local
982 int rv; local
1046 int rv = CRYPTO_SUCCESS; local
1176 int rv = CRYPTO_SUCCESS; local
[all...]
H A Drsa.c370 int rv = CRYPTO_FAILED; local
386 if ((rv = crypto_get_key_attr(key, SUN_CKA_MODULUS, &modulus,
388 return (rv);
394 return (rv);
414 int rv; local
420 if ((rv = random_get_pseudo_bytes(ran_out, ran_len)) != 0)
421 return (rv);
443 if ((rv = random_get_pseudo_bytes(extrarand,
445 return (rv);
495 int rv; local
526 int rv; local
556 int rv; local
591 int rv = CRYPTO_FAILED; local
656 int rv; local
698 int rv; local
723 int rv; local
737 int rv = CRYPTO_FAILED; local
793 int rv; local
850 int rv; local
938 int rv = CRYPTO_FAILED; local
1052 int rv = CRYPTO_FAILED; local
1130 int rv; local
1163 int rv; local
1198 int rv; local
1219 int rv; local
1266 int rv = CRYPTO_FAILED; local
1323 int rv; local
1357 int rv; local
1397 int rv; local
1420 int rv; local
1468 int rv = CRYPTO_FAILED; local
1524 int rv; local
1547 int rv; local
[all...]
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_state.c881 int rv; local
884 rv = 2;
887 rv = 1;
889 rv = 0;
891 return (rv);
906 int rv; local
910 rv = 2;
913 rv = 1;
916 rv = 0;
918 return (rv);
934 int rv; local
959 int rv; local
987 int rv = 0; local
1076 int rv; local
[all...]
/illumos-gate/usr/src/uts/common/io/afe/
H A Dafe.c281 int rv; local
283 if ((rv = mod_install(&afe_modlinkage)) != DDI_SUCCESS) {
286 return (rv);
292 int rv; local
293 if ((rv = mod_remove(&afe_modlinkage)) == DDI_SUCCESS) {
296 return (rv);
/illumos-gate/usr/src/uts/common/io/audio/drv/audiols/
H A Daudiols.c1328 int rv; local
1331 if ((rv = mod_install(&modlinkage)) != 0) {
1334 return (rv);
1340 int rv; local
1342 if ((rv = mod_remove(&modlinkage)) == 0) {
1345 return (rv);
/illumos-gate/usr/src/uts/common/io/
H A Dconsconfig_dacf.c499 int rv = 0; local
529 rv = int_array[0] == 1;
535 return (rv);
H A Dbusra.c924 int rv; member in struct:busnum_ctrl
1117 ctrl.rv = DDI_SUCCESS;
1124 if (ctrl.rv != DDI_SUCCESS) {
1194 ctrl->rv = DDI_FAILURE;
H A Dgen_drv.c561 int rv; local
740 rv = DDI_FAILURE;
742 rv = DDI_SUCCESS;
774 rv = DDI_FAILURE;
783 rv = DDI_SUCCESS;
813 return (rv);
/illumos-gate/usr/src/uts/common/io/chxge/
H A Dch.c365 int rv; local
430 rv = pci_config_setup(
434 if (rv != DDI_SUCCESS) {
441 chp->ch_name, rv);
499 rv = ddi_regs_map_setup(
508 if (rv != DDI_SUCCESS) {
516 chp->ch_name, rv);
540 rv = ddi_get_iblock_cookie(
545 if (rv != DDI_SUCCESS) {
553 chp->ch_name, rv);
893 uint_t rv; local
1038 int rv; local
1116 uint_t rv; local
1229 int rv; local
[all...]
H A Dsge.c232 int rv = 1; local
241 rv = pe_start(adapter, (mblk_t *)sge->pskb,
243 if (!rv)
816 uint32_t rv; local
977 rv = adapter->toe_tunnel(adapter->ch_toeinst, skb);
981 if (rv)
/illumos-gate/usr/src/uts/common/os/
H A Dpool.c1361 int rv = 0; local
1451 rv = EINVAL;
1516 rv = EAGAIN;
1605 rv = 0;
1607 rv = ESRCH;
1636 (rv = pset_bind_start(procs, pool)) != 0) {
1710 if (rv == 0) {
1722 return (rv);
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxdb.c226 char *path, *rv; local
230 rv = strdup(path);
233 return (rv);
1859 int rv; local
1861 if ((rv = ddi_soft_state_init((void **)&xdb_statep,
1863 if ((rv = mod_install(&xdb_modlinkage)) != 0)
1865 return (rv);
1871 int rv; local
1873 if ((rv = mod_remove(&xdb_modlinkage)) != 0)
1874 return (rv);
[all...]
/illumos-gate/usr/src/uts/i86pc/cpu/amd_opteron/
H A Dao_mca.c759 cms_errno_t rv = CMSERR_BADMSRWRITE; local
763 rv = CMS_SUCCESS;
766 return (rv);
920 int rv = -1, asd_port; local
951 if ((rv = ao_acpi_find_smicmd(&asd_port)) == 0 &&
959 } else if (rv < 0) {
/illumos-gate/usr/src/uts/i86pc/cpu/authenticamd/
H A Dauthamd_main.c898 uint32_t rv = 0; local
901 rv |= CMS_ERRSCOPE_CLEARED_UC;
904 rv |= CMS_ERRSCOPE_CURCONTEXT_OK;
907 rv |= CMS_ERRSCOPE_POISONED;
909 if (rv)
910 return (rv);
929 return (rv);
1113 cms_errno_t rv = CMSERR_BADMSRWRITE; local
1117 rv = CMS_SUCCESS;
1120 return (rv);
[all...]
/illumos-gate/usr/src/uts/i86pc/io/pci/
H A Dpci_common.c200 int rv; local
228 rv = DDI_FAILURE;
290 rv = DDI_SUCCESS;
295 return (rv);
1041 int rv = ENOTTY; local
1052 rv = EPERM;
1054 rv = pcitool_dev_reg_ops(dip, (void *)arg,
1063 rv = EPERM;
1065 rv = pcitool_bus_reg_ops(dip, (void *)arg,
1078 rv
[all...]
/illumos-gate/usr/src/uts/i86pc/os/
H A Dcmi.c838 cmi_errno_t rv; local
859 rv = mcops->cmi_mc_patounum(cmi_hdl_getmcdata(hdl), pa, valid_hi,
864 return (rv);
872 cmi_errno_t rv; local
908 rv = mcops->cmi_mc_unumtopa(cmi_hdl_getmcdata(hdl), up, nvl, pap);
912 return (rv);
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_nx.c427 int rv; local
429 rv = ql_8021_pci_get_crb_addr_2M(ha, &off);
430 if (rv == -1) {
434 if (rv == 1) {
441 if (rv == 1) {
449 int rv; local
452 rv = ql_8021_pci_get_crb_addr_2M(ha, &off);
453 if (rv == -1) {
458 if (rv == 1) {
468 if (rv
1703 int rv = 0; local
[all...]
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_vnic.c594 int rv; local
599 rv = eib_vnic_lookup_dest(vnic, dmac, vlan, &ucast, &mcast, &dtype);
600 if (rv != EIB_E_SUCCESS) {
/illumos-gate/usr/src/uts/common/io/ib/ibnex/
H A Dibnex_ioctl.c197 int ret, rv = 0, ioc_reprobe_pending = 0; local
241 rv = EIO;
250 rv = ibnex_get_dip_from_apid(apid_n, &apid_dip, &nodep);
251 if (rv != IBNEX_DYN_APID) {
254 rv = EIO;
259 /* rv could be something undesirable, so reset it */
260 rv = 0;
269 rv = EFAULT;
287 rv = EFAULT;
302 rv
1768 int rv, ret; local
2822 int rv = 0; local
2961 int rv = 0; local
3120 int rv = 0; local
[all...]
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibmf/
H A Dibmf_saa_impl.c3791 int rv; local
3808 rv = ibmf_saa_utils_unpack_sa_hdr(msgp->im_msgbufs_recv.im_bufs_cl_hdr,
3810 if (rv != IBMF_SUCCESS) {
3816 "Could not unpack sa hdr", tnf_int, ibmf_status, rv);
3832 rv = ibmf_saa_utils_unpack_payload(
3836 if (rv != IBMF_SUCCESS) {
3842 "Could not unpack payload", tnf_int, ibmf_status, rv);
/illumos-gate/usr/src/uts/common/io/idm/
H A Didm_text.c1323 int rv, len; local
1328 rv = idm_itextbuf_add_nvpair(nvp, &itb);
1329 if (rv != 0)
/illumos-gate/usr/src/uts/common/io/iprb/
H A Diprb.c234 int rv; local
236 if ((rv = mod_install(&iprb_modlinkage)) != DDI_SUCCESS) {
239 return (rv);
245 int rv; local
246 if ((rv = mod_remove(&iprb_modlinkage)) == DDI_SUCCESS) {
249 return (rv);
1285 int rv; local
1290 rv = ip->suspended ? 0 : iprb_start(ip);
1291 if (rv == 0)
1296 if (rv
[all...]

Completed in 192 milliseconds

<<21222324252627282930>>