Lines Matching refs:curr_time
263 static void rs_tl_rm_old_stats(struct iwl_traffic_load *tl, u32 curr_time) in rs_tl_rm_old_stats() argument
266 u32 oldest_time = curr_time - TID_MAX_TIME_DIFF; in rs_tl_rm_old_stats()
287 u32 curr_time = jiffies_to_msecs(jiffies); in rs_tl_add_packet() local
304 curr_time -= curr_time % TID_ROUND_VALUE; in rs_tl_add_packet()
309 tl->time_stamp = curr_time; in rs_tl_add_packet()
316 time_diff = TIME_WRAP_AROUND(tl->time_stamp, curr_time); in rs_tl_add_packet()
322 rs_tl_rm_old_stats(tl, curr_time); in rs_tl_add_packet()
369 u32 curr_time = jiffies_to_msecs(jiffies); in rs_tl_get_load() local
379 curr_time -= curr_time % TID_ROUND_VALUE; in rs_tl_get_load()
384 time_diff = TIME_WRAP_AROUND(tl->time_stamp, curr_time); in rs_tl_get_load()
390 rs_tl_rm_old_stats(tl, curr_time); in rs_tl_get_load()