Home
last modified time | relevance | path

Searched refs:tpheur (Results 1 – 1 of 1) sorted by relevance

/xnu-12377.61.12/bsd/netinet/
H A Dtcp_cache.c668 struct tcp_heuristic *__single tpheur = NULL; in tcp_getheuristic_with_lock() local
680 SLIST_FOREACH(tpheur, &head->tcp_heuristics, list) { in tcp_getheuristic_with_lock()
681 if (memcmp(&tpheur->th_key, &key, sizeof(key)) == 0) { in tcp_getheuristic_with_lock()
689 if ((tpheur == NULL) && create) { in tcp_getheuristic_with_lock()
695 SLIST_FOREACH(tpheur, &head->tcp_heuristics, list) { in tcp_getheuristic_with_lock()
696 uint32_t age = tcp_now - tpheur->th_last_access; in tcp_getheuristic_with_lock()
699 oldest_heur = tpheur; in tcp_getheuristic_with_lock()
704 tpheur = oldest_heur; in tcp_getheuristic_with_lock()
707 uint8_t *ptr = (uint8_t *)(struct tcp_heuristic *__indexable)tpheur; in tcp_getheuristic_with_lock()
713 tpheur = kalloc_type(struct tcp_heuristic, Z_NOPAGEWAIT | Z_ZERO); in tcp_getheuristic_with_lock()
[all …]