Searched refs:tpcache (Results 1 – 1 of 1) sorted by relevance
312 struct tcp_cache *__single tpcache = NULL; in tcp_getcache_with_lock() local324 SLIST_FOREACH(tpcache, &head->tcp_caches, list) { in tcp_getcache_with_lock()325 if (memcmp(&tpcache->tc_key, &key, sizeof(key)) == 0) { in tcp_getcache_with_lock()333 if ((tpcache == NULL) && create) { in tcp_getcache_with_lock()339 SLIST_FOREACH(tpcache, &head->tcp_caches, list) { in tcp_getcache_with_lock()340 uint32_t age = tcp_now - tpcache->tc_last_access; in tcp_getcache_with_lock()343 oldest_cache = tpcache; in tcp_getcache_with_lock()348 tpcache = oldest_cache; in tcp_getcache_with_lock()351 tpcache->tc_tfo_cookie_len = 0; in tcp_getcache_with_lock()354 tpcache = kalloc_type(struct tcp_cache, Z_NOPAGEWAIT | Z_ZERO); in tcp_getcache_with_lock()[all …]