Home
last modified time | relevance | path

Searched refs:eh_deadline (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/scsi/
Dhosts.c49 module_param_named(eh_deadline, shost_eh_deadline, int, S_IRUGO|S_IWUSR);
50 MODULE_PARM_DESC(eh_deadline,
435 shost->eh_deadline = -1; in scsi_host_alloc()
440 shost->eh_deadline = INT_MAX; in scsi_host_alloc()
442 shost->eh_deadline = shost_eh_deadline * HZ; in scsi_host_alloc()
Dscsi_error.c102 if (!shost->last_reset || shost->eh_deadline == -1) in scsi_host_eh_past_deadline()
112 if (time_before(jiffies, shost->last_reset + shost->eh_deadline) && in scsi_host_eh_past_deadline()
113 shost->eh_deadline > -1) in scsi_host_eh_past_deadline()
212 if (shost->eh_deadline != -1 && !shost->last_reset) in scsi_abort_command()
269 if (shost->eh_deadline != -1 && !shost->last_reset) in scsi_eh_scmd_add()
301 if (host->eh_deadline != -1 && !host->last_reset) in scsi_times_out()
2171 if (shost->eh_deadline != -1) in scsi_unjam_host()
Dscsi_sysfs.c325 if (shost->eh_deadline == -1) in show_shost_eh_deadline()
327 return sprintf(buf, "%u\n", shost->eh_deadline / HZ); in show_shost_eh_deadline()
358 shost->eh_deadline = -1; in store_shost_eh_deadline()
360 shost->eh_deadline = deadline * HZ; in store_shost_eh_deadline()
369 static DEVICE_ATTR(eh_deadline, S_IRUGO | S_IWUSR, show_shost_eh_deadline, store_shost_eh_deadline);
/kernel/linux/linux-5.10/include/scsi/
Dscsi_host.h563 int eh_deadline; member