/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | eib_data.c | 595 int rv; local 658 if ((rv = ddi_intr_add_softint(ss->ei_dip, &vnic->vn_data_tx_si_hdl, 661 "ddi_intr_add_softint() failed for data tx qp, ret=%d", rv); 675 if ((rv = ddi_intr_add_softint(ss->ei_dip, &vnic->vn_data_rx_si_hdl, 678 "ddi_intr_add_softint() failed for data rx qp, ret=%d", rv);
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | openprom.c | 1025 int rv; local 1053 rv = prom_set_security_key(wp->wk_keyname, wp->wk_u.key, 1055 if (rv)
|
/illumos-gate/usr/src/uts/common/io/pciex/hotplug/ |
H A D | pcie_hp.c | 265 * Must set arg.rv to NDI_SUCCESS so that if there's no port 281 arg.rv = NDI_SUCCESS; 286 if (arg.rv != NDI_SUCCESS) 378 arg.rv = NDI_SUCCESS; 381 return (arg.rv == NDI_SUCCESS) ? (DDI_SUCCESS) : (DDI_FAILURE); 503 cn_cfg.rv = NDI_SUCCESS; 583 int rv; local 592 if ((rv = pcie_hp_register_port(cdip, dip, NULL)) 594 return (rv); 614 int rv local [all...] |
H A D | pciehpc.c | 1394 int rv = DDI_SUCCESS; local 1401 while ((curr_state < target_state) && (rv == DDI_SUCCESS)) { 1412 rv = DDI_FAILURE; 1415 rv = (slot_p->hs_ctrl->hc_ops.poweron_hpc_slot)(slot_p, 1429 return (rv); 1437 int rv = DDI_SUCCESS; local 1441 while ((curr_state > target_state) && (rv == DDI_SUCCESS)) { 1452 rv = DDI_FAILURE; 1455 rv = (slot_p->hs_ctrl->hc_ops.poweroff_hpc_slot)( 1470 return (rv); 1479 int rv; local [all...] |
H A D | pcishpc.c | 1495 int rv = DDI_SUCCESS; local 1502 while ((curr_state < target_state) && (rv == DDI_SUCCESS)) { 1513 rv = DDI_FAILURE; 1516 rv = pcishpc_slot_poweron(slot_p, &curr_state); 1528 return (rv); 1536 int rv = DDI_SUCCESS; local 1540 while ((curr_state > target_state) && (rv == DDI_SUCCESS)) { 1551 rv = DDI_FAILURE; 1554 rv = pcishpc_slot_poweroff(slot_p, &curr_state); 1568 return (rv); 1577 int rv; local [all...] |
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/ |
H A D | spppcomp.c | 1423 int rv; local 1426 rv = (*cp->cp_rcomp->decompress)(cp->cp_rstate, &mp); 1427 switch (rv) { 1458 rv = (*cp->cp_rcomp->incomp)(cp->cp_rstate, mp); 1459 if (rv < 0) {
|
/illumos-gate/usr/src/uts/common/io/scsi/targets/ |
H A D | ses.c | 724 int rv = 0; local 736 rv = EFAULT; 749 rv = EFAULT; 759 rv = EPERM; 762 rv = (*ssc->ses_vec.init_enc)(ssc); 767 rv = (*ssc->ses_vec.get_encstat)(ssc, KM_SLEEP); 768 if (rv) { 774 rv = EFAULT; 785 rv = EPERM; 789 rv [all...] |
/illumos-gate/usr/src/uts/common/kiconv/kiconv_ja/ |
H A D | kiconv_ja.c | 88 size_t rv = 0; /* return value of this function */ local 134 if (rv == 0) { 136 * Update rv, *pip, and *pileft on successfule return. 138 rv = *pileft - ileft; 143 return (rv); 154 size_t rv = 0; /* return value of this function */ local 209 rv = *pileft - ileft; 214 return (rv); 224 size_t *rv) /* point return valuse */ 227 return (utf8_ucs_replace(p, pip, pileft, rv)); 218 read_unicode( uint_t *p, uchar_t **pip, size_t *pileft, int *errno, int flag, size_t *rv) argument 241 size_t rv = 0; /* return value */ local 331 size_t rv = 0; /* return value of this function */ local 431 size_t rv = 0; local 520 size_t rv = 0; /* return value of this function */ local 667 size_t rv = 0; local 818 size_t rv = 0; /* return value of this function */ local 1005 size_t rv = 0; local 1129 size_t rv = 0; /* return value of this function */ local 1359 size_t rv = 0; local [all...] |
/illumos-gate/usr/src/lib/libast/common/misc/ |
H A D | mime.c | 383 register char* rv; local 405 for (rv = rp + strlen(rp); rv > rp && (isdigit(*(rv - 1)) || *(rv - 1) == '.'); rv--); 406 rc = *rv; 421 *rv = 0; 427 *rv = rc;
|
/illumos-gate/usr/src/lib/libast/common/vmalloc/ |
H A D | vmbest.c | 186 int rv = 0; local 193 { rv = -1; /**/ASSERT(0); } 195 for(seg = vd->seg; seg && rv == 0; seg = seg->next) 198 for(; b < endb && rv == 0; b = nextb) 204 { rv = -1; /**/ASSERT(0); } 208 { rv = -1; /**/ASSERT(0); } 212 { rv = -1; /**/ASSERT(0); } 216 { rv = -1; /**/ASSERT(0); } 220 { rv = -1; /**/ASSERT(0); } 225 { rv 1280 int rv; local [all...] |
H A D | vmprofile.c | 517 reg int line, rv, local, inuse; local 559 rv = KPVFREE((vm), (Void_t*)data, (*Vmbest->freef)); 563 return rv;
|
/illumos-gate/usr/src/uts/common/io/lvm/trans/ |
H A D | mdtrans.c | 113 int rv = 0; local 128 rv = trans_done(bp); 130 return (rv);
|
/illumos-gate/usr/src/uts/common/io/mii/ |
H A D | mii_marvell.c | 152 int rv; local 154 rv = phy_reset(ph); 178 return (rv); 185 int rv; local 187 rv = phy_loop(ph); 204 return (rv); 211 int rv; local 213 rv = phy_reset(ph); 221 return (rv); 228 int rv; local 438 int rv; local [all...] |
/illumos-gate/usr/src/uts/common/io/net80211/ |
H A D | net80211_crypto_tkip.c | 506 int rv; local 509 rv = rc4_init(&ctx, (const uint8_t *)key, 16); 510 if (rv != CRYPTO_SUCCESS) 535 int rv; local 538 rv = rc4_init(&ctx, (const uint8_t *)key, 16); 539 if (rv != CRYPTO_SUCCESS)
|
/illumos-gate/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp_quiesce.c | 393 int rv; local 398 rv = sbdp_suspend_devices_(dip, srh); 400 return (rv);
|
H A D | sgcn.c | 234 int rv; local 255 rv = iosram_read(SBBC_CONSOLE_KEY, 0, (caddr_t)&header, 257 if (rv != 0) 913 int rv; local 916 rv = iosram_read(SBBC_CONSOLE_KEY, 0, (caddr_t)header, 918 if (rv != 0) { 929 rv = iosram_read(SBBC_CONSOLE_KEY, 934 rv = iosram_read(SBBC_CONSOLE_KEY, 939 rv = -1; 941 return (rv); 948 int rv, size, nbytes; local 1054 int rv = 0; local 1106 int rv = 0; local 1166 int rv; local [all...] |
H A D | ssm.c | 400 int rv; local 408 rv = sbbc_mbox_reg_intr(MBOX_EVENT_GENERIC, 412 if (rv == EINVAL) 457 int instance, rv; local 488 rv = (*sbd_teardown_instance)(instance, (caddr_t)&sbdp_info); 490 if (rv != DDI_SUCCESS) { 677 int rv; local 689 rv = ddi_create_minor_node(dip, filename, S_IFCHR, 691 if (rv == DDI_FAILURE) { 712 int rv; local 806 int instance, rv = 0; local 950 int rv = 0; local [all...] |
/illumos-gate/usr/src/uts/sun4u/starcat/io/ |
H A D | cvc.c | 692 int rv = 1; local 734 rv = 0; 737 return (rv);
|
H A D | sc_gptwocfg.c | 1023 int rv; local 1056 rv = e_ddi_branch_create(ap, &b, &fdip, DEVI_BRANCH_CONFIGURE); 1057 if (rv != 0) { 1071 "path=%s, dip=%p, rv=%d", path, fdip ? (void *)fdip : 1072 (void *)ap, rv)); 1100 int rv; local 1105 rv = e_ddi_branch_destroy(saf_dip, &fdip, 0); 1106 if (rv != 0) { 1120 "path=%s, dip=%p, rv=%d\n", path, 1121 fdip ? (void *)fdip : (void *)saf_dip, rv); [all...] |
/illumos-gate/usr/src/uts/sun4u/starfire/io/ |
H A D | idn_smr.c | 421 int rv; local 428 rv = smr_slaballoc_put(domid, sp, 0, 0); 430 if (rv == -1) { 444 int rv; local 464 rv = smr_slaballoc_put(domid, sp, 0, 0); 466 if ((rv == -1) && (masterid != IDN_NIL_DOMID)) { 1276 int rv; local 1283 rv = cv_reltimedwait_sig(&wp->w_cv, &wp->w_mutex, 1285 if (rv == -1) 1289 proc, domid, (rv 1429 uint_t rv; local [all...] |
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | cnex.c | 364 int rv; local 367 rv = hvldc_intr_getvalid(ssp->cfghdl, iinfo->ino, &intr_state); 368 if (rv) { 371 return (rv); 376 rv = cnex_intr_dis_wait(ssp, iinfo); 377 if (rv) { 378 return (rv); 404 int rv, intr_state, retries; local 407 rv = hvldc_intr_setvalid(ssp->cfghdl, iinfo->ino, HV_INTR_NOTVALID); 408 if (rv) { 611 int rv, idx, pil; local 800 int rv, idx, pil; local 905 int rv; local 1014 int rv, instance, reglen; local [all...] |
H A D | drctl.c | 154 int rv; local 160 if ((rv = mod_install(&modlinkage)) != 0) 163 return (rv); 170 int rv; local 172 if ((rv = mod_remove(&modlinkage)) != 0) 173 return (rv); 383 int rv = 0; local 400 rv = 0; 403 rv = ENOTSUP; 407 if (rv ! 453 int rv; local 524 int rv; local 618 int rv; local [all...] |
H A D | ds_drv.c | 130 int rv; local 142 if ((rv = ds_ports_init()) != 0) { 145 return (rv); 148 if ((rv = mod_install(&modlinkage)) != 0) { 153 return (rv); 165 int rv; local 167 if ((rv = mod_remove(&modlinkage)) == 0) { 172 return (rv); 217 int rv = 0; local 287 rv 447 int rv; local 715 int rv = 0; local 1104 int rv = 0; local [all...] |
H A D | ds_pri.c | 311 int rv; local 369 if ((rv = ds_cap_init(&ds_pri_cap, &ds_pri_ops)) != 0) { 370 cmn_err(CE_NOTE, "ds_cap_init failed: %d", rv); 396 int rv; local 413 if ((rv = ds_cap_fini(&ds_pri_cap)) != 0) { 414 cmn_err(CE_WARN, "ds_cap_fini failed: %d", rv);
|
H A D | ds_snmp.c | 296 int rv; local 322 if ((rv = ds_cap_init(&ds_snmp_cap, &ds_snmp_ops)) != 0) { 323 cmn_err(CE_NOTE, "ds_cap_init failed: %d", rv);
|