Lines Matching defs:hptsh
201 struct hptsh {
498 struct hptsh *hptsh;
505 hptsh = &hpts->p_hptss[tp->t_hpts_slot];
514 tp->t_hpts_gencnt = hptsh->gencnt;
516 TAILQ_INSERT_TAIL(&hptsh->head, tp, t_hpts);
517 hptsh->count++;
574 struct hptsh *hptsh;
580 hptsh = &hpts->p_hptss[tp->t_hpts_slot];
582 if (__predict_true(tp->t_hpts_gencnt == hptsh->gencnt)) {
583 TAILQ_REMOVE(&hptsh->head, tp, t_hpts);
584 MPASS(hptsh->count > 0);
585 hptsh->count--;
597 TAILQ_FOREACH(tmp, &hptsh->head, t_hpts)
1195 struct hptsh *hptsh;
1206 hptsh = &hpts->p_hptss[runningslot];
1207 TAILQ_SWAP(&head, &hptsh->head, tcpcb, t_hpts);
1208 hpts->p_on_queue_cnt -= hptsh->count;
1209 hptsh->count = 0;
1210 hptsh->gencnt++;
1877 asz = sizeof(struct hptsh) * NUM_OF_HPTSI_SLOTS;