l2tab 227 drivers/net/ethernet/chelsio/cxgb3/l2t.c for (e = d->rover, end = &d->l2tab[d->nentries]; e != end; ++e) l2tab 231 drivers/net/ethernet/chelsio/cxgb3/l2t.c for (e = &d->l2tab[1]; atomic_read(&e->refcnt); ++e) ; l2tab 243 drivers/net/ethernet/chelsio/cxgb3/l2t.c for (p = &d->l2tab[hash].first; *p; p = &(*p)->next) l2tab 334 drivers/net/ethernet/chelsio/cxgb3/l2t.c for (e = d->l2tab[hash].first; e; e = e->next) l2tab 347 drivers/net/ethernet/chelsio/cxgb3/l2t.c e->next = d->l2tab[hash].first; l2tab 348 drivers/net/ethernet/chelsio/cxgb3/l2t.c d->l2tab[hash].first = e; l2tab 409 drivers/net/ethernet/chelsio/cxgb3/l2t.c for (e = d->l2tab[hash].first; e; e = e->next) l2tab 448 drivers/net/ethernet/chelsio/cxgb3/l2t.c d = kvzalloc(struct_size(d, l2tab, l2t_capacity), GFP_KERNEL); l2tab 453 drivers/net/ethernet/chelsio/cxgb3/l2t.c d->rover = &d->l2tab[1]; /* entry 0 is not used */ l2tab 458 drivers/net/ethernet/chelsio/cxgb3/l2t.c d->l2tab[i].idx = i; l2tab 459 drivers/net/ethernet/chelsio/cxgb3/l2t.c d->l2tab[i].state = L2T_STATE_UNUSED; l2tab 460 drivers/net/ethernet/chelsio/cxgb3/l2t.c __skb_queue_head_init(&d->l2tab[i].arpq); l2tab 461 drivers/net/ethernet/chelsio/cxgb3/l2t.c spin_lock_init(&d->l2tab[i].lock); l2tab 462 drivers/net/ethernet/chelsio/cxgb3/l2t.c atomic_set(&d->l2tab[i].refcnt, 0); l2tab 79 drivers/net/ethernet/chelsio/cxgb3/l2t.h struct l2t_entry l2tab[]; l2tab 62 drivers/net/ethernet/chelsio/cxgb4/l2t.c struct l2t_entry l2tab[0]; /* MUST BE LAST */ l2tab 200 drivers/net/ethernet/chelsio/cxgb4/l2t.c struct l2t_entry *e = &d->l2tab[l2t_idx - d->l2t_start]; l2tab 272 drivers/net/ethernet/chelsio/cxgb4/l2t.c for (e = d->rover, end = &d->l2tab[d->l2t_size]; e != end; ++e) l2tab 276 drivers/net/ethernet/chelsio/cxgb4/l2t.c for (e = d->l2tab; atomic_read(&e->refcnt); ++e) l2tab 287 drivers/net/ethernet/chelsio/cxgb4/l2t.c for (p = &d->l2tab[e->hash].first; *p; p = &(*p)->next) l2tab 304 drivers/net/ethernet/chelsio/cxgb4/l2t.c for (e = &d->l2tab[0], end = &d->l2tab[d->l2t_size]; e != end; ++e) { l2tab 329 drivers/net/ethernet/chelsio/cxgb4/l2t.c for (p = &d->l2tab[e->hash].first; *p; p = &(*p)->next) l2tab 365 drivers/net/ethernet/chelsio/cxgb4/l2t.c d = container_of(e, struct l2t_data, l2tab[e->idx]); l2tab 386 drivers/net/ethernet/chelsio/cxgb4/l2t.c d = container_of(e, struct l2t_data, l2tab[e->idx]); l2tab 444 drivers/net/ethernet/chelsio/cxgb4/l2t.c for (e = d->l2tab[hash].first; e; e = e->next) l2tab 468 drivers/net/ethernet/chelsio/cxgb4/l2t.c e->next = d->l2tab[hash].first; l2tab 469 drivers/net/ethernet/chelsio/cxgb4/l2t.c d->l2tab[hash].first = e; l2tab 545 drivers/net/ethernet/chelsio/cxgb4/l2t.c for (e = d->l2tab[hash].first; e; e = e->next) l2tab 649 drivers/net/ethernet/chelsio/cxgb4/l2t.c d = kvzalloc(struct_size(d, l2tab, l2t_size), GFP_KERNEL); l2tab 656 drivers/net/ethernet/chelsio/cxgb4/l2t.c d->rover = d->l2tab; l2tab 661 drivers/net/ethernet/chelsio/cxgb4/l2t.c d->l2tab[i].idx = i; l2tab 662 drivers/net/ethernet/chelsio/cxgb4/l2t.c d->l2tab[i].state = L2T_STATE_UNUSED; l2tab 663 drivers/net/ethernet/chelsio/cxgb4/l2t.c spin_lock_init(&d->l2tab[i].lock); l2tab 664 drivers/net/ethernet/chelsio/cxgb4/l2t.c atomic_set(&d->l2tab[i].refcnt, 0); l2tab 665 drivers/net/ethernet/chelsio/cxgb4/l2t.c skb_queue_head_init(&d->l2tab[i].arpq); l2tab 674 drivers/net/ethernet/chelsio/cxgb4/l2t.c return pos >= d->l2t_size ? NULL : &d->l2tab[pos];