Lines Matching refs:dirty
561 vptr->rx.dirty = vptr->rx.filled = vptr->rx.curr = 0; in velocity_init_rx_ring_indexes()
1449 int avail, dirty, unusable; in velocity_give_many_rx_descs() local
1461 dirty = vptr->rx.dirty - unusable; in velocity_give_many_rx_descs()
1463 dirty = (dirty > 0) ? dirty - 1 : vptr->options.numrx - 1; in velocity_give_many_rx_descs()
1464 vptr->rx.ring[dirty].rdesc0.len |= OWNED_BY_NIC; in velocity_give_many_rx_descs()
1564 int dirty = vptr->rx.dirty, done = 0; in velocity_rx_refill() local
1567 struct rx_desc *rd = vptr->rx.ring + dirty; in velocity_rx_refill()
1573 if (!vptr->rx.info[dirty].skb) { in velocity_rx_refill()
1574 if (velocity_alloc_rx_buf(vptr, dirty) < 0) in velocity_rx_refill()
1578 dirty = (dirty < vptr->options.numrx - 1) ? dirty + 1 : 0; in velocity_rx_refill()
1579 } while (dirty != vptr->rx.curr); in velocity_rx_refill()
1582 vptr->rx.dirty = dirty; in velocity_rx_refill()