Searched refs:l2tab (Results 1 – 3 of 3) sorted by relevance
226 for (e = d->rover, end = &d->l2tab[d->nentries]; e != end; ++e) in alloc_l2e()230 for (e = &d->l2tab[1]; atomic_read(&e->refcnt); ++e) ; in alloc_l2e()242 for (p = &d->l2tab[hash].first; *p; p = &(*p)->next) in alloc_l2e()333 for (e = d->l2tab[hash].first; e; e = e->next) in t3_l2t_get()346 e->next = d->l2tab[hash].first; in t3_l2t_get()347 d->l2tab[hash].first = e; in t3_l2t_get()408 for (e = d->l2tab[hash].first; e; e = e->next) in t3_l2t_update()452 d->rover = &d->l2tab[1]; /* entry 0 is not used */ in t3_init_l2t()457 d->l2tab[i].idx = i; in t3_init_l2t()458 d->l2tab[i].state = L2T_STATE_UNUSED; in t3_init_l2t()[all …]
78 struct l2t_entry l2tab[0]; member
64 struct l2t_entry l2tab[0]; /* MUST BE LAST */ member207 struct l2t_entry *e = &d->l2tab[l2t_idx - d->l2t_start]; in do_l2t_write_rpl()282 for (e = d->rover, end = &d->l2tab[d->l2t_size]; e != end; ++e) in alloc_l2e()286 for (e = d->l2tab; atomic_read(&e->refcnt); ++e) in alloc_l2e()297 for (p = &d->l2tab[e->hash].first; *p; p = &(*p)->next) in alloc_l2e()331 d = container_of(e, struct l2t_data, l2tab[e->idx]); in t4_l2e_free()387 for (e = d->l2tab[hash].first; e; e = e->next) in cxgb4_l2t_get()411 e->next = d->l2tab[hash].first; in cxgb4_l2t_get()412 d->l2tab[hash].first = e; in cxgb4_l2t_get()490 for (e = d->l2tab[hash].first; e; e = e->next) in t4_l2t_update()[all …]