Lines Matching defs:wrap
1183 int wrap;
1189 wrap = (idx + count) - MVXPE_RX_RING_CNT;
1190 if (wrap > 0) {
1191 count -= wrap;
1194 0, sizeof(struct mvxpe_rx_desc) * wrap, ops);
1204 int wrap = 0;
1210 wrap = (idx + count) - MVXPE_TX_RING_CNT;
1211 if (wrap > 0) {
1212 count -= wrap;
1214 0, sizeof(struct mvxpe_tx_desc) * wrap, ops);