Lines Matching refs:time_hash
2124 int time_hash; in schedule_bw_meter() local
2142 BW_METER_TIMEHASH(x, time_hash); in schedule_bw_meter()
2143 x->bm_time_next = V_bw_meter_timers[time_hash]; in schedule_bw_meter()
2144 V_bw_meter_timers[time_hash] = x; in schedule_bw_meter()
2145 x->bm_time_hash = time_hash; in schedule_bw_meter()
2155 int time_hash; in unschedule_bw_meter() local
2166 time_hash = x->bm_time_hash; in unschedule_bw_meter()
2167 if (time_hash >= BW_METER_BUCKETS) in unschedule_bw_meter()
2170 for (prev = NULL, tmp = V_bw_meter_timers[time_hash]; in unschedule_bw_meter()
2181 V_bw_meter_timers[time_hash] = x->bm_time_next; in unschedule_bw_meter()
2239 int time_hash; in bw_meter_process() local
2241 BW_METER_TIMEHASH(x, time_hash); in bw_meter_process()
2242 if (time_hash == i && process_endtime.tv_sec == now.tv_sec) { in bw_meter_process()
2247 if (++time_hash >= BW_METER_BUCKETS) in bw_meter_process()
2248 time_hash = 0; in bw_meter_process()
2250 x->bm_time_next = V_bw_meter_timers[time_hash]; in bw_meter_process()
2251 V_bw_meter_timers[time_hash] = x; in bw_meter_process()
2252 x->bm_time_hash = time_hash; in bw_meter_process()