Searched refs:tpcache (Results 1 – 1 of 1) sorted by relevance
332 struct tcp_cache *tpcache = NULL; in tcp_getcache_with_lock() local344 SLIST_FOREACH(tpcache, &head->tcp_caches, list) { in tcp_getcache_with_lock()345 if (memcmp(&tpcache->tc_key, &key, sizeof(key)) == 0) { in tcp_getcache_with_lock()353 if ((tpcache == NULL) && create) { in tcp_getcache_with_lock()359 SLIST_FOREACH(tpcache, &head->tcp_caches, list) { in tcp_getcache_with_lock()360 uint32_t age = tcp_now - tpcache->tc_last_access; in tcp_getcache_with_lock()363 oldest_cache = tpcache; in tcp_getcache_with_lock()368 tpcache = oldest_cache; in tcp_getcache_with_lock()371 tpcache->tc_tfo_cookie_len = 0; in tcp_getcache_with_lock()374 tpcache = kalloc_type(struct tcp_cache, Z_NOWAIT | Z_ZERO); in tcp_getcache_with_lock()[all …]