Lines Matching refs:tcp_cache_size
138 size_t tcp_cache_size; variable
309 return (uint16_t)(hash & (tcp_cache_size - 1)); in tcp_cache_hash()
658 return (uint16_t)(hash & (tcp_cache_size - 1)); in tcp_heuristics_hash()
1528 for (i = 0; i < tcp_cache_size; i++) { in sysctl_cleartfocache()
1600 tcp_cache_size = tcp_cache_roundup2((uint32_t)(sane_size_meg >> 2)); in tcp_cache_init()
1601 if (tcp_cache_size < 32) { in tcp_cache_init()
1602 tcp_cache_size = 32; in tcp_cache_init()
1603 } else if (tcp_cache_size > 1024) { in tcp_cache_init()
1604 tcp_cache_size = 1024; in tcp_cache_init()
1607 tcp_cache = zalloc_permanent(sizeof(struct tcp_cache_head) * tcp_cache_size, in tcp_cache_init()
1610 tcp_heuristics = zalloc_permanent(sizeof(struct tcp_heuristics_head) * tcp_cache_size, in tcp_cache_init()
1613 for (int i = 0; i < tcp_cache_size; i++) { in tcp_cache_init()