Symbol: NUM_OF_HPTSI_SLOTS
sys/netinet/tcp_hpts.c
1061
for (i = 0, t = hpts_slot(hpts->p_cur_slot, 1); i < NUM_OF_HPTSI_SLOTS; i++) {
sys/netinet/tcp_hpts.c
1065
t = (t + 1) % NUM_OF_HPTSI_SLOTS;
sys/netinet/tcp_hpts.c
1067
KASSERT((i != NUM_OF_HPTSI_SLOTS), ("Hpts:%p cnt:%d but none found", hpts, hpts->p_on_queue_cnt));
sys/netinet/tcp_hpts.c
1129
((NUM_OF_HPTSI_SLOTS-1) * HPTS_USECS_PER_SLOT))) {
sys/netinet/tcp_hpts.c
1185
slots_to_run = NUM_OF_HPTSI_SLOTS - 1;
sys/netinet/tcp_hpts.c
1408
if (hpts->p_runningslot >= NUM_OF_HPTSI_SLOTS) {
sys/netinet/tcp_hpts.c
1901
asz = sizeof(struct hptsh) * NUM_OF_HPTSI_SLOTS;
sys/netinet/tcp_hpts.c
1920
for (j = 0; j < NUM_OF_HPTSI_SLOTS; j++) {
sys/netinet/tcp_hpts.c
319
#define HPTS_MAX_SLEEP_ALLOWED (NUM_OF_HPTSI_SLOTS/2)
sys/netinet/tcp_hpts.c
633
KASSERT(wheel_slot < NUM_OF_HPTSI_SLOTS, ("Invalid slot %u not on wheel", wheel_slot));
sys/netinet/tcp_hpts.c
634
return ((wheel_slot + plus) % NUM_OF_HPTSI_SLOTS);
sys/netinet/tcp_hpts.c
643
return ((cts / HPTS_USECS_PER_SLOT) % NUM_OF_HPTSI_SLOTS);
sys/netinet/tcp_hpts.c
660
return (NUM_OF_HPTSI_SLOTS - 1);
sys/netinet/tcp_hpts.c
662
return ((NUM_OF_HPTSI_SLOTS - prev_slot) + slot_now);
sys/netinet/tcp_hpts.c
688
end_slot = NUM_OF_HPTSI_SLOTS - 1;
sys/netinet/tcp_hpts.c
704
end_slot = NUM_OF_HPTSI_SLOTS - 1;
sys/netinet/tcp_hpts.c
727
return (NUM_OF_HPTSI_SLOTS - dis_to_travel);
sys/netinet/tcp_hpts.c
754
avail_on_wheel = NUM_OF_HPTSI_SLOTS - dis_to_travel;
sys/netinet/tcp_hpts.c
795
KASSERT(hptsslot < NUM_OF_HPTSI_SLOTS,
sys/netinet/tcp_hpts_test.c
1008
uint32_t large_timeout_usecs = (NUM_OF_HPTSI_SLOTS + 5000) * HPTS_USECS_PER_SLOT; /* Beyond wheel capacity */
sys/netinet/tcp_hpts_test.c
1009
uint32_t huge_timeout_usecs = (NUM_OF_HPTSI_SLOTS * 3) * HPTS_USECS_PER_SLOT; /* 3x wheel capacity */
sys/netinet/tcp_hpts_test.c
1032
KTEST_VERIFY(tp->t_hpts_slot < NUM_OF_HPTSI_SLOTS);
sys/netinet/tcp_hpts_test.c
1037
test_time_usec += NUM_OF_HPTSI_SLOTS * HPTS_USECS_PER_SLOT;
sys/netinet/tcp_hpts_test.c
1066
KTEST_VERIFY(initial_request > NUM_OF_HPTSI_SLOTS);
sys/netinet/tcp_hpts_test.c
1069
test_time_usec += NUM_OF_HPTSI_SLOTS * HPTS_USECS_PER_SLOT;
sys/netinet/tcp_hpts_test.c
1083
test_time_usec += NUM_OF_HPTSI_SLOTS * HPTS_USECS_PER_SLOT;
sys/netinet/tcp_hpts_test.c
1203
KTEST_VERIFY(tp->t_hpts_slot < NUM_OF_HPTSI_SLOTS);
sys/netinet/tcp_hpts_test.c
1212
tcp_hpts_insert(pace, tp, (NUM_OF_HPTSI_SLOTS - 1) * HPTS_USECS_PER_SLOT, NULL);
sys/netinet/tcp_hpts_test.c
630
KTEST_VERIFY(tp->t_hpts_slot < NUM_OF_HPTSI_SLOTS);
sys/netinet/tcp_hpts_test.c
883
timeout_usecs = ((i * NUM_OF_HPTSI_SLOTS) / num_tcpcbs) * HPTS_USECS_PER_SLOT; /* Spread across slots */
sys/netinet/tcp_hpts_test.c
892
test_time_usec += (NUM_OF_HPTSI_SLOTS + 5000) * HPTS_USECS_PER_SLOT;
sys/netinet/tcp_hpts_test.c
904
KTEST_EQUAL(slots_ran, NUM_OF_HPTSI_SLOTS-1); /* Should process all slots */