Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_dev.c58 atomic_long_set(&idev->last_check_time, jiffies - 2 * HZ); in ionic_watchdog_init()
195 unsigned long check_time, last_check_time; in ionic_heartbeat_check() local
206 last_check_time = atomic_long_read(&idev->last_check_time); in ionic_heartbeat_check()
208 if (time_before(check_time, last_check_time + HZ)) in ionic_heartbeat_check()
210 if (!atomic_long_try_cmpxchg_relaxed(&idev->last_check_time, in ionic_heartbeat_check()
211 &last_check_time, check_time)) { in ionic_heartbeat_check()
287 last_check_time = idev->last_hb_time; in ionic_heartbeat_check()
288 if (time_before(check_time, last_check_time + DEVCMD_TIMEOUT * 2 * HZ)) in ionic_heartbeat_check()
H A Dionic_dev.h149 atomic_long_t last_check_time; member
/openbmc/linux/block/
H A Dblk-throttle.h133 unsigned long last_check_time; member
H A Dblk-throttle.c1909 if (time_after(tg->last_check_time + tg->td->throtl_slice, now)) in throtl_upgrade_check()
1912 tg->last_check_time = now; in throtl_upgrade_check()
2006 if (time_after(tg->last_check_time + tg->td->throtl_slice, now)) in throtl_downgrade_check()
2009 elapsed_time = now - tg->last_check_time; in throtl_downgrade_check()
2010 tg->last_check_time = now; in throtl_downgrade_check()