Lines Matching refs:wheel_slot
620 hpts_slot(uint32_t wheel_slot, uint32_t plus) in hpts_slot() argument
626 KASSERT(wheel_slot < NUM_OF_HPTSI_SLOTS, ("Invalid tick %u not on wheel", wheel_slot)); in hpts_slot()
627 return ((wheel_slot + plus) % NUM_OF_HPTSI_SLOTS); in hpts_slot()
676 max_slots_available(struct tcp_hpts_entry *hpts, uint32_t wheel_slot, uint32_t *target_slot) in max_slots_available() argument
712 if (hpts->p_prev_slot != wheel_slot) in max_slots_available()
713 dis_to_travel = hpts_slots_diff(hpts->p_prev_slot, wheel_slot); in max_slots_available()
739 if (hpts->p_cur_slot != wheel_slot) { in max_slots_available()
741 pacer_to_now = hpts_slots_diff(hpts->p_cur_slot, wheel_slot); in max_slots_available()
823 int32_t wheel_slot, maxslots; in tcp_hpts_insert_diag() local
882 wheel_slot = tick_to_wheel(wheel_cts); in tcp_hpts_insert_diag()
884 maxslots = max_slots_available(hpts, wheel_slot, &last_slot); in tcp_hpts_insert_diag()
886 diag->wheel_slot = wheel_slot; in tcp_hpts_insert_diag()
907 tp->t_hpts_slot = hpts_slot(wheel_slot, slot); in tcp_hpts_insert_diag()
934 have_slept = hpts_slots_diff(hpts->p_prev_slot, wheel_slot); in tcp_hpts_insert_diag()