Searched refs:l2t_size (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | l2t.c | 58 unsigned int l2t_size; /* number of entries in l2tab */ member 89 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() 632 unsigned int l2t_size; in t4_init_l2t() local 638 l2t_size = l2t_end - l2t_start + 1; in t4_init_l2t() 639 if (l2t_size < L2T_MIN_HASH_BUCKETS) in t4_init_l2t() 642 d = kvzalloc(struct_size(d, l2tab, l2t_size), GFP_KERNEL); in t4_init_l2t() 647 d->l2t_size in t4_init_l2t() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | l2t.c | 58 unsigned int l2t_size; /* number of entries in l2tab */ member 89 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() 632 unsigned int l2t_size; in t4_init_l2t() local 638 l2t_size = l2t_end - l2t_start + 1; in t4_init_l2t() 639 if (l2t_size < L2T_MIN_HASH_BUCKETS) in t4_init_l2t() 642 d = kvzalloc(struct_size(d, l2tab, l2t_size), GFP_KERNEL); in t4_init_l2t() 647 d->l2t_size in t4_init_l2t() [all...] |
Completed in 3 milliseconds