Lines Matching refs:tcp_heuristics
91 SLIST_HEAD(tcp_heur_bucket, tcp_heuristic) tcp_heuristics;
151 static struct tcp_heuristics_head *tcp_heuristics; variable
692 head = &tcp_heuristics[hash]; in tcp_getheuristic_with_lock()
697 SLIST_FOREACH(tpheur, &head->tcp_heuristics, list) { in tcp_getheuristic_with_lock()
712 SLIST_FOREACH(tpheur, &head->tcp_heuristics, list) { in tcp_getheuristic_with_lock()
734 SLIST_INSERT_HEAD(&head->tcp_heuristics, tpheur, list); in tcp_getheuristic_with_lock()
1531 struct tcp_heuristics_head *hhead = &tcp_heuristics[i]; in sysctl_cleartfocache()
1542 SLIST_FOREACH_SAFE(tpheur, &hhead->tcp_heuristics, list, htmp) { in sysctl_cleartfocache()
1543 SLIST_REMOVE(&hhead->tcp_heuristics, tpheur, tcp_heuristic, list); in sysctl_cleartfocache()
1610 tcp_heuristics = zalloc_permanent(sizeof(struct tcp_heuristics_head) * tcp_cache_size, in tcp_cache_init()
1618 lck_mtx_init(&tcp_heuristics[i].thh_mtx, &tcp_heuristic_mtx_grp, in tcp_cache_init()
1620 SLIST_INIT(&tcp_heuristics[i].tcp_heuristics); in tcp_cache_init()