Symbol: V_tcp_fastopen_ccache
sys/netinet/tcp_fastopen.c
1021
V_tcp_fastopen_ccache.secret);
sys/netinet/tcp_fastopen.c
1026
ccb = &V_tcp_fastopen_ccache.base[hash & V_tcp_fastopen_ccache.mask];
sys/netinet/tcp_fastopen.c
1062
if (ccb->ccb_num_entries < V_tcp_fastopen_ccache.bucket_limit)
sys/netinet/tcp_fastopen.c
1063
cce = uma_zalloc(V_tcp_fastopen_ccache.zone, M_NOWAIT);
sys/netinet/tcp_fastopen.c
1141
uma_zfree(V_tcp_fastopen_ccache.zone, cce);
sys/netinet/tcp_fastopen.c
1168
for (i = 0; i < V_tcp_fastopen_ccache.buckets; i++) {
sys/netinet/tcp_fastopen.c
1169
ccb = &V_tcp_fastopen_ccache.base[i];
sys/netinet/tcp_fastopen.c
1183
for (i = 0; i < V_tcp_fastopen_ccache.buckets; i++) {
sys/netinet/tcp_fastopen.c
1184
ccb = &V_tcp_fastopen_ccache.base[i];
sys/netinet/tcp_fastopen.c
396
&V_tcp_fastopen_ccache.bucket_limit);
sys/netinet/tcp_fastopen.c
397
if (V_tcp_fastopen_ccache.bucket_limit == 0)
sys/netinet/tcp_fastopen.c
398
V_tcp_fastopen_ccache.bucket_limit =
sys/netinet/tcp_fastopen.c
404
V_tcp_fastopen_ccache.buckets =
sys/netinet/tcp_fastopen.c
407
V_tcp_fastopen_ccache.buckets = V_tcp_fastopen_ccache_buckets;
sys/netinet/tcp_fastopen.c
409
V_tcp_fastopen_ccache.mask = V_tcp_fastopen_ccache.buckets - 1;
sys/netinet/tcp_fastopen.c
410
V_tcp_fastopen_ccache.secret = arc4random();
sys/netinet/tcp_fastopen.c
412
V_tcp_fastopen_ccache.base = malloc(V_tcp_fastopen_ccache.buckets *
sys/netinet/tcp_fastopen.c
416
for (i = 0; i < V_tcp_fastopen_ccache.buckets; i++) {
sys/netinet/tcp_fastopen.c
417
TAILQ_INIT(&V_tcp_fastopen_ccache.base[i].ccb_entries);
sys/netinet/tcp_fastopen.c
418
mtx_init(&V_tcp_fastopen_ccache.base[i].ccb_mtx, "tfo_ccache_bucket",
sys/netinet/tcp_fastopen.c
422
V_tcp_fastopen_ccache.base[i].ccb_num_entries = 0;
sys/netinet/tcp_fastopen.c
425
V_tcp_fastopen_ccache.base[i].ccb_num_entries = -1;
sys/netinet/tcp_fastopen.c
427
V_tcp_fastopen_ccache.base[i].ccb_ccache = &V_tcp_fastopen_ccache;
sys/netinet/tcp_fastopen.c
439
V_tcp_fastopen_ccache.zone = uma_zcreate("tfo_ccache_entries",
sys/netinet/tcp_fastopen.c
450
for (i = 0; i < V_tcp_fastopen_ccache.buckets; i++) {
sys/netinet/tcp_fastopen.c
451
ccb = &V_tcp_fastopen_ccache.base[i];
sys/netinet/tcp_fastopen.c
456
KASSERT(uma_zone_get_cur(V_tcp_fastopen_ccache.zone) == 0,
sys/netinet/tcp_fastopen.c
458
uma_zdestroy(V_tcp_fastopen_ccache.zone);
sys/netinet/tcp_fastopen.c
459
free(V_tcp_fastopen_ccache.base, M_TCP_FASTOPEN_CCACHE);
sys/netinet/tcp_fastopen.c
807
new = V_tcp_fastopen_ccache.bucket_limit;
sys/netinet/tcp_fastopen.c
813
if (new < V_tcp_fastopen_ccache.bucket_limit) {
sys/netinet/tcp_fastopen.c
814
for (i = 0; i < V_tcp_fastopen_ccache.buckets;
sys/netinet/tcp_fastopen.c
816
ccb = &V_tcp_fastopen_ccache.base[i];
sys/netinet/tcp_fastopen.c
820
V_tcp_fastopen_ccache.bucket_limit = new;
sys/netinet/tcp_fastopen.c
838
for (i = 0; i < V_tcp_fastopen_ccache.buckets; i++) {
sys/netinet/tcp_fastopen.c
839
ccb = &V_tcp_fastopen_ccache.base[i];
sys/netinet/tcp_fastopen.c
848
for (i = 0; i < V_tcp_fastopen_ccache.buckets; i++) {
sys/netinet/tcp_fastopen.c
849
ccb = &V_tcp_fastopen_ccache.base[i];