done_idx          483 drivers/net/ethernet/alacritech/slic.h 	unsigned int done_idx;
done_idx          513 drivers/net/ethernet/alacritech/slic.h 	unsigned int done_idx;
done_idx          533 drivers/net/ethernet/alacritech/slic.h 	unsigned int done_idx;
done_idx           71 drivers/net/ethernet/alacritech/slicoss.c 					    unsigned int done_idx,
done_idx           74 drivers/net/ethernet/alacritech/slicoss.c 	if (put_idx >= done_idx)
done_idx           75 drivers/net/ethernet/alacritech/slicoss.c 		return (qlen - (put_idx - done_idx) - 1);
done_idx           76 drivers/net/ethernet/alacritech/slicoss.c 	return (done_idx - put_idx - 1);
done_idx           88 drivers/net/ethernet/alacritech/slicoss.c 	stat = &descs[stq->done_idx];
done_idx           98 drivers/net/ethernet/alacritech/slicoss.c 	stq->done_idx = slic_next_queue_idx(stq->done_idx, stq->len);
done_idx          100 drivers/net/ethernet/alacritech/slicoss.c 	if (!stq->done_idx) {
done_idx          118 drivers/net/ethernet/alacritech/slicoss.c 	return slic_get_free_queue_descs(txq->put_idx, txq->done_idx, txq->len);
done_idx          123 drivers/net/ethernet/alacritech/slicoss.c 	return slic_get_free_queue_descs(rxq->put_idx, rxq->done_idx, rxq->len);
done_idx          360 drivers/net/ethernet/alacritech/slicoss.c 		txq->done_idx = idx;
done_idx          560 drivers/net/ethernet/alacritech/slicoss.c 	while (todo && (rxq->done_idx != rxq->put_idx)) {
done_idx          561 drivers/net/ethernet/alacritech/slicoss.c 		buff = &rxq->rxbuffs[rxq->done_idx];
done_idx          614 drivers/net/ethernet/alacritech/slicoss.c 		rxq->done_idx = slic_next_queue_idx(rxq->done_idx, rxq->len);
done_idx          782 drivers/net/ethernet/alacritech/slicoss.c 	stq->done_idx = 0;
done_idx          847 drivers/net/ethernet/alacritech/slicoss.c 	txq->done_idx = 0;
done_idx          923 drivers/net/ethernet/alacritech/slicoss.c 	rxq->done_idx = 0;
done_idx          235 drivers/net/ethernet/socionext/sni_ave.c 	u32	done_idx;	/* index of processed packet */
done_idx          682 drivers/net/ethernet/socionext/sni_ave.c 	u32 proc_idx, done_idx, ndesc, cmdsts;
done_idx          688 drivers/net/ethernet/socionext/sni_ave.c 	done_idx = priv->tx.done_idx;
done_idx          692 drivers/net/ethernet/socionext/sni_ave.c 	while (proc_idx != done_idx) {
done_idx          693 drivers/net/ethernet/socionext/sni_ave.c 		cmdsts = ave_desc_read_cmdsts(ndev, AVE_DESCID_TX, done_idx);
done_idx          715 drivers/net/ethernet/socionext/sni_ave.c 		if (priv->tx.desc[done_idx].skbs) {
done_idx          716 drivers/net/ethernet/socionext/sni_ave.c 			ave_dma_unmap(ndev, &priv->tx.desc[done_idx],
done_idx          718 drivers/net/ethernet/socionext/sni_ave.c 			dev_consume_skb_any(priv->tx.desc[done_idx].skbs);
done_idx          719 drivers/net/ethernet/socionext/sni_ave.c 			priv->tx.desc[done_idx].skbs = NULL;
done_idx          722 drivers/net/ethernet/socionext/sni_ave.c 		done_idx = (done_idx + 1) % ndesc;
done_idx          725 drivers/net/ethernet/socionext/sni_ave.c 	priv->tx.done_idx = done_idx;
done_idx          745 drivers/net/ethernet/socionext/sni_ave.c 	u32 proc_idx, done_idx;
done_idx          752 drivers/net/ethernet/socionext/sni_ave.c 	done_idx = priv->rx.done_idx;
done_idx          754 drivers/net/ethernet/socionext/sni_ave.c 	restpkt  = ((proc_idx + ndesc - 1) - done_idx) % ndesc;
done_idx          805 drivers/net/ethernet/socionext/sni_ave.c 	while (proc_idx != done_idx) {
done_idx          806 drivers/net/ethernet/socionext/sni_ave.c 		if (ave_rxdesc_prepare(ndev, done_idx))
done_idx          808 drivers/net/ethernet/socionext/sni_ave.c 		done_idx = (done_idx + 1) % ndesc;
done_idx          811 drivers/net/ethernet/socionext/sni_ave.c 	priv->rx.done_idx = done_idx;
done_idx         1292 drivers/net/ethernet/socionext/sni_ave.c 	priv->tx.done_idx = 0;
done_idx         1303 drivers/net/ethernet/socionext/sni_ave.c 	priv->rx.done_idx = 0;
done_idx         1377 drivers/net/ethernet/socionext/sni_ave.c 	priv->tx.done_idx = 0;
done_idx         1389 drivers/net/ethernet/socionext/sni_ave.c 	priv->rx.done_idx = 0;
done_idx         1400 drivers/net/ethernet/socionext/sni_ave.c 	u32 proc_idx, done_idx, ndesc, cmdsts;
done_idx         1405 drivers/net/ethernet/socionext/sni_ave.c 	done_idx = priv->tx.done_idx;
done_idx         1407 drivers/net/ethernet/socionext/sni_ave.c 	freepkt = ((done_idx + ndesc - 1) - proc_idx) % ndesc;
done_idx          117 drivers/vhost/net.c 	int done_idx;
done_idx          309 drivers/vhost/net.c 		n->vqs[i].done_idx = 0;
done_idx          366 drivers/vhost/net.c 	for (i = nvq->done_idx; i != nvq->upend_idx; i = (i + 1) % UIO_MAXIOV) {
done_idx          376 drivers/vhost/net.c 		add = min(UIO_MAXIOV - nvq->done_idx, j);
done_idx          378 drivers/vhost/net.c 					    &vq->heads[nvq->done_idx], add);
done_idx          379 drivers/vhost/net.c 		nvq->done_idx = (nvq->done_idx + add) % UIO_MAXIOV;
done_idx          452 drivers/vhost/net.c 	if (!nvq->done_idx)
done_idx          455 drivers/vhost/net.c 	vhost_add_used_and_signal_n(dev, vq, vq->heads, nvq->done_idx);
done_idx          456 drivers/vhost/net.c 	nvq->done_idx = 0;
done_idx          590 drivers/vhost/net.c 	return (nvq->upend_idx + UIO_MAXIOV - nvq->done_idx) % UIO_MAXIOV >
done_idx          778 drivers/vhost/net.c 		if (nvq->done_idx == VHOST_NET_BATCH)
done_idx          838 drivers/vhost/net.c 		vq->heads[nvq->done_idx].id = cpu_to_vhost32(vq, head);
done_idx          839 drivers/vhost/net.c 		vq->heads[nvq->done_idx].len = 0;
done_idx          840 drivers/vhost/net.c 		++nvq->done_idx;
done_idx         1148 drivers/vhost/net.c 		headcount = get_rx_bufs(vq, vq->heads + nvq->done_idx,
done_idx         1223 drivers/vhost/net.c 		nvq->done_idx += headcount;
done_idx         1224 drivers/vhost/net.c 		if (nvq->done_idx > VHOST_NET_BATCH)
done_idx         1318 drivers/vhost/net.c 		n->vqs[i].done_idx = 0;