Lines Matching refs:cnt
315 u32 pbnum, cnt, lcnt;
331 cnt = 1024;
333 addr = vmalloc(cnt);
369 __iowrite32_copy(piobuf + 64, addr, cnt >> 2);
689 int i, cnt = 0;
703 cnt++;
706 if (cnt) {
707 ipath_stats.sps_pageunlocks += cnt;
709 "entries locked\n", cnt);
816 * @cnt: the number of PIO buffers to cancel
824 unsigned cnt)
826 unsigned i, last = first + cnt;
829 ipath_cdbg(PKT, "disarm %u PIObufs first=%u\n", cnt, first);
1675 unsigned end, cnt = 0;
1726 cnt = bitmap_weight(dd->ipath_pioavailkernel, end);
1733 * is supported (cnt was computed > 0), drop the update threshold
1741 if (!avail && len < cnt)
1742 cnt = len;
1743 if (cnt < dd->ipath_pioupd_thresh) {
1744 dd->ipath_pioupd_thresh = cnt;