Lines Matching defs:cnt

131 	int cnt;
159 int cnt;
1053 ss->rx_big.cnt = 0;
1054 ss->rx_small.cnt = 0;
1056 ss->rx_done.cnt = 0;
1192 while (rx->fill_cnt != (rx->cnt + rx->mask + 1)) {
1203 if (rx->fill_cnt - rx->cnt < 16)
1213 if (rx->fill_cnt - rx->cnt < 16)
1325 idx = rx->cnt & rx->mask;
1335 rx->cnt++;
1336 idx = rx->cnt & rx->mask;
1349 rx->cnt++;
1350 idx = rx->cnt & rx->mask;
1452 int cnt = rx_done->cnt;
1464 cnt++;
1465 idx = cnt & (mgp->max_intr_slots - 1);
1469 rx_done->cnt = cnt;
1474 if (ss->rx_small.fill_cnt - ss->rx_small.cnt < myri10ge_fill_thresh)
1477 if (ss->rx_big.fill_cnt - ss->rx_big.cnt < myri10ge_fill_thresh)
1836 data[i++] = (unsigned int)ss->rx_small.cnt;
1837 data[i++] = (unsigned int)ss->rx_big.cnt;
1997 ss->rx_big.cnt = 0;
1998 ss->rx_small.cnt = 0;
2028 for (i = ss->rx_big.cnt; i < ss->rx_big.fill_cnt; i++) {
2037 ss->rx_small.fill_cnt = ss->rx_small.cnt;
2038 for (i = ss->rx_small.cnt; i < ss->rx_small.fill_cnt; i++) {
2079 for (i = ss->rx_big.cnt; i < ss->rx_big.fill_cnt; i++) {
2089 ss->rx_small.fill_cnt = ss->rx_small.cnt;
2090 for (i = ss->rx_small.cnt; i < ss->rx_small.fill_cnt; i++) {
2512 struct mcp_kreq_ether_send *src, int cnt)
2516 while (cnt > 1) {
2517 cnt--;
2518 idx = (starting_slot + cnt) & tx->mask;
2519 myri10ge_pio_copy(&tx->lanai[idx], &src[cnt], sizeof(*src));
2533 int cnt)
2548 if ((idx + cnt) < tx->mask) {
2549 for (i = 0; i < (cnt - 1); i += 2) {
2558 myri10ge_submit_req_backwards(tx, src, cnt);
2561 if (i < cnt) {
2570 tx->req += cnt;
3361 ss->watchdog_rx_done != ss->rx_done.cnt) {
3366 ss->watchdog_rx_done = ss->rx_done.cnt;
3485 if (ss->rx_small.fill_cnt - ss->rx_small.cnt >=
3492 if (ss->rx_big.fill_cnt - ss->rx_big.cnt >=