Searched refs:eh_action (Results 1 - 7 of 7) sorted by relevance

/linux-4.1.27/drivers/ata/
H A Dlibata-trace.c55 libata_trace_parse_eh_action(struct trace_seq *p, unsigned int eh_action) libata_trace_parse_eh_action() argument
59 trace_seq_printf(p, "%x", eh_action); libata_trace_parse_eh_action()
60 if (eh_action) { libata_trace_parse_eh_action()
62 if (eh_action & ATA_EH_REVALIDATE) libata_trace_parse_eh_action()
64 if (eh_action & (ATA_EH_SOFTRESET | ATA_EH_HARDRESET)) libata_trace_parse_eh_action()
66 else if (eh_action & ATA_EH_SOFTRESET) libata_trace_parse_eh_action()
68 else if (eh_action & ATA_EH_HARDRESET) libata_trace_parse_eh_action()
70 if (eh_action & ATA_EH_ENABLE_LINK) libata_trace_parse_eh_action()
72 if (eh_action & ATA_EH_PARK) libata_trace_parse_eh_action()
H A Dlibata-eh.c1401 * ata_eh_about_to_do - about to perform eh_action
/linux-4.1.27/include/scsi/
H A Dscsi_driver.h18 int (*eh_action)(struct scsi_cmnd *, int); member in struct:scsi_driver
H A Dscsi_host.h566 struct completion * eh_action; /* Wait for specific actions on the member in struct:Scsi_Host
/linux-4.1.27/include/trace/events/
H A Dlibata.h270 TP_PROTO(struct ata_device *dev, unsigned int eh_action, unsigned int eh_err_mask),
272 TP_ARGS(dev, eh_action, eh_err_mask),
277 __field( unsigned int, eh_action )
284 __entry->eh_action = eh_action;
288 TP_printk("ata_port=%u ata_dev=%u eh_action=%s err_mask=%s",
290 __parse_eh_action(__entry->eh_action),
/linux-4.1.27/drivers/scsi/
H A Dscsi_error.c730 struct completion *eh_action; scsi_eh_done() local
735 eh_action = scmd->device->host->eh_action; scsi_eh_done()
736 if (eh_action) scsi_eh_done()
737 complete(eh_action); scsi_eh_done()
1023 shost->eh_action = &done; scsi_send_eh_cmnd()
1043 shost->eh_action = NULL; scsi_send_eh_cmnd()
1105 if (sdrv->eh_action) scsi_eh_action()
1106 rtn = sdrv->eh_action(scmd, rtn); scsi_eh_action()
H A Dsd.c525 .eh_action = sd_eh_action,

Completed in 217 milliseconds