Lines Matching defs:wrap
1177 int wrap;
1183 wrap = (idx + count) - MVXPE_RX_RING_CNT;
1184 if (wrap > 0) {
1185 count -= wrap;
1188 0, sizeof(struct mvxpe_rx_desc) * wrap, ops);
1198 int wrap = 0;
1204 wrap = (idx + count) - MVXPE_TX_RING_CNT;
1205 if (wrap > 0) {
1206 count -= wrap;
1208 0, sizeof(struct mvxpe_tx_desc) * wrap, ops);