Home
last modified time | relevance | path

Searched refs:l2tab (Results 1 – 3 of 3) sorted by relevance

/drivers/net/ethernet/chelsio/cxgb4/
Dl2t.c62 struct l2t_entry l2tab[]; /* MUST BE LAST */ member
200 struct l2t_entry *e = &d->l2tab[l2t_idx - d->l2t_start]; in do_l2t_write_rpl()
272 for (e = d->rover, end = &d->l2tab[d->l2t_size]; e != end; ++e) in alloc_l2e()
276 for (e = d->l2tab; atomic_read(&e->refcnt); ++e) in alloc_l2e()
287 for (p = &d->l2tab[e->hash].first; *p; p = &(*p)->next) in alloc_l2e()
304 for (e = &d->l2tab[0], end = &d->l2tab[d->l2t_size]; e != end; ++e) { in find_or_alloc_l2e()
329 for (p = &d->l2tab[e->hash].first; *p; p = &(*p)->next) in find_or_alloc_l2e()
363 d = container_of(e, struct l2t_data, l2tab[e->idx]); in _t4_l2e_free()
382 d = container_of(e, struct l2t_data, l2tab[e->idx]); in t4_l2e_free()
440 for (e = d->l2tab[hash].first; e; e = e->next) in cxgb4_l2t_get()
[all …]
/drivers/net/ethernet/chelsio/cxgb3/
Dl2t.c227 for (e = d->rover, end = &d->l2tab[d->nentries]; e != end; ++e) in alloc_l2e()
231 for (e = &d->l2tab[1]; atomic_read(&e->refcnt); ++e) ; in alloc_l2e()
243 for (p = &d->l2tab[hash].first; *p; p = &(*p)->next) in alloc_l2e()
334 for (e = d->l2tab[hash].first; e; e = e->next) in t3_l2t_get()
347 e->next = d->l2tab[hash].first; in t3_l2t_get()
348 d->l2tab[hash].first = e; in t3_l2t_get()
409 for (e = d->l2tab[hash].first; e; e = e->next) in t3_l2t_update()
448 d = kvzalloc(struct_size(d, l2tab, l2t_capacity), GFP_KERNEL); in t3_init_l2t()
453 d->rover = &d->l2tab[1]; /* entry 0 is not used */ in t3_init_l2t()
458 d->l2tab[i].idx = i; in t3_init_l2t()
[all …]
Dl2t.h79 struct l2t_entry l2tab[]; member