Lines Matching refs:l2tab
227 for (e = d->rover, end = &d->l2tab[d->nentries]; e != end; ++e)
231 for (e = &d->l2tab[1]; atomic_read(&e->refcnt); ++e) ;
243 for (p = &d->l2tab[hash].first; *p; p = &(*p)->next)
334 for (e = d->l2tab[hash].first; e; e = e->next)
347 e->next = d->l2tab[hash].first;
348 d->l2tab[hash].first = e;
409 for (e = d->l2tab[hash].first; e; e = e->next)
448 d = kvzalloc(struct_size(d, l2tab, l2t_capacity), GFP_KERNEL);
453 d->rover = &d->l2tab[1]; /* entry 0 is not used */
458 d->l2tab[i].idx = i;
459 d->l2tab[i].state = L2T_STATE_UNUSED;
460 __skb_queue_head_init(&d->l2tab[i].arpq);
461 spin_lock_init(&d->l2tab[i].lock);
462 atomic_set(&d->l2tab[i].refcnt, 0);