/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_isr.c | 2138 } sts; local 2146 sts.comp_status = (uint16_t)ddi_get16(ha->hba_buf.acc_handle, 2148 sts.scsi_status_l = pkt24->scsi_status_l; 2149 sts.scsi_status_h = pkt24->scsi_status_h; 2152 sts.residual_length = sts.comp_status == CS_DATA_UNDERRUN ? 2157 sts.fcp_residual_length = sts.scsi_status_h & 2162 if ((sts.comp_status == CS_DATA_UNDERRUN) && 2163 (sts [all...] |
H A D | ql_xioctl.c | 1681 comp_status = (uint16_t)LE_16(pkt->sts.comp_status); 1687 if (rval != QL_SUCCESS || (pkt->sts.entry_status & 0x7e) != 0) { 1689 "es=%xh, rval=%xh\n", pkt->sts.entry_status, rval); 2014 } sts; local 2220 sts.comp_status = CS_LOOP_DOWN_ABORT; 2345 pkt->sts.entry_status = (uint8_t) 2346 (pkt->sts.entry_status & 0x7e); 2349 if (status == QL_SUCCESS && pkt->sts.entry_status != 0) { 2351 pkt->sts.entry_status, tq->d_id.b24); 2355 sts [all...] |
/illumos-gate/usr/src/uts/common/avs/ns/rdc/ |
H A D | rdc_bitmap.c | 241 int sts; local 272 sts = rdc_ns_io(krdc->bitmapfd, NSC_RDBUF, 0, (uchar_t *)header, 283 if (!RDC_SUCCESS(sts)) { 285 urdc->primary.file, sts); 291 if (!RDC_SUCCESS(sts)) 331 int sts; local 358 sts = rdc_ns_io(krdc->bitmapfd, rdc_wrflag, 0, (uchar_t *)header, 370 if (!RDC_SUCCESS(sts)) { 372 urdc->primary.file, sts); 378 if (!RDC_SUCCESS(sts)) 419 int sts; local 468 int sts; local 533 int sts; local 624 int sts; local 700 int sts; local 765 int sts; local 1017 int sts; local 1359 int sts; local 1894 int sts; local [all...] |
H A D | rdc_io.c | 3050 int sts; local 3080 sts = _rdc_rsrv_devs(krdc, rtype, RDC_INTERNAL); 3084 if (sts != 0) 3264 sts = nsc_alloc_buf(RDC_U_FD(krdc), offset, len, 3267 sts = nsc_alloc_buf(RDC_U_FD(krdc), offset, len, 3271 if (sts > 0) { 3283 sts = rdc_net_read(krdc->index, krdc->remote_index, 3286 if (!RDC_SUCCESS(sts)) { 3289 "!rdc sync: remote read failed (%d)", sts); 3300 sts [all...] |
H A D | rdc_diskq.c | 185 int sts; local 219 sts = _rdc_rsrv_diskq(grp); 220 if (!RDC_SUCCESS(sts)) { 225 sts = nsc_partsize(grp->diskqfd, &size); 228 if ((sts == 0) && (size < 1)) {
|
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/ |
H A D | sd_tdaemon.c | 663 int sts; local 685 sts = _sd_alloc_buf((blind_t)(unsigned long)cd, 0, len, NSC_WRBUF, 687 if (sts > 0) { 688 cmn_err(CE_WARN, "!Buffer alloc failed %d", sts); 704 sts = _sd_alloc_buf((blind_t)(unsigned long)cd, offset, len, 706 if (sts > 0) { 707 cmn_err(CE_WARN, "!ch%d getbuf error(WRBUF)%d", i, sts); 712 sts = len; 713 while (sts > 0) { 714 if (forw && _sd_hwrite(buf, offset + len - sts, [all...] |
H A D | sd_bcache.c | 2068 int *sts) 2072 *sts = _sd_alloc_buf((blind_t)(unsigned long)cd, fba_pos, fba_len, 2074 if (*sts == NSC_HIT) 2075 *sts = NSC_DONE; 2098 int sts, stall; local 2117 sts = EIO; 2395 if (sts = _sd_setup_category_on_type(handle->bh_centry)) { 2423 sts = _sd_doread(handle, ioent, io_pos, 2425 if (sts > 0) 2432 sts 2067 _sd_allocate_buf(int cd, nsc_off_t fba_pos, nsc_size_t fba_len, int flag, int *sts) argument 2529 int sts; local [all...] |
H A D | sd_io.c | 1151 int sts, processed = 0; local 1169 if ((sts = cc_ent->cc_iostatus) == _SD_IO_INITIATE) { 1179 LINTUSED(sts); 1181 if ((sts != _SD_IO_DONE) && (sts != _SD_IO_FAILED)) 1183 BLK_TO_FBA_NUM(CENTRY_BLK(cc_ent)), 0, sts);
|
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | slp_targets.c | 356 struct scope_targets *sts, *stp; local 357 for (sts = tl->scopes[i]; sts; sts = stp) { 358 stp = sts->next; 359 free(sts);
|
/illumos-gate/usr/src/uts/sun4v/io/px/ |
H A D | px_err.c | 679 int sts = PX_PANIC; local 687 sts = (PX_PANIC); 696 sts = (PX_NO_PANIC); 705 sts = pf_tlp_decode(PCIE_DIP2BUS(dip), &adv_reg); 710 if (!((sts == DDI_SUCCESS) || (epkt->rc_descr.M))) { 712 sts = PX_NO_PANIC; 720 sts = (PX_NO_PANIC); 722 sts = (PX_PANIC); 741 return (sts); 752 int sts; local [all...] |
/illumos-gate/usr/src/cmd/fm/modules/common/fabric-xlate/ |
H A D | fx_fire.c | 51 #define FAB_FIRE_UE(fb, bit, sts, bdg) \ 52 FAB_FIRE_PEC_BIT(fb), PCIE_AER_UCE_ ## bit, sts, bdg 53 #define FAB_OB_UE(fb, bit, sts, bdg) \ 54 FAB_OB_PEC_BIT(fb), PCIE_AER_UCE_ ## bit, sts, bdg
|
/illumos-gate/usr/src/uts/sun4u/opl/io/oplmsu/ |
H A D | oplmsu_cmn_func.c | 406 int sts, pre_sts = INST_STAT_UNCONFIGURED; local 417 sts = INST_STAT_ONLINE; 422 sts = INST_STAT_OFFLINE; 427 sts = INST_STAT_UNCONFIGURED; 429 sts = INST_STAT_BUSY; 432 if (pre_sts > sts) { 433 pre_sts = sts; 651 oplmsu_cmn_set_upath_sts(upath_t *upath, int sts, int prev_sts, argument 658 upath->status = sts;
|
H A D | oplmsu_ioctl_lrp.c | 57 int term_ioctl, term_stat, sts; local 207 sts = MSU_PSTAT_STOP; 210 sts = MSU_PSTAT_STANDBY; 213 oplmsu_cmn_set_upath_sts(stp_upath, sts,
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_scsa.c | 2013 uint32_t sts; local 2028 sts = LE_32(msg[2]); 2030 sts = 0; 2039 if (sts == PMCOUT_STATUS_ABORTED) { 2067 switch (sts) { 2073 __func__, pptr->path, sts); 2081 sts = PMCOUT_STATUS_OK; 2089 if (sts != PMCOUT_STATUS_OK) { 2090 pmcs_ioerror(pwp, SAS, pwrk, msg, sts); 2122 (void) memcpy(&sts, x 2621 uint32_t sts; local [all...] |
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | nl7clogd.c | 214 nca_log_stat_t *sts = &hdr->nca_logstats; local 215 int size = sts->n_log_size + sizeof (*hdr); 228 sts->n_log_size += DEV_BSIZE - (size & (DEV_BSIZE - 1)); 229 size = sts->n_log_size + sizeof (*hdr);
|
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/ |
H A D | topo_gather.c | 392 topoprop_indrule_add(indrule_t **indrp, char *sts, char *acts) argument 397 int stateslen = strlen(sts) + 1; 399 char *states = dstrdup(sts); 415 log_msg(MM_CONF, "Invalid states property `%s'\n", sts);
|
/illumos-gate/usr/src/uts/common/io/iprb/ |
H A D | iprb.c | 1161 uint16_t sts; local 1182 sts = GETRFD16(rfd, RFD_STS_OFFSET); 1189 if (((sts & RFD_STS_OK) == 0) && (sts & RFD_STS_ERRS)) { 1600 uint8_t sts; local 1610 sts = GET8(ip, CSR_STS); 1611 if (sts == 0) { 1617 PUT8(ip, CSR_STS, sts); 1619 if (sts & (STS_RNR | STS_FR)) { 1622 if ((sts [all...] |
/illumos-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/ |
H A D | sbd_pgr.c | 1175 scsi_prin_status_t *sts; local 1201 sts = (scsi_prin_status_t *)offset; 1202 SCSI_WRITE64(sts->reservation_key, key->pgr_key); 1205 sts->r_holder = 1; 1206 sts->type = pgr->pgr_rsv_type; 1207 sts->scope = pgr->pgr_rsv_scope; 1211 sts->all_tg_pt = 1; 1213 SCSI_WRITE16(sts->rel_tgt_port_id, 1216 SCSI_WRITE32(sts->add_len, key->pgr_key_rpt_len);
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | pcie_impl.h | 134 #define PF_ERR2DDIFM_ERR(sts) \ 135 (sts & PF_ERR_FATAL_FLAGS ? DDI_FM_FATAL : \ 136 (sts == PF_ERR_NO_ERROR ? DDI_FM_OK : DDI_FM_NONFATAL))
|
/illumos-gate/usr/src/uts/common/avs/ns/nsctl/ |
H A D | nsc_dev.c | 707 * nsc_open (char *path, int type, nsc_def_t *def, blind_t arg, int *sts) 713 * to by sts. 720 nsc_open(path, type, def, arg, sts) 725 int *sts; 737 if (sts) 738 *sts = rc; 757 if (sts) 758 *sts = rc;
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | seg_spt.c | 2654 int sts = 0; local 2712 sts = spt_anon_getpages(sptseg, spt_addr, a_len, ppa); 2713 if (sts != 0) { 2716 return (sts); 2726 sts = EAGAIN; 2729 sts = spt_lockpages(seg, an_idx, npages, 2768 sts = spt_unlockpages(seg, an_idx, npages, &unlocked); 2779 return (sts);
|
/illumos-gate/usr/src/uts/common/io/pciex/ |
H A D | pcieb.c | 1381 int sts = 0; local 1422 sts = pf_scan_fabric(dip, &derr, NULL); 1427 if (pcieb_die & sts) 1429 ddi_driver_name(dip), ddi_get_instance(dip), sts);
|
H A D | pcie_fault.c | 1869 int sts = PF_HDL_NOTFOUND; local 1878 sts = pf_log_hdl_lookup(rpdip, derr, pfd_p, B_FALSE); 1880 if (sts == PF_HDL_FOUND)
|
/illumos-gate/usr/src/uts/common/io/nge/ |
H A D | nge_chip.c | 327 if (cmd_reg.cmd_bits.sts == SEEPROM_READY) 338 cmd_reg.cmd_bits.sts = SEEPROM_READY; 346 if (cmd_reg.cmd_bits.sts == SEEPROM_READY) 358 cmd_reg.cmd_bits.sts = 0; 368 if (cmd_reg.cmd_bits.sts == SEEPROM_READY)
|
/illumos-gate/usr/src/uts/sun4u/io/px/ |
H A D | px_err.c | 1884 int sts; local 1897 sts = pf_hdl_lookup(rpdip, derr->fme_ena, adv_reg.pcie_ue_tgt_trans, 1900 if ((sts == PF_HDL_NOTFOUND) && (pxu_p->cpr_flag == PX_NOT_CPR)) 2207 int sts; local 2238 sts = pf_tlp_decode(PCIE_DIP2BUS(rpdip), &adv_reg); 2240 if (sts == DDI_SUCCESS)
|