Searched refs:l2t_size (Results 1 – 1 of 1) sorted by relevance
58 unsigned int l2t_size; /* number of entries in l2tab */ member89 unsigned int l2t_size_half = d->l2t_size / 2; in arp_hash()97 unsigned int l2t_size_half = d->l2t_size / 2; in ipv6_hash()272 for (e = d->rover, end = &d->l2tab[d->l2t_size]; e != end; ++e) in alloc_l2e()304 for (e = &d->l2tab[0], end = &d->l2tab[d->l2t_size]; e != end; ++e) { in find_or_alloc_l2e()640 unsigned int l2t_size; in t4_init_l2t() local646 l2t_size = l2t_end - l2t_start + 1; in t4_init_l2t()647 if (l2t_size < L2T_MIN_HASH_BUCKETS) in t4_init_l2t()650 d = kvzalloc(sizeof(*d) + l2t_size * sizeof(struct l2t_entry), GFP_KERNEL); in t4_init_l2t()655 d->l2t_size = l2t_size; in t4_init_l2t()[all …]