Lines Matching refs:NUM_OF_HPTSI_SLOTS
171 #define NUM_OF_HPTSI_SLOTS 102400 macro
399 #define HPTS_MAX_SLEEP_ALLOWED (NUM_OF_HPTSI_SLOTS/2)
669 KASSERT(wheel_slot < NUM_OF_HPTSI_SLOTS, ("Invalid tick %u not on wheel", wheel_slot)); in hpts_slot()
670 return ((wheel_slot + plus) % NUM_OF_HPTSI_SLOTS); in hpts_slot()
683 return (cts_in_wticks % NUM_OF_HPTSI_SLOTS); in tick_to_wheel()
700 return (NUM_OF_HPTSI_SLOTS - 1); in hpts_slots_diff()
702 return ((NUM_OF_HPTSI_SLOTS - prev_slot) + slot_now); in hpts_slots_diff()
728 end_slot = NUM_OF_HPTSI_SLOTS - 1; in max_slots_available()
744 end_slot = NUM_OF_HPTSI_SLOTS - 1; in max_slots_available()
767 return (NUM_OF_HPTSI_SLOTS - dis_to_travel); in max_slots_available()
794 avail_on_wheel = NUM_OF_HPTSI_SLOTS - dis_to_travel; in max_slots_available()
835 KASSERT(hptsslot < NUM_OF_HPTSI_SLOTS, in check_if_slot_would_be_wrong()
1109 for (i = 0, t = hpts_slot(hpts->p_cur_slot, 1); i < NUM_OF_HPTSI_SLOTS; i++) { in tcp_hpts_set_max_sleep()
1113 t = (t + 1) % NUM_OF_HPTSI_SLOTS; in tcp_hpts_set_max_sleep()
1115 KASSERT((i != NUM_OF_HPTSI_SLOTS), ("Hpts:%p cnt:%d but none found", hpts, hpts->p_on_queue_cnt)); in tcp_hpts_set_max_sleep()
1166 if (((hpts->p_curtick - hpts->p_lasttick) > (NUM_OF_HPTSI_SLOTS - 1)) && in tcp_hptsi()
1223 slots_to_run = NUM_OF_HPTSI_SLOTS - 1; in tcp_hptsi()
1446 if (hpts->p_runningslot >= NUM_OF_HPTSI_SLOTS) { in tcp_hptsi()
1918 asz = sizeof(struct hptsh) * NUM_OF_HPTSI_SLOTS; in tcp_hpts_mod_load()
1931 for (j = 0; j < NUM_OF_HPTSI_SLOTS; j++) { in tcp_hpts_mod_load()