Searched defs:sense (Results 1 - 25 of 33) sorted by relevance

12

/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/fops/
H A Dsym.c160 uint8_t *sense, void *ctpriv)
159 symmetric_analyze_sense(struct scsi_device *sd, uint8_t *sense, void *ctpriv) argument
H A Dtape.c183 tape_analyze_sense(struct scsi_device *sd, uint8_t *sense, argument
188 skey = scsi_sense_key(sense);
189 asc = scsi_sense_asc(sense);
190 ascq = scsi_sense_ascq(sense);
H A Dtpgs.c192 " sense key:%x, ASC: %x, "
426 * Analyze the sense code to determine whether failover process
430 std_analyze_sense(struct scsi_device *sd, uint8_t *sense, argument
437 skey = scsi_sense_key(sense);
438 asc = scsi_sense_asc(sense);
439 ascq = scsi_sense_ascq(sense);
447 " sense:%x\n", skey, asc, ascq, rval));
455 " sense:%x\n", skey, asc, ascq, rval));
461 " sense:%x\n", skey, asc, ascq, rval));
467 " sense
[all...]
H A Dasym_sun.c349 " sense key:%x, ASC: %x, "
511 purple_analyze_sense(struct scsi_device *sd, uint8_t *sense, argument
516 skey = scsi_sense_key(sense);
517 asc = scsi_sense_asc(sense);
518 ascq = scsi_sense_ascq(sense);
533 * At this point sense data may be for power-on-reset UNIT ATTN or
534 * hardware errors, vendor unique sense data etc. For all these cases
537 VHCI_DEBUG(6, (CE_NOTE, NULL, "!T3 analyze sense UNKNOWN:"
538 " sense key:%x, ASC: %x, ASCQ:%x\n", skey, asc, ascq));
/illumos-gate/usr/src/lib/storage/libg_fc/common/
H A Dio.c94 struct scsi_extended_sense sense; local
109 ucmd.uscsi_rqbuf = (caddr_t)&sense;
129 struct scsi_extended_sense sense; local
143 ucmd.uscsi_rqbuf = (caddr_t)&sense;
167 struct scsi_extended_sense sense; local
183 ucmd.uscsi_rqbuf = (caddr_t)&sense;
231 struct scsi_extended_sense sense; local
250 ucmd.uscsi_rqbuf = (caddr_t)&sense;
267 struct scsi_extended_sense sense; local
284 ucmd.uscsi_rqbuf = (caddr_t)&sense;
296 struct scsi_extended_sense sense; local
339 struct scsi_extended_sense sense; local
375 struct scsi_extended_sense sense; local
415 struct scsi_extended_sense sense; local
460 struct scsi_extended_sense sense; local
486 struct scsi_extended_sense sense; local
530 struct scsi_extended_sense sense; local
577 struct scsi_extended_sense sense; local
600 struct scsi_extended_sense sense; local
627 struct scsi_extended_sense sense; local
649 struct scsi_extended_sense sense; local
674 struct scsi_extended_sense sense; local
699 struct scsi_extended_sense sense; local
[all...]
H A Dmap.c4031 struct scsi_extended_sense sense; local
4040 ucmd.uscsi_rqbuf = (caddr_t)&sense;
4054 struct scsi_extended_sense sense; local
4066 ucmd.uscsi_rqbuf = (caddr_t)&sense;
/illumos-gate/usr/src/lib/fm/libseslog/common/
H A Dlibseslog.c86 * initialize sense data
89 set_scsi_pt_sense(struct uscsi_cmd *uscsi, unsigned char *sense, argument
92 (void) memset(sense, 0, max_sense_len);
93 uscsi->uscsi_rqbuf = (char *)sense;
564 * mode sense page:
667 /* Error during mode sense */
/illumos-gate/usr/src/lib/krb5/kadm5/
H A Dstr_conv.c125 /* flag sense input specifier output string */
157 int sense; local
166 sense = 1;
167 /* First check for positive or negative sense */
169 sense = 0;
179 if (sense == (int) flags_table[i].fl_sense)
/illumos-gate/usr/src/lib/smbsrv/libmlrpc/common/
H A Dndr_process.c1843 long sense = 0; local
1866 case 1: sense = *valp; break;
1868 case 2: sense = *(short *)valp; break;
1870 case 4: sense = *(long *)valp; break;
1873 if (!sense)
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_cs.c692 struct scsi_extended_sense sense; local
695 senseSize = sizeof (sense);
727 memset(&sense, 0, sizeof (sense));
729 &num_luns, &resp_buf, &sense, &l_errno)) != FPCFGA_OK) {
731 * Checking the sense key data as well as the additional
732 * sense key. The SES Node is not required to repond
735 * sense key of 0x20. In this case we will blindly
741 if ((sense.es_key == KEY_ILLEGAL_REQUEST) &&
742 (sense
[all...]
H A Dcfga_list.c502 struct scsi_extended_sense sense; local
505 senseSize = sizeof (sense);
643 &sense, &senseSize);
730 &sense, &senseSize);
1067 struct scsi_extended_sense sense; local
1071 memset(&sense, 0, sizeof (sense));
1073 &num_luns, &resp_buf, &sense, l_errnop)) != FPCFGA_OK) {
1654 * cond may make more sense.
2554 * cond may make more sense
3691 struct scsi_extended_sense sense; local
[all...]
/illumos-gate/usr/src/cmd/fcinfo/
H A Dfcinfo-list.c230 struct scsi_extended_sense sense; local
243 (void *)&sense, &senseSize);
498 struct scsi_extended_sense sense; local
510 memset(&sense, 0, sizeof (sense));
513 &rep_luns_status, (void *)&sense, &senseSize);
539 memset(&sense, 0, sizeof (sense));
550 &sense, &senseSize);
1059 struct scsi_extended_sense sense; local
[all...]
/illumos-gate/usr/src/lib/sun_fc/common/
H A DFCHBAPort.cc49 #include <sys/scsi/impl/sense.h>
229 reportSense(struct scsi_extended_sense *sense, const char *routine) { argument
232 if (!sense) {
233 log.internalError("NULL sense argument passed.");
241 switch (sense->es_key) {
243 msg = "No sense";
291 msg = "unknown sense key";
294 log.genericIOError("\tASC = 0x%x", sense->es_add_code);
295 log.genericIOError("\tASCQ = 0x%x", sense->es_qual_code);
400 /* We may or may not have sense dat
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dses.c1288 * Process status and sense data errors.
1336 SES_LOG(ssc, SES_CE_DEBUG1, "retrying sense");
1374 * Check status and sense data and determine recovery.
1380 struct scsi_extended_sense *sense = local
1391 * Process manual request sense.
1392 * Copy manual request sense to sense buffer.
1394 * This is done if auto request sense is not enabled.
1395 * Or the auto request sense failed and the request
1396 * sense need
[all...]
/illumos-gate/usr/src/cmd/luxadm/
H A Dlux_util.c42 #include <sys/scsi/generic/sense.h>
279 * scsi request sense information
290 (void) sprintf(msg_string, MSGSTR(91, "No sense error"));
366 MSGSTR(132, " Additional sense: 0x%x "
381 string_dump(MSGSTR(43, " sense: "),
400 * Set Automatic request sense enable
620 struct scsi_extended_sense sense; local
642 ucmd.uscsi_rqbuf = (caddr_t)&sense;
665 struct scsi_extended_sense sense; local
678 ucmd.uscsi_rqbuf = (caddr_t)&sense;
692 struct scsi_extended_sense sense; local
[all...]
H A Dfchba.c38 #include <sys/scsi/generic/sense.h>
527 struct scsi_extended_sense sense; local
529 uint32_t inquirySize = sizeof (inq), senseSize = sizeof (sense);
611 memset(&sense, 0, sizeof (sense));
618 &sense, &senseSize);
689 struct scsi_extended_sense sense; local
691 uint32_t inquirySize = sizeof (inq), senseSize = sizeof (sense);
790 memset(&sense, 0, sizeof (sense));
894 struct scsi_extended_sense sense; local
1514 struct scsi_extended_sense sense; local
2129 struct scsi_extended_sense sense; local
[all...]
/illumos-gate/usr/src/lib/fm/libdiskstatus/common/
H A Dds_scsi.c103 * Given an extended sense page, retrieves the sense key, as well as the
104 * additional sense code information.
116 * Get asc, ascq and info field from sense data. There are two
117 * possible formats (fixed sense data and descriptor sense data)
154 struct scsi_extended_sense sense; local
162 bzero(&sense, sizeof (struct scsi_extended_sense));
179 &headers->ms_hdr.g0, &sense, &senselen);
183 &headers->ms_hdr.g0, &sense,
211 struct scsi_extended_sense sense; local
252 struct scsi_extended_sense sense, sensebuf; local
280 struct scsi_extended_sense sense; local
479 struct scsi_extended_sense sense; local
535 struct scsi_extended_sense sense; local
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_fcp.c69 uint8_t sense; local
86 sense = 0;
275 /* Check the sense codes if this is a check condition */
279 /* Check if sense data was provided */
281 sense = *((uint8_t *)rsp + 32 + 2);
289 scsi_opcode, sense, asc, ascq); local
669 rsp_data_resid, scsi_status, sense, asc, ascq);
677 rsp_data_resid, scsi_status, sense, asc, ascq);
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_znode.c1728 uint64_t sense = ZFS_CASE_SENSITIVE; local
1775 sense = val;
1838 if (sense == ZFS_CASE_INSENSITIVE || sense == ZFS_CASE_MIXED)
/illumos-gate/usr/src/uts/common/io/comstar/port/pppt/
H A Dalua_ic_if.c742 uint8_t *sense,
761 icss->icss_sense = sense;
733 stmf_ic_scsi_status_msg_alloc( stmf_ic_msgid_t task_msgid, uint64_t session_id, uint8_t *lun_id, uint8_t response, uint8_t status, uint8_t flags, uint32_t resid, uint8_t sense_len, uint8_t *sense, stmf_ic_msgid_t msgid) argument
/illumos-gate/usr/src/cmd/format/
H A Dctlr_scsi.c157 SCMD_MODE_SENSE, "mode sense",
165 * Strings for printing mode sense page control values
348 * compliant. We handle mode sense/mode selects
374 * sense for that page. If a specified parameter
634 * Issue a mode sense to determine the default parameters
675 err_print("Mode sense page(4) reports rpm value as %d,"
696 * Check disk error recovery parameters via mode sense.
736 * Issue a mode sense to determine the saved parameters
820 * that it can save this page via the mode sense.
860 * Check disk disconnect/reconnect parameters via mode sense
3516 struct scsi_extended_sense sense; local
[all...]
/illumos-gate/usr/src/cmd/sasinfo/
H A Dsasinfo-list.c1709 struct scsi_extended_sense sense; local
1762 (void) memset(&sense, 0, sizeof (sense));
1771 (void *) &sense, &senseSize);
1847 (void) memset(&sense, 0, sizeof (sense));
1860 (void *) &sense, &senseSize);
2189 struct scsi_extended_sense sense; local
2363 (void *) memset(&sense, 0, sizeof (sense));
[all...]
/illumos-gate/usr/src/uts/common/io/sata/adapters/si3124/
H A Dsi3124.c3572 * Set the auto sense data for ATAPI devices.
3574 * Note: Currently the sense data is simulated; this code will be enhanced
3575 * in second phase to fetch the real sense data from the atapi device.
3580 struct scsi_extended_sense *sense; local
3582 sense = (struct scsi_extended_sense *)
3584 bzero(sense, sizeof (struct scsi_extended_sense));
3585 sense->es_valid = 1; /* Valid sense */
3586 sense->es_class = 7; /* Response code 0x70 - current err */
3587 sense
[all...]
/illumos-gate/usr/src/uts/common/io/skd/
H A Dskd.c1004 * with EIO and any scsi pass thru with appropriate sense
1785 * Look up status and sense data to decide how to handle the error
1819 cmn_err(CE_WARN, "!(%s):SMART Alert: sense key/asc/ascq"
2332 uint32_t sense; local
2339 sense = SKD_READL(skdev, FIT_STATUS);
2340 state = sense & FIT_SR_DRIVE_STATE_MASK;
2616 uint32_t sense; local
2620 sense = SKD_READL(skdev, FIT_CONTROL);
2621 sense &= ~FIT_CR_ENABLE_INTERRUPTS;
2622 SKD_WRITEL(skdev, sense, FIT_CONTRO
[all...]
/illumos-gate/usr/src/uts/sun/io/scsi/adapters/
H A Dsf.c3624 struct scsi_extended_sense *sense; local
3625 sense = (struct scsi_extended_sense *)
3628 if (sense->es_key == KEY_ILLEGAL_REQUEST) {
3629 if (sense->es_add_code == 0x20) {
3639 } else if (sense->es_add_code == 0x25) {
3644 sense->es_key, sense->es_add_code));
3647 } else if (sense->es_key ==
3649 sense->es_add_code == 0x29) {
3658 sense
5544 caddr_t sense = (caddr_t)rsp + local
[all...]

Completed in 140 milliseconds

12