Home
last modified time | relevance | path

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

/xnu-11215.61.5/bsd/netinet/
H A Dtcp_cache.c688 struct tcp_heuristic *__single tpheur = NULL; in tcp_getheuristic_with_lock() local
700 SLIST_FOREACH(tpheur, &head->tcp_heuristics, list) { in tcp_getheuristic_with_lock()
701 if (memcmp(&tpheur->th_key, &key, sizeof(key)) == 0) { in tcp_getheuristic_with_lock()
709 if ((tpheur == NULL) && create) { in tcp_getheuristic_with_lock()
715 SLIST_FOREACH(tpheur, &head->tcp_heuristics, list) { in tcp_getheuristic_with_lock()
716 uint32_t age = tcp_now - tpheur->th_last_access; in tcp_getheuristic_with_lock()
719 oldest_heur = tpheur; in tcp_getheuristic_with_lock()
724 tpheur = oldest_heur; in tcp_getheuristic_with_lock()
727 uint8_t *ptr = (uint8_t *)(struct tcp_heuristic *__indexable)tpheur; in tcp_getheuristic_with_lock()
733 tpheur = kalloc_type(struct tcp_heuristic, Z_NOPAGEWAIT | Z_ZERO); in tcp_getheuristic_with_lock()
[all …]