Home
last modified time | relevance | path

Searched refs:eh_action (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/ata/
H A Dlibata-trace.c60 libata_trace_parse_eh_action(struct trace_seq *p, unsigned int eh_action) in libata_trace_parse_eh_action() argument
64 trace_seq_printf(p, "%x", eh_action); in libata_trace_parse_eh_action()
65 if (eh_action) { in libata_trace_parse_eh_action()
67 if (eh_action & ATA_EH_REVALIDATE) in libata_trace_parse_eh_action()
69 if (eh_action & (ATA_EH_SOFTRESET | ATA_EH_HARDRESET)) in libata_trace_parse_eh_action()
71 else if (eh_action & ATA_EH_SOFTRESET) in libata_trace_parse_eh_action()
73 else if (eh_action & ATA_EH_HARDRESET) in libata_trace_parse_eh_action()
75 if (eh_action & ATA_EH_ENABLE_LINK) in libata_trace_parse_eh_action()
77 if (eh_action & ATA_EH_PARK) in libata_trace_parse_eh_action()
/linux/include/trace/events/
H A Dlibata.h442 TP_PROTO(struct ata_device *dev, unsigned int eh_action, unsigned int eh_err_mask),
444 TP_ARGS(dev, eh_action, eh_err_mask),
449 __field( unsigned int, eh_action )
456 __entry->eh_action = eh_action;
462 __parse_eh_action(__entry->eh_action),
496 TP_PROTO(struct ata_link *link, unsigned int devno, unsigned int eh_action),
498 TP_ARGS(link, devno, eh_action),
503 __field( unsigned int, eh_action )
509 __entry->eh_action = eh_action;
514 __parse_eh_action(__entry->eh_action))
[all …]
/linux/include/scsi/
H A Dscsi_driver.h20 int (*eh_action)(struct scsi_cmnd *, int); member
H A Dscsi_host.h563 struct completion * eh_action; /* Wait for specific actions on the member
/linux/drivers/scsi/
H A Dscsi_error.c859 struct completion *eh_action; in scsi_eh_done() local
864 eh_action = scmd->device->host->eh_action; in scsi_eh_done()
865 if (eh_action) in scsi_eh_done()
866 complete(eh_action); in scsi_eh_done()
1153 shost->eh_action = &done; in scsi_send_eh_cmnd()
1197 shost->eh_action = NULL; in scsi_send_eh_cmnd()
1260 if (sdrv->eh_action) in scsi_eh_action()
1261 rtn = sdrv->eh_action(scmd, rtn); in scsi_eh_action()
H A Dsd.c4344 .eh_action = sd_eh_action,