Searched refs:l2t_capacity (Results 1 – 3 of 3) sorted by relevance
443 struct l2t_data *t3_init_l2t(unsigned int l2t_capacity) in t3_init_l2t() argument448 d = kvzalloc(struct_size(d, l2tab, l2t_capacity), GFP_KERNEL); in t3_init_l2t()452 d->nentries = l2t_capacity; in t3_init_l2t()454 atomic_set(&d->nfree, l2t_capacity - 1); in t3_init_l2t()457 for (i = 0; i < l2t_capacity; ++i) { in t3_init_l2t()
117 struct l2t_data *t3_init_l2t(unsigned int l2t_capacity);
1224 unsigned int l2t_capacity; in cxgb3_offload_activate() local1234 dev->ctl(dev, GET_L2T_CAPACITY, &l2t_capacity) < 0 || in cxgb3_offload_activate()1241 l2td = t3_init_l2t(l2t_capacity); in cxgb3_offload_activate()