Home
last modified time | relevance | path

Searched refs:last_check_time (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-6.6/drivers/net/ethernet/pensando/ionic/
H A Dionic_dev.c58 atomic_long_set(&idev->last_check_time, jiffies - 2 * HZ); in ionic_watchdog_init()
180 unsigned long check_time, last_check_time; in ionic_heartbeat_check() local
191 last_check_time = atomic_long_read(&idev->last_check_time); in ionic_heartbeat_check()
193 if (time_before(check_time, last_check_time + HZ)) in ionic_heartbeat_check()
195 if (!atomic_long_try_cmpxchg_relaxed(&idev->last_check_time, in ionic_heartbeat_check()
196 &last_check_time, check_time)) { in ionic_heartbeat_check()
274 last_check_time = idev->last_hb_time; in ionic_heartbeat_check()
275 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
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/block/
H A Dblk-throttle.c164 unsigned long last_check_time; member
1977 if (time_after(tg->last_check_time + tg->td->throtl_slice, now)) in throtl_upgrade_check()
1980 tg->last_check_time = now; in throtl_upgrade_check()
2070 if (time_after(tg->last_check_time + tg->td->throtl_slice, now)) in throtl_downgrade_check()
2073 elapsed_time = now - tg->last_check_time; in throtl_downgrade_check()
2074 tg->last_check_time = now; in throtl_downgrade_check()

Completed in 10 milliseconds