Lines Matching defs:sense
236 {"sense", CAM_CMD_REQSENSE, CAM_ARG_NONE, "Dx"},
849 struct scsi_sense_data sense;
876 bzero(&sense, sizeof(sense));
881 /*data_ptr*/ (void *)&sense,
882 /*dxfer_len*/ sizeof(sense),
909 * may also fail if the user asks for descriptor sense and the
922 hexdump(&sense, returned_bytes, NULL, 0);
935 scsi_sense_only_sbuf(&sense, returned_bytes, sb, path_str,
1782 printf("sense data reporting %s %s\n",
4146 struct scsi_sense_data *sense;
4149 sense = &ccb->csio.sense_data;
4150 scsi_extract_sense_len(sense, ccb->csio.sense_len -
4260 struct scsi_sense_data *sense;
4263 sense = &ccb->csio.sense_data;
4264 scsi_extract_sense_len(sense, ccb->csio.sense_len -
4270 * the requested format, it will generally return a sense
4271 * key of RECOVERED ERROR, and an additional sense code
4536 err(1, "error sending mode sense command");
4554 errx(1, "mode sense command returned error");
5756 struct scsi_sense_data_desc *sense;
5760 sense = (struct scsi_sense_data_desc *)
5763 desc_ptr = scsi_find_desc(sense, sense_len,
6627 struct scsi_sense_data *sense;
6630 sense = &ccb->csio.sense_data;
6631 scsi_extract_sense_len(sense, ccb->csio.sense_len -
6639 * not ready, format in progress". The sense key
6646 if ((scsi_get_sks(sense, ccb->csio.sense_len -
6839 struct scsi_sense_data *sense;
6842 sense = &ccb->csio.sense_data;
6843 scsi_extract_sense_len(sense, ccb->csio.sense_len -
6851 * progress". The sense key specific bytes will then
6858 if ((scsi_get_sks(sense, ccb->csio.sense_len -
7214 struct scsi_sense_data *sense;
7219 sense = &ccb->csio.sense_data;
7220 scsi_extract_sense_len(sense, ccb->csio.sense_len -
9987 " camcontrol sense [dev_id][generic args][-D][-x]\n"
10076 "sense send a request sense command to the named device\n"
10123 "-v be verbose, print out sense information\n"
10135 "-d disable block descriptors for mode sense\n"
10141 "sense arguments:\n"
10142 "-D request descriptor sense data\n"
10143 "-x do a hexdump of the sense data\n"