Lines Matching defs:wheel
63 * Timeouts are kept in a hierarchical timing wheel. The to_time is the value
86 struct timespec kc_lastscan; /* [T] Clock time at last wheel scan */
91 #define MASKWHEEL(wheel, time) (((time) >> ((wheel)*WHEELBITS)) & WHEELMASK)
103 #define MOVEBUCKET(wheel, time) \
105 &timeout_wheel[MASKWHEEL((wheel), (time)) + (wheel)*WHEELSIZE])
538 * Hash the absolute time into a bucket on a given level of the wheel.
547 * in on the given level of the wheel.
938 struct circq *wheel;
956 wheel = timeout_wheel_kc;
958 wheel = timeout_wheel;
962 (bucket - wheel) % WHEELSIZE,
963 (bucket - wheel) / WHEELSIZE);
1001 "remaining", "clock", "wheel", width, "arg", "func");