Searched refs:tpcache (Results 1 – 1 of 1) sorted by relevance
333 struct tcp_cache *tpcache = NULL; in tcp_getcache_with_lock() local345 SLIST_FOREACH(tpcache, &head->tcp_caches, list) { in tcp_getcache_with_lock()346 if (memcmp(&tpcache->tc_key, &key, sizeof(key)) == 0) { in tcp_getcache_with_lock()354 if ((tpcache == NULL) && create) { in tcp_getcache_with_lock()360 SLIST_FOREACH(tpcache, &head->tcp_caches, list) { in tcp_getcache_with_lock()361 uint32_t age = tcp_now - tpcache->tc_last_access; in tcp_getcache_with_lock()364 oldest_cache = tpcache; in tcp_getcache_with_lock()369 tpcache = oldest_cache; in tcp_getcache_with_lock()372 tpcache->tc_tfo_cookie_len = 0; in tcp_getcache_with_lock()375 tpcache = kalloc_type(struct tcp_cache, Z_NOPAGEWAIT | Z_ZERO); in tcp_getcache_with_lock()[all …]