Lines Matching refs:nxt
223 struct list_head *nxt; in ptype_seq_next() local
231 nxt = pt->list.next; in ptype_seq_next()
233 if (nxt != &pt->dev->ptype_all) in ptype_seq_next()
239 nxt = dev->ptype_all.next; in ptype_seq_next()
243 nxt = net->ptype_all.next; in ptype_seq_next()
249 if (nxt != &net->ptype_all && nxt != &net->ptype_specific) in ptype_seq_next()
252 if (nxt == &net->ptype_all) { in ptype_seq_next()
254 nxt = net->ptype_specific.next; in ptype_seq_next()
255 if (nxt != &net->ptype_specific) in ptype_seq_next()
260 nxt = ptype_base[0].next; in ptype_seq_next()
264 while (nxt == &ptype_base[hash]) { in ptype_seq_next()
267 nxt = ptype_base[hash].next; in ptype_seq_next()
270 return list_entry(nxt, struct packet_type, list); in ptype_seq_next()