Lines Matching refs:dirty
553 vptr->rx.dirty = vptr->rx.filled = vptr->rx.curr = 0; in velocity_init_rx_ring_indexes()
1441 int avail, dirty, unusable; in velocity_give_many_rx_descs() local
1453 dirty = vptr->rx.dirty - unusable; in velocity_give_many_rx_descs()
1455 dirty = (dirty > 0) ? dirty - 1 : vptr->options.numrx - 1; in velocity_give_many_rx_descs()
1456 vptr->rx.ring[dirty].rdesc0.len |= OWNED_BY_NIC; in velocity_give_many_rx_descs()
1556 int dirty = vptr->rx.dirty, done = 0; in velocity_rx_refill() local
1559 struct rx_desc *rd = vptr->rx.ring + dirty; in velocity_rx_refill()
1565 if (!vptr->rx.info[dirty].skb) { in velocity_rx_refill()
1566 if (velocity_alloc_rx_buf(vptr, dirty) < 0) in velocity_rx_refill()
1570 dirty = (dirty < vptr->options.numrx - 1) ? dirty + 1 : 0; in velocity_rx_refill()
1571 } while (dirty != vptr->rx.curr); in velocity_rx_refill()
1574 vptr->rx.dirty = dirty; in velocity_rx_refill()