Searched refs:sense (Results 1 - 25 of 49) sorted by relevance

12

/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...]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/fops/
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 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));
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 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...]
/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/cmd/luxadm/
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...]
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...]
/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/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/uts/common/io/sata/impl/
H A Dsata.c2269 * We need to operate with auto request sense enabled.
3461 struct scsi_extended_sense *sense; local
3469 sense = sata_arq_sense(spx);
3470 sense->es_key = KEY_ILLEGAL_REQUEST;
3471 sense->es_add_code = SD_SCSI_ASC_INVALID_COMMAND_CODE;
3496 * Scsi response set up for check condition with special sense key
3497 * and additional sense code.
3507 struct scsi_extended_sense *sense; local
3516 sense = sata_arq_sense(spx);
3517 sense
3625 struct scsi_extended_sense *sense; local
3938 struct scsi_extended_sense sense; local
4082 struct scsi_extended_sense *sense; local
4977 struct scsi_extended_sense *sense; local
5276 struct scsi_extended_sense *sense; local
5823 struct scsi_extended_sense *sense; local
6638 struct scsi_extended_sense *sense; local
7202 struct scsi_extended_sense *sense; local
7243 sata_decode_device_error(sata_pkt_txlate_t *spx, struct scsi_extended_sense *sense) argument
7320 struct scsi_extended_sense *sense; local
7348 struct scsi_extended_sense *sense = sata_arq_sense(spx); local
7458 struct scsi_extended_sense *sense; local
7905 struct scsi_extended_sense *sense; local
8218 struct scsi_extended_sense *sense; local
8392 struct scsi_extended_sense *sense; local
8480 struct scsi_extended_sense *sense; local
8560 struct scsi_extended_sense *sense; local
9574 struct scsi_extended_sense *sense; local
16392 sata_fixed_sense_data_preset(struct scsi_extended_sense *sense) argument
17414 struct scsi_extended_sense *sense; local
[all...]
/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/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/uts/intel/io/dktp/controller/ata/
H A Dcapacity.notes.txt49 sense of the IDENTIFY DEVICE results, words
53 Is the right algorithm for making sense of all this written down
83 >sense of the IDENTIFY DEVICE results, words
87 >Is the right algorithm for making sense of all this written down
/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/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/uts/common/sys/scsi/targets/
H A Dstdef.h35 #include <sys/scsi/generic/sense.h>
143 /* mode-select/mode-sense */
167 #define ST_SOFT_ERROR_REPORTING 0x800 /* Do request or log sense on */
235 /* 0x71 and sense code 0x01 */
540 uchar_t data_len; /* sense data length, sense only */
541 uchar_t media_type; /* medium type, sense only */
544 wp :1; /* write protected, sense only */
556 ps: 1; /* Page Savable sense only */
561 uchar_t data_len; /* sense dat
[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...]
H A DFCHBANPIVPort.cc48 #include <sys/scsi/impl/sense.h>
/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/sys/
H A Dpppt_ic_if.h366 uint8_t *sense,
/illumos-gate/usr/src/uts/common/sys/scsi/generic/
H A Dcommands.h517 #include <sys/scsi/generic/sense.h>
H A Dsense.h37 * Vendor Unique sense information.
66 * to in SPC-3 as "fixed format sense data"). The es_code field is used
67 * to determine whether the extended sense data is actually "fixed format" or
71 #define CLASS_EXTENDED_SENSE 0x7 /* indicates extended sense */
79 es_valid : 1; /* sense data is valid */
89 uchar_t es_valid : 1, /* sense data is valid */
168 * Descriptor sense data header
170 * Descriptor format sense data is described in the SPC-3 standard. Unlike
171 * the fixed format sense data, descriptor format consists of a header
172 * followed by a variable length list of sense dat
[all...]
/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)

Completed in 128 milliseconds

12