Lines Matching refs:first_frag
384 static int macb_rx_frame(struct macb *bp, unsigned int first_frag, in macb_rx_frame() argument
395 first_frag, last_frag, len); in macb_rx_frame()
400 for (frag = first_frag; ; frag = NEXT_RX(frag)) { in macb_rx_frame()
413 for (frag = first_frag; ; frag = NEXT_RX(frag)) { in macb_rx_frame()
464 int first_frag = -1; in macb_rx() local
477 if (first_frag != -1) in macb_rx()
478 discard_partial_frame(bp, first_frag, tail); in macb_rx()
479 first_frag = tail; in macb_rx()
484 BUG_ON(first_frag == -1); in macb_rx()
486 dropped = macb_rx_frame(bp, first_frag, tail); in macb_rx()
487 first_frag = -1; in macb_rx()
495 if (first_frag != -1) in macb_rx()
496 bp->rx_tail = first_frag; in macb_rx()