Searched refs:l2tab (Results 1 – 3 of 3) sorted by relevance
66 struct l2t_entry l2tab[L2T_SIZE]; member199 struct l2t_entry *e = &adap->l2t->l2tab[idx]; in do_l2t_write_rpl()274 for (e = d->rover, end = &d->l2tab[L2T_SIZE]; e != end; ++e) in alloc_l2e()278 for (e = d->l2tab; atomic_read(&e->refcnt); ++e) in alloc_l2e()289 for (p = &d->l2tab[e->hash].first; *p; p = &(*p)->next) in alloc_l2e()323 d = container_of(e, struct l2t_data, l2tab[e->idx]); in t4_l2e_free()379 for (e = d->l2tab[hash].first; e; e = e->next) in cxgb4_l2t_get()401 e->next = d->l2tab[hash].first; in cxgb4_l2t_get()402 d->l2tab[hash].first = e; in cxgb4_l2t_get()446 for (e = d->l2tab[hash].first; e; e = e->next) in t4_l2t_update()[all …]
225 for (e = d->rover, end = &d->l2tab[d->nentries]; e != end; ++e) in alloc_l2e()229 for (e = &d->l2tab[1]; atomic_read(&e->refcnt); ++e) ; in alloc_l2e()241 for (p = &d->l2tab[hash].first; *p; p = &(*p)->next) in alloc_l2e()312 for (e = d->l2tab[hash].first; e; e = e->next) in t3_l2t_get()325 e->next = d->l2tab[hash].first; in t3_l2t_get()326 d->l2tab[hash].first = e; in t3_l2t_get()383 for (e = d->l2tab[hash].first; e; e = e->next) in t3_l2t_update()427 d->rover = &d->l2tab[1]; /* entry 0 is not used */ in t3_init_l2t()432 d->l2tab[i].idx = i; in t3_init_l2t()433 d->l2tab[i].state = L2T_STATE_UNUSED; in t3_init_l2t()[all …]
78 struct l2t_entry l2tab[0]; member