Lines Matching refs:reconnect_delay
84 int srp_tmo_valid(int reconnect_delay, int fast_io_fail_tmo, long dev_loss_tmo) in srp_tmo_valid() argument
86 if (reconnect_delay < 0 && fast_io_fail_tmo < 0 && dev_loss_tmo < 0) in srp_tmo_valid()
88 if (reconnect_delay == 0) in srp_tmo_valid()
217 return srp_show_tmo(buf, rport->reconnect_delay); in show_reconnect_delay()
235 if (rport->reconnect_delay <= 0 && delay > 0 && in store_reconnect_delay()
242 rport->reconnect_delay = delay; in store_reconnect_delay()
249 static DEVICE_ATTR(reconnect_delay, S_IRUGO | S_IWUSR, show_reconnect_delay,
282 res = srp_tmo_valid(rport->reconnect_delay, fast_io_fail_tmo, in store_srp_rport_fast_io_fail_tmo()
317 res = srp_tmo_valid(rport->reconnect_delay, rport->fast_io_fail_tmo, in store_srp_rport_dev_loss_tmo()
390 delay = rport->reconnect_delay * in srp_reconnect_work()
468 delay = rport->reconnect_delay; in __srp_start_tl_fail_timers()
718 rport->reconnect_delay = i->f->reconnect_delay ? in srp_rport_add()
719 *i->f->reconnect_delay : 10; in srp_rport_add()