Lines Matching refs:sense

63  * This type defines actions to be taken when a particular sense code is
3026 * SPC-4 says that the maximum length of sense data is 252 bytes.
3036 * Maximum value for the extra_len field in the sense data.
3042 * Fixed format sense data.
3085 #define SSD_FIXED_IS_PRESENT(sense, length, field) \
3087 sizeof(sense->field))) ? 1 :0)
3088 #define SSD_FIXED_IS_FILLED(sense, field) \
3090 sizeof(sense->field)) - \
3092 sizeof(sense->extra_len))) <= sense->extra_len) ? 1 : 0)
3096 * Descriptor format sense data definitions.
3114 #define SSD_DESC_IS_PRESENT(sense, length, field) \
3116 sizeof(sense->field))) ? 1 :0)
3165 * Sense key specific descriptor. The sense key specific data format
3166 * depends on the sense key in question.
3182 * This is used for the Illegal Request sense key (0x05) only.
3197 * Recovered Error (0x01) sense keys.
3207 * Used with the NO Sense (0x00) or Not Ready (0x02) sense keys.
3218 * Used with the Copy Aborted (0x0a) sense key.
3231 * Used with the Unit Attention (0x06) sense key.
3245 * This specifies which component is associated with the sense data. There
3381 * Vendor-specific sense descriptor. The desc_type field will be in the
3544 void scsi_desc_iterate(struct scsi_sense_data_desc *sense, u_int sense_len,
3545 int (*iter_func)(struct scsi_sense_data_desc *sense,
3548 uint8_t *scsi_find_desc(struct scsi_sense_data_desc *sense, u_int sense_len,
3577 void scsi_sense_info_sbuf(struct sbuf *sb, struct scsi_sense_data *sense,
3582 void scsi_sense_command_sbuf(struct sbuf *sb, struct scsi_sense_data *sense,
3586 void scsi_sense_sks_sbuf(struct sbuf *sb, struct scsi_sense_data *sense,
3590 void scsi_sense_fru_sbuf(struct sbuf *sb, struct scsi_sense_data *sense,
3594 void scsi_sense_stream_sbuf(struct sbuf *sb, struct scsi_sense_data *sense,
3598 void scsi_sense_block_sbuf(struct sbuf *sb, struct scsi_sense_data *sense,
3602 void scsi_sense_progress_sbuf(struct sbuf *sb, struct scsi_sense_data *sense,
3606 void scsi_sense_generic_sbuf(struct sbuf *sb, struct scsi_sense_data *sense,
3610 void scsi_sense_desc_sbuf(struct sbuf *sb, struct scsi_sense_data *sense,
3616 void scsi_sense_only_sbuf(struct scsi_sense_data *sense, u_int sense_len,
4032 void scsi_extract_sense(struct scsi_sense_data *sense, int *error_code,
4036 void scsi_extract_sense_len(struct scsi_sense_data *sense,
4039 int scsi_get_sense_key(struct scsi_sense_data *sense, u_int sense_len,
4041 int scsi_get_asc(struct scsi_sense_data *sense, u_int sense_len,
4043 int scsi_get_ascq(struct scsi_sense_data *sense, u_int sense_len,
4159 * Given the pointer to a returned mode sense buffer, return a pointer to