Lines Matching refs:cnt
768 int cnt, i, outcnt;
772 cnt = fxdr_unsigned(int, *tl);
773 if (cnt < 0) {
777 if (cnt > NFSATTRBIT_MAXWORDS)
780 outcnt = cnt;
787 for (i = 0; i < (cnt - outcnt); i++) {
793 *cntp = NFSX_UNSIGNED + (cnt * NFSX_UNSIGNED);
818 int error, tfhsize, aceerr, attrsize, cnt, retnotsup;
914 &cnt, &retnotsup);
917 &cnt, &retnotsup);
932 attrsum += cnt;
1083 &cnt, p);
1094 &cnt, p);
1101 &cnt, p);
1104 &cnt, p);
1109 attrsum += cnt;
1775 &cnt, &retnotsup);
1787 attrsum += cnt;
1896 * Release a reference cnt.
1903 panic("nfsv4root ref cnt");
1910 * Get a reference cnt.
2551 int cnt, i, bytesize;
2553 for (cnt = NFSATTRBIT_MAXWORDS; cnt > 0; cnt--)
2554 if (attrbitp->bits[cnt - 1])
2556 bytesize = (cnt + 1) * NFSX_UNSIGNED;
2558 *tl++ = txdr_unsigned(cnt);
2559 for (i = 0; i < cnt; i++)
2579 int cnt, hasampersand, len = NFSV4_SMALLSTR, ret;
2582 cnt = 0;
2650 cnt++;
2653 if (ret == 0 && cnt < 2)
2687 int cnt, ret;
2691 cnt = 0;
2714 cnt++;
2717 if (ret == 0 && cnt < 2)
2738 int cnt, ret;
2769 cnt = 0;
2778 if (cnt == 0 && i < len && i > 0 &&
2814 cnt++;
2817 if (ret == 0 && cnt < 2)
2841 int cnt, hasampersand, len = NFSV4_SMALLSTR, ret;
2844 cnt = 0;
2912 cnt++;
2915 if (ret == 0 && cnt < 2)
2954 int cnt, ret;
2985 cnt = 0;
2992 if (cnt == 0 && i < len && i > 0 &&
3028 cnt++;
3031 if (ret == 0 && cnt < 2)
3632 int cnt = 0, gotd = 0, shift = 0;
3641 * cnt - the number of 10xxxxxx bytes to follow
3646 * byte - used to calculate cnt
3649 if (cnt > 0) {
3659 cnt--;
3660 if (cnt == 0 && (val >> shift) == 0x0) {
3667 while ((byte & 0x40) && cnt < 6) {
3668 cnt++;
3671 if (cnt == 0 || cnt == 6) {
3675 val = (*cp & (0x3f >> cnt));
3676 shift = utf8_shift[cnt - 1];
3677 if (cnt == 2 && val == 0xd)
3684 if (cnt > 0)
3710 int i, j, len, stringlen, cnt, slen, siz, xdrsum, error = 0, nsrv;
3747 cnt = fxdr_unsigned(int, *tl);
3748 if (cnt <= 0)
3761 for (i = 0; i < cnt; i++) {