Home
last modified time | relevance | path

Searched refs:out_idx (Results 1 – 3 of 3) sorted by relevance

/drivers/isdn/hysdn/
Dhysdn_net.c46 int in_idx, out_idx; /* indexes to buffer ring */ member
92 dev_kfree_skb(nl->skbs[nl->out_idx++]); /* free skb */ in flush_tx_buffers()
93 if (nl->out_idx >= MAX_SKB_BUFFERS) in flush_tx_buffers()
94 nl->out_idx = 0; /* wrap around */ in flush_tx_buffers()
170 lp->dev->stats.tx_bytes += lp->skbs[lp->out_idx]->len; in hysdn_tx_netack()
172 dev_kfree_skb(lp->skbs[lp->out_idx++]); /* free skb */ in hysdn_tx_netack()
173 if (lp->out_idx >= MAX_SKB_BUFFERS) in hysdn_tx_netack()
174 lp->out_idx = 0; /* wrap around */ in hysdn_tx_netack()
228 return (lp->skbs[lp->out_idx]); /* next packet to send */ in hysdn_tx_netget()
Dhycapi.c643 kfree_skb(cinfo->skbs[cinfo->out_idx]); /* free skb */ in hycapi_tx_capiack()
644 cinfo->skbs[cinfo->out_idx++] = NULL; in hycapi_tx_capiack()
645 if (cinfo->out_idx >= HYSDN_MAX_CAPI_SKB) in hycapi_tx_capiack()
646 cinfo->out_idx = 0; /* wrap around */ in hycapi_tx_capiack()
670 return (cinfo->skbs[cinfo->out_idx]); /* next packet to send */ in hycapi_tx_capiget()
Dhysdn_defs.h206 int in_idx, out_idx; /* indexes to buffer ring */ member