Lines Matching refs:l2t_entry
61 struct l2t_entry *rover; /* starting point for next allocation */
62 struct l2t_entry l2tab[0]; /* MUST BE LAST */
65 static inline unsigned int vlan_prio(const struct l2t_entry *e) in vlan_prio()
70 static inline void l2t_hold(struct l2t_data *d, struct l2t_entry *e) in l2t_hold()
118 static int addreq(const struct l2t_entry *e, const u32 *addr) in addreq()
126 static void neigh_replace(struct l2t_entry *e, struct neighbour *n) in neigh_replace()
138 static int write_l2e(struct adapter *adap, struct l2t_entry *e, int sync) in write_l2e()
173 static void send_pending(struct adapter *adap, struct l2t_entry *e) in send_pending()
200 struct l2t_entry *e = &d->l2tab[l2t_idx - d->l2t_start]; in do_l2t_write_rpl()
216 static inline void arpq_enqueue(struct l2t_entry *e, struct sk_buff *skb) in arpq_enqueue()
222 struct l2t_entry *e) in cxgb4_l2t_send()
264 static struct l2t_entry *alloc_l2e(struct l2t_data *d) in alloc_l2e()
266 struct l2t_entry *end, *e, **p; in alloc_l2e()
298 static struct l2t_entry *find_or_alloc_l2e(struct l2t_data *d, u16 vlan, in find_or_alloc_l2e()
301 struct l2t_entry *end, *e, **p; in find_or_alloc_l2e()
302 struct l2t_entry *first_free = NULL; in find_or_alloc_l2e()
351 static void _t4_l2e_free(struct l2t_entry *e) in _t4_l2e_free()
370 static void t4_l2e_free(struct l2t_entry *e) in t4_l2e_free()
390 void cxgb4_l2t_release(struct l2t_entry *e) in cxgb4_l2t_release()
401 static void reuse_entry(struct l2t_entry *e, struct neighbour *neigh) in reuse_entry()
419 struct l2t_entry *cxgb4_l2t_get(struct l2t_data *d, struct neighbour *neigh, in cxgb4_l2t_get()
425 struct l2t_entry *e; in cxgb4_l2t_get()
479 const struct l2t_entry *l2t) in cxgb4_select_ntuple()
514 static void handle_failed_resolution(struct adapter *adap, struct l2t_entry *e) in handle_failed_resolution()
536 struct l2t_entry *e; in t4_l2t_update()
585 struct l2t_entry *t4_l2t_alloc_switching(struct adapter *adap, u16 vlan, in t4_l2t_alloc_switching()
589 struct l2t_entry *e; in t4_l2t_alloc_switching()
628 struct l2t_entry *cxgb4_l2t_alloc_switching(struct net_device *dev, u16 vlan, in cxgb4_l2t_alloc_switching()
694 static char l2e_state(const struct l2t_entry *e) in l2e_state()
716 struct l2t_entry *e = v; in l2t_seq_show()