Searched refs:hashbase (Results 1 – 3 of 3) sorted by relevance
123 struct hc_head *hashbase; member260 V_tcp_hostcache.hashbase = (struct hc_head *) in tcp_hc_init()268 CK_SLIST_INIT(&V_tcp_hostcache.hashbase[i].hch_bucket); in tcp_hc_init()269 V_tcp_hostcache.hashbase[i].hch_length = 0; in tcp_hc_init()270 mtx_init(&V_tcp_hostcache.hashbase[i].hch_mtx, "tcp_hc_entry", in tcp_hc_init()306 mtx_destroy(&V_tcp_hostcache.hashbase[i].hch_mtx); in tcp_hc_destroy()307 free(V_tcp_hostcache.hashbase, M_HOSTCACHE); in tcp_hc_destroy()344 hc_head = &V_tcp_hostcache.hashbase[HOSTCACHE_HASH(inc)]; in tcp_hc_lookup()460 hc_head = &V_tcp_hostcache.hashbase[HOSTCACHE_HASH(inc)]; in tcp_hc_update()669 THC_LOCK(&V_tcp_hostcache.hashbase[i]); in sysctl_tcp_hc_list()[all …]
270 V_tcp_syncache.hashbase = malloc(V_tcp_syncache.hashsize * in syncache_init()279 TAILQ_INIT(&V_tcp_syncache.hashbase[i].sch_bucket); in syncache_init()280 mtx_init(&V_tcp_syncache.hashbase[i].sch_mtx, "tcp_sc_head", in syncache_init()282 callout_init_mtx(&V_tcp_syncache.hashbase[i].sch_timer, in syncache_init()283 &V_tcp_syncache.hashbase[i].sch_mtx, 0); in syncache_init()284 V_tcp_syncache.hashbase[i].sch_length = 0; in syncache_init()285 V_tcp_syncache.hashbase[i].sch_sc = &V_tcp_syncache; in syncache_init()286 V_tcp_syncache.hashbase[i].sch_last_overflow = in syncache_init()336 sch = &V_tcp_syncache.hashbase[i]; in syncache_destroy()355 free(V_tcp_syncache.hashbase, M_SYNCACHE); in syncache_destroy()[all …]
122 struct syncache_head *hashbase; member