Lines Matching refs:tl
96 u_int32_t *tl;
106 NFSM_DISSECT(tl, u_int32_t *, NFSX_UNSIGNED);
107 nfsmode = fxdr_unsigned(u_int32_t, *tl);
161 NFSM_BUILD(tl, u_int32_t *, 2 * NFSX_UNSIGNED);
162 *tl++ = txdr_unsigned(supported);
164 NFSM_BUILD(tl, u_int32_t *, NFSX_UNSIGNED);
165 *tl = txdr_unsigned(nfsmode);
310 u_int32_t *tl;
328 NFSM_DISSECT(tl, u_int32_t *, NFSX_STATEID);
329 stateid.seqid = fxdr_unsigned(u_int32_t, *tl++);
330 NFSBCOPY((caddr_t)tl,(caddr_t)stateid.other,NFSX_STATEIDOTHER);
339 NFSM_DISSECT(tl, u_int32_t *, NFSX_UNSIGNED);
340 gcheck = fxdr_unsigned(int, *tl);
342 NFSM_DISSECT(tl, u_int32_t *, 2 * NFSX_UNSIGNED);
343 fxdr_nfsv3time(tl, &guard);
598 u_int32_t *tl;
623 NFSM_BUILD(tl, u_int32_t *, NFSX_UNSIGNED);
624 *tl = txdr_unsigned(len);
641 u_int32_t *tl;
656 NFSM_DISSECT(tl, u_int32_t *, 2 * NFSX_UNSIGNED);
657 off = (off_t)fxdr_unsigned(u_int32_t, *tl++);
658 reqlen = fxdr_unsigned(int, *tl);
660 NFSM_DISSECT(tl, u_int32_t *, 3 * NFSX_UNSIGNED);
661 off = fxdr_hyper(tl);
662 tl += 2;
663 reqlen = fxdr_unsigned(int, *tl);
665 NFSM_DISSECT(tl, u_int32_t *, NFSX_STATEID + 3*NFSX_UNSIGNED);
666 reqlen = fxdr_unsigned(int, *(tl + 6));
680 stp->ls_stateid.seqid = fxdr_unsigned(u_int32_t, *tl++);
681 clientid.lval[0] = stp->ls_stateid.other[0] = *tl++;
682 clientid.lval[1] = stp->ls_stateid.other[1] = *tl++;
694 stp->ls_stateid.other[2] = *tl++;
695 off = fxdr_hyper(tl);
697 tl += 2;
765 NFSM_BUILD(tl, u_int32_t *, NFSX_UNSIGNED);
769 NFSM_BUILD(tl, u_int32_t *, 3 * NFSX_UNSIGNED);
770 *tl++ = txdr_unsigned(cnt);
772 NFSM_BUILD(tl, u_int32_t *, 2 * NFSX_UNSIGNED);
774 *tl++ = newnfs_true;
776 *tl++ = newnfs_false;
778 *tl = txdr_unsigned(cnt);
802 u_int32_t *tl;
818 NFSM_DISSECT(tl, u_int32_t *, 4 * NFSX_UNSIGNED);
819 off = (off_t)fxdr_unsigned(u_int32_t, *++tl);
820 tl += 2;
821 retlen = len = fxdr_unsigned(int32_t, *tl);
823 NFSM_DISSECT(tl, u_int32_t *, 5 * NFSX_UNSIGNED);
824 off = fxdr_hyper(tl);
825 tl += 3;
826 stable = fxdr_unsigned(int, *tl++);
827 retlen = len = fxdr_unsigned(int32_t, *tl);
829 NFSM_DISSECT(tl, u_int32_t *, NFSX_STATEID + 4 * NFSX_UNSIGNED);
835 stp->ls_stateid.seqid = fxdr_unsigned(u_int32_t, *tl++);
836 clientid.lval[0] = stp->ls_stateid.other[0] = *tl++;
837 clientid.lval[1] = stp->ls_stateid.other[1] = *tl++;
849 stp->ls_stateid.other[2] = *tl++;
850 off = fxdr_hyper(tl);
852 tl += 2;
853 stable = fxdr_unsigned(int, *tl++);
854 retlen = len = fxdr_unsigned(int32_t, *tl);
939 NFSM_BUILD(tl, u_int32_t *, 4 * NFSX_UNSIGNED);
940 *tl++ = txdr_unsigned(retlen);
948 *tl++ = txdr_unsigned(stable);
950 *tl++ = txdr_unsigned(NFSWRITE_FILESYNC);
956 *tl++ = txdr_unsigned(nfsboottime.tv_sec);
957 *tl = txdr_unsigned(nfsboottime.tv_usec);
983 u_int32_t *tl;
1030 NFSM_DISSECT(tl, u_int32_t *, NFSX_UNSIGNED);
1031 how = fxdr_unsigned(int, *tl);
1040 NFSM_DISSECT(tl, u_int32_t *, NFSX_VERF);
1041 cverf[0] = *tl++;
1042 cverf[1] = *tl;
1151 u_int32_t *tl;
1178 NFSM_DISSECT(tl, u_int32_t *, NFSX_UNSIGNED);
1179 vtyp = nfsv34tov_type(*tl);
1180 nfs4type = fxdr_unsigned(nfstype, *tl);
1190 NFSM_DISSECT(tl, u_int32_t *, 2 * NFSX_UNSIGNED);
1191 major = fxdr_unsigned(u_int32_t, *tl++);
1192 minor = fxdr_unsigned(u_int32_t, *tl);
1217 NFSM_DISSECT(tl, u_int32_t *, NFSX_UNSIGNED);
1218 vtyp = nfsv34tov_type(*tl);
1226 NFSM_DISSECT(tl, u_int32_t *, 2 * NFSX_UNSIGNED);
1227 major = fxdr_unsigned(u_int32_t, *tl++);
1228 minor = fxdr_unsigned(u_int32_t, *tl);
1329 NFSM_BUILD(tl, u_int32_t *, 5 * NFSX_UNSIGNED);
1330 *tl++ = newnfs_false;
1331 txdr_hyper(dirfor.na_filerev, tl);
1332 tl += 2;
1333 txdr_hyper(diraft.na_filerev, tl);
1368 u_int32_t *tl;
1429 NFSM_BUILD(tl, u_int32_t *, 5 * NFSX_UNSIGNED);
1430 *tl++ = newnfs_false;
1431 txdr_hyper(dirfor.na_filerev, tl);
1432 tl += 2;
1433 txdr_hyper(diraft.na_filerev, tl);
1450 u_int32_t *tl;
1596 NFSM_BUILD(tl, u_int32_t *, 10 * NFSX_UNSIGNED);
1597 *tl++ = newnfs_false;
1598 txdr_hyper(fdirfor.na_filerev, tl);
1599 tl += 2;
1600 txdr_hyper(fdiraft.na_filerev, tl);
1601 tl += 2;
1602 *tl++ = newnfs_false;
1603 txdr_hyper(tdirfor.na_filerev, tl);
1604 tl += 2;
1605 txdr_hyper(tdiraft.na_filerev, tl);
1622 u_int32_t *tl;
1705 NFSM_BUILD(tl, u_int32_t *, 5 * NFSX_UNSIGNED);
1706 *tl++ = newnfs_false;
1707 txdr_hyper(dirfor.na_filerev, tl);
1708 tl += 2;
1709 txdr_hyper(diraft.na_filerev, tl);
1803 u_int32_t *tl;
1826 NFSM_BUILD(tl, u_int32_t *, 5 * NFSX_UNSIGNED);
1827 *tl++ = newnfs_false;
1828 txdr_hyper(dirforp->na_filerev, tl);
1829 tl += 2;
1830 txdr_hyper(diraftp->na_filerev, tl);
1847 u_int32_t *tl;
1870 NFSM_DISSECT(tl, u_int32_t *, NFSX_UNSIGNED);
1871 nva.na_mode = nfstov_mode(*tl++);
1936 u_int32_t *tl;
1960 NFSM_BUILD(tl, u_int32_t *, 5 * NFSX_UNSIGNED);
1961 *tl++ = newnfs_false;
1962 txdr_hyper(dirforp->na_filerev, tl);
1963 tl += 2;
1964 txdr_hyper(diraftp->na_filerev, tl);
1979 u_int32_t *tl;
1996 NFSM_DISSECT(tl, u_int32_t *, 3 * NFSX_UNSIGNED);
2002 off = fxdr_hyper(tl);
2003 tl += 2;
2004 cnt = fxdr_unsigned(int, *tl);
2014 NFSM_BUILD(tl, u_int32_t *, NFSX_VERF);
2015 *tl++ = txdr_unsigned(nfsboottime.tv_sec);
2016 *tl = txdr_unsigned(nfsboottime.tv_usec);
2036 u_int32_t *tl;
2055 NFSM_BUILD(tl, u_int32_t *, NFSX_V2STATFS);
2056 *tl++ = txdr_unsigned(NFS_V2MAXDATA);
2057 *tl++ = txdr_unsigned(sf->f_bsize);
2058 *tl++ = txdr_unsigned(sf->f_blocks);
2059 *tl++ = txdr_unsigned(sf->f_bfree);
2060 *tl = txdr_unsigned(sf->f_bavail);
2062 NFSM_BUILD(tl, u_int32_t *, NFSX_V3STATFS);
2065 txdr_hyper(tval, tl); tl += 2;
2068 txdr_hyper(tval, tl); tl += 2;
2071 txdr_hyper(tval, tl); tl += 2;
2073 txdr_hyper(tval, tl); tl += 2;
2075 txdr_hyper(tval, tl); tl += 2;
2077 txdr_hyper(tval, tl); tl += 2;
2078 *tl = 0;
2093 u_int32_t *tl;
2106 NFSM_BUILD(tl, u_int32_t *, NFSX_V3FSINFO);
2107 *tl++ = txdr_unsigned(fs.fs_rtmax);
2108 *tl++ = txdr_unsigned(fs.fs_rtpref);
2109 *tl++ = txdr_unsigned(fs.fs_rtmult);
2110 *tl++ = txdr_unsigned(fs.fs_wtmax);
2111 *tl++ = txdr_unsigned(fs.fs_wtpref);
2112 *tl++ = txdr_unsigned(fs.fs_wtmult);
2113 *tl++ = txdr_unsigned(fs.fs_dtpref);
2114 txdr_hyper(fs.fs_maxfilesize, tl);
2115 tl += 2;
2116 txdr_nfsv3time(&fs.fs_timedelta, tl);
2117 tl += 2;
2118 *tl = txdr_unsigned(fs.fs_properties);
2183 u_int32_t *tl;
2194 NFSM_DISSECT(tl, u_int32_t *, 7 * NFSX_UNSIGNED);
2195 i = fxdr_unsigned(int, *tl++);
2211 if (*tl++ == newnfs_true)
2213 offset = fxdr_hyper(tl);
2214 tl += 2;
2215 len = fxdr_hyper(tl);
2216 tl += 2;
2217 if (*tl == newnfs_true)
2220 NFSM_DISSECT(tl, u_int32_t *, 5 * NFSX_UNSIGNED + NFSX_STATEID);
2221 i = fxdr_unsigned(int, *(tl+4+(NFSX_STATEID / NFSX_UNSIGNED)));
2230 stp->ls_seq = fxdr_unsigned(int, *tl++);
2231 stp->ls_stateid.seqid = fxdr_unsigned(u_int32_t, *tl++);
2232 NFSBCOPY((caddr_t)tl, (caddr_t)stp->ls_stateid.other,
2234 tl += (NFSX_STATEIDOTHER / NFSX_UNSIGNED);
2235 stp->ls_opentolockseq = fxdr_unsigned(int, *tl++);
2236 clientid.lval[0] = *tl++;
2237 clientid.lval[1] = *tl++;
2253 NFSM_DISSECT(tl, u_int32_t *, NFSX_STATEID + NFSX_UNSIGNED);
2258 stp->ls_stateid.seqid = fxdr_unsigned(u_int32_t, *tl++);
2259 NFSBCOPY((caddr_t)tl, (caddr_t)stp->ls_stateid.other,
2261 tl += (NFSX_STATEIDOTHER / NFSX_UNSIGNED);
2262 stp->ls_seq = fxdr_unsigned(int, *tl);
2328 NFSM_BUILD(tl, u_int32_t *, NFSX_STATEID);
2329 *tl++ = txdr_unsigned(stateid.seqid);
2330 NFSBCOPY((caddr_t)stateid.other,(caddr_t)tl,NFSX_STATEIDOTHER);
2332 NFSM_BUILD(tl, u_int32_t *, 7 * NFSX_UNSIGNED);
2333 txdr_hyper(cf.cl_first, tl);
2334 tl += 2;
2339 txdr_hyper(len, tl);
2340 tl += 2;
2342 *tl++ = txdr_unsigned(NFSV4LOCKT_WRITE);
2344 *tl++ = txdr_unsigned(NFSV4LOCKT_READ);
2345 *tl++ = stateid.other[0];
2346 *tl = stateid.other[1];
2367 u_int32_t *tl;
2377 NFSM_DISSECT(tl, u_int32_t *, 8 * NFSX_UNSIGNED);
2378 i = fxdr_unsigned(int, *(tl + 7));
2389 i = fxdr_unsigned(int, *tl++);
2405 lo.lo_first = fxdr_hyper(tl);
2406 tl += 2;
2407 len = fxdr_hyper(tl);
2415 tl += 2;
2416 clientid.lval[0] = *tl++;
2417 clientid.lval[1] = *tl;
2443 NFSM_BUILD(tl, u_int32_t *, 7 * NFSX_UNSIGNED);
2444 txdr_hyper(cf.cl_first, tl);
2445 tl += 2;
2450 txdr_hyper(len, tl);
2451 tl += 2;
2453 *tl++ = txdr_unsigned(NFSV4LOCKT_WRITE);
2455 *tl++ = txdr_unsigned(NFSV4LOCKT_READ);
2456 *tl++ = stp->ls_stateid.other[0];
2457 *tl = stp->ls_stateid.other[1];
2481 u_int32_t *tl;
2490 NFSM_DISSECT(tl, u_int32_t *, 6 * NFSX_UNSIGNED + NFSX_STATEID);
2498 i = fxdr_unsigned(int, *tl++);
2516 stp->ls_seq = fxdr_unsigned(int, *tl++);
2517 stp->ls_stateid.seqid = fxdr_unsigned(u_int32_t, *tl++);
2518 NFSBCOPY((caddr_t)tl, (caddr_t)stp->ls_stateid.other,
2520 tl += (NFSX_STATEIDOTHER / NFSX_UNSIGNED);
2521 lop->lo_first = fxdr_hyper(tl);
2522 tl += 2;
2523 len = fxdr_hyper(tl);
2562 NFSM_BUILD(tl, u_int32_t *, NFSX_STATEID);
2563 *tl++ = txdr_unsigned(stateid.seqid);
2564 NFSBCOPY((caddr_t)stateid.other,(caddr_t)tl,NFSX_STATEIDOTHER);
2580 u_int32_t *tl;
2604 NFSM_DISSECT(tl, u_int32_t *, 6 * NFSX_UNSIGNED);
2605 i = fxdr_unsigned(int, *(tl + 5));
2616 stp->ls_seq = fxdr_unsigned(u_int32_t, *tl++);
2617 i = fxdr_unsigned(int, *tl++);
2664 i = fxdr_unsigned(int, *tl++);
2680 clientid.lval[0] = *tl++;
2681 clientid.lval[1] = *tl;
2697 NFSM_DISSECT(tl, u_int32_t *, NFSX_UNSIGNED);
2698 create = fxdr_unsigned(int, *tl);
2704 NFSM_DISSECT(tl, u_int32_t *, NFSX_UNSIGNED);
2705 how = fxdr_unsigned(int, *tl);
2725 NFSM_DISSECT(tl, u_int32_t *, NFSX_VERF);
2726 cverf[0] = *tl++;
2727 cverf[1] = *tl;
2730 NFSM_DISSECT(tl, u_int32_t *, NFSX_VERF);
2731 cverf[0] = *tl++;
2732 cverf[1] = *tl;
2765 NFSM_DISSECT(tl, u_int32_t *, NFSX_UNSIGNED);
2766 claim = fxdr_unsigned(int, *tl);
2768 NFSM_DISSECT(tl, u_int32_t *, NFSX_STATEID);
2769 stateid.seqid = fxdr_unsigned(u_int32_t, *tl++);
2770 NFSBCOPY((caddr_t)tl,(caddr_t)stateid.other,NFSX_STATEIDOTHER);
2844 NFSM_DISSECT(tl, u_int32_t *, NFSX_UNSIGNED);
2845 i = fxdr_unsigned(int, *tl);
2928 NFSM_BUILD(tl, u_int32_t *, NFSX_STATEID + 6 * NFSX_UNSIGNED);
2929 *tl++ = txdr_unsigned(stateid.seqid);
2930 NFSBCOPY((caddr_t)stateid.other,(caddr_t)tl,NFSX_STATEIDOTHER);
2931 tl += (NFSX_STATEIDOTHER / NFSX_UNSIGNED);
2933 *tl++ = newnfs_true;
2934 *tl++ = 0;
2935 *tl++ = 0;
2936 *tl++ = 0;
2937 *tl++ = 0;
2939 *tl++ = newnfs_false; /* Since dirp is not locked */
2940 txdr_hyper(dirfor.na_filerev, tl);
2941 tl += 2;
2942 txdr_hyper(diraft.na_filerev, tl);
2943 tl += 2;
2945 *tl = txdr_unsigned(rflags & NFSV4OPEN_RFLAGS);
2947 NFSM_BUILD(tl, u_int32_t *, NFSX_UNSIGNED);
2949 *tl = txdr_unsigned(NFSV4OPEN_DELEGATEREAD);
2951 *tl = txdr_unsigned(NFSV4OPEN_DELEGATEWRITE);
2953 *tl = txdr_unsigned(NFSV4OPEN_DELEGATENONEEXT);
2955 NFSM_BUILD(tl, u_int32_t *, 2 * NFSX_UNSIGNED);
2956 *tl++ = txdr_unsigned(NFSV4OPEN_CONTENTION);
2957 *tl = newnfs_false;
2959 NFSM_BUILD(tl, u_int32_t *, 2 * NFSX_UNSIGNED);
2960 *tl++ = txdr_unsigned(NFSV4OPEN_RESOURCE);
2961 *tl = newnfs_false;
2963 NFSM_BUILD(tl, u_int32_t *, NFSX_UNSIGNED);
2964 *tl = txdr_unsigned(NFSV4OPEN_NOTWANTED);
2967 *tl = txdr_unsigned(NFSV4OPEN_DELEGATENONE);
2969 tl, u_int32_t *, NFSX_STATEID+NFSX_UNSIGNED);
2970 *tl++ = txdr_unsigned(delegstateid.seqid);
2971 NFSBCOPY((caddr_t)delegstateid.other, (caddr_t)tl,
2973 tl += (NFSX_STATEIDOTHER / NFSX_UNSIGNED);
2975 *tl = newnfs_true;
2977 *tl = newnfs_false;
2979 NFSM_BUILD(tl, u_int32_t *, 3 * NFSX_UNSIGNED);
2980 *tl++ = txdr_unsigned(NFSV4OPEN_LIMITSIZE);
2981 txdr_hyper(nva.na_size, tl);
2983 NFSM_BUILD(tl, u_int32_t *, 3 * NFSX_UNSIGNED);
2984 *tl++ = txdr_unsigned(NFSV4ACE_ALLOWEDTYPE);
2985 *tl++ = txdr_unsigned(0x0);
2993 *tl = txdr_unsigned(acemask);
3025 u_int32_t *tl;
3031 NFSM_DISSECT(tl, u_int32_t *, NFSX_UNSIGNED + NFSX_STATEID);
3032 stp->ls_seq = fxdr_unsigned(u_int32_t, *tl++);
3036 stp->ls_stateid.seqid = fxdr_unsigned(u_int32_t, *tl++);
3037 NFSBCOPY((caddr_t)tl, (caddr_t)stp->ls_stateid.other,
3056 NFSM_BUILD(tl, u_int32_t *, NFSX_STATEID);
3057 *tl++ = txdr_unsigned(stateid.seqid);
3058 NFSBCOPY((caddr_t)stateid.other,(caddr_t)tl,NFSX_STATEIDOTHER);
3075 u_int32_t *tl;
3083 NFSM_DISSECT(tl, u_int32_t *, 2 * NFSX_UNSIGNED);
3084 clientid.lval[0] = *tl++;
3085 clientid.lval[1] = *tl;
3111 u_int32_t *tl;
3116 NFSM_DISSECT(tl, u_int32_t *, NFSX_STATEID);
3117 stateid.seqid = fxdr_unsigned(u_int32_t, *tl++);
3118 NFSBCOPY((caddr_t)tl, (caddr_t)stateid.other, NFSX_STATEIDOTHER);
3164 u_int32_t *tl;
3174 NFSM_DISSECT(tl, u_int32_t *, NFSX_STATEID + NFSX_UNSIGNED);
3178 stp->ls_stateid.seqid = fxdr_unsigned(u_int32_t, *tl++);
3179 NFSBCOPY((caddr_t)tl, (caddr_t)stp->ls_stateid.other,
3181 tl += (NFSX_STATEIDOTHER / NFSX_UNSIGNED);
3182 stp->ls_seq = fxdr_unsigned(u_int32_t, *tl);
3199 NFSM_BUILD(tl, u_int32_t *, NFSX_STATEID);
3200 *tl++ = txdr_unsigned(stateid.seqid);
3201 NFSBCOPY((caddr_t)stateid.other,(caddr_t)tl,NFSX_STATEIDOTHER);
3216 u_int32_t *tl;
3228 NFSM_DISSECT(tl, u_int32_t *, NFSX_STATEID + 3 * NFSX_UNSIGNED);
3232 stp->ls_stateid.seqid = fxdr_unsigned(u_int32_t, *tl++);
3233 NFSBCOPY((caddr_t)tl, (caddr_t)stp->ls_stateid.other,
3235 tl += (NFSX_STATEIDOTHER / NFSX_UNSIGNED);
3236 stp->ls_seq = fxdr_unsigned(u_int32_t, *tl++);
3237 i = fxdr_unsigned(int, *tl++);
3252 i = fxdr_unsigned(int, *tl);
3286 NFSM_BUILD(tl, u_int32_t *, NFSX_STATEID);
3287 *tl++ = txdr_unsigned(stateid.seqid);
3288 NFSBCOPY((caddr_t)stateid.other,(caddr_t)tl,NFSX_STATEIDOTHER);
3303 u_int32_t *tl;
3315 NFSM_DISSECT(tl, u_int32_t *, NFSX_HYPER);
3316 clientid.lval[0] = *tl++;
3317 clientid.lval[1] = *tl;
3343 u_int32_t *tl;
3400 NFSM_BUILD(tl, u_int32_t *, NFSX_UNSIGNED);
3401 *tl = txdr_unsigned(RPCAUTH_UNIX);
3404 NFSM_BUILD(tl, u_int32_t *, NFSX_UNSIGNED);
3405 *tl++ = txdr_unsigned(RPCAUTH_GSS);
3408 NFSM_BUILD(tl, u_int32_t *, 2 * NFSX_UNSIGNED);
3409 *tl++ = txdr_unsigned(GSS_KERBV_QOP);
3410 *tl = txdr_unsigned(RPCAUTHGSS_SVCNONE);
3413 NFSM_BUILD(tl, u_int32_t *, NFSX_UNSIGNED);
3414 *tl++ = txdr_unsigned(RPCAUTH_GSS);
3417 NFSM_BUILD(tl, u_int32_t *, 2 * NFSX_UNSIGNED);
3418 *tl++ = txdr_unsigned(GSS_KERBV_QOP);
3419 *tl = txdr_unsigned(RPCAUTHGSS_SVCINTEGRITY);
3422 NFSM_BUILD(tl, u_int32_t *, NFSX_UNSIGNED);
3423 *tl++ = txdr_unsigned(RPCAUTH_GSS);
3426 NFSM_BUILD(tl, u_int32_t *, 2 * NFSX_UNSIGNED);
3427 *tl++ = txdr_unsigned(GSS_KERBV_QOP);
3428 *tl = txdr_unsigned(RPCAUTHGSS_SVCPRIVACY);
3446 u_int32_t *tl;
3462 NFSM_DISSECT(tl, u_int32_t *, NFSX_VERF + NFSX_UNSIGNED);
3463 verf = (u_char *)tl;
3464 tl += (NFSX_VERF / NFSX_UNSIGNED);
3465 i = fxdr_unsigned(int, *tl);
3504 NFSM_DISSECT(tl, u_int32_t *, NFSX_UNSIGNED);
3505 clp->lc_program = fxdr_unsigned(u_int32_t, *tl);
3509 NFSM_DISSECT(tl, u_int32_t *, NFSX_UNSIGNED);
3510 clp->lc_callback = fxdr_unsigned(u_int32_t, *tl);
3540 NFSM_BUILD(tl, u_int32_t *, 2 * NFSX_HYPER);
3541 *tl++ = clientid.lval[0];
3542 *tl++ = clientid.lval[1];
3543 *tl++ = confirm.lval[0];
3544 *tl = confirm.lval[1];
3569 u_int32_t *tl;
3581 NFSM_DISSECT(tl, u_int32_t *, 2 * NFSX_HYPER);
3582 clientid.lval[0] = *tl++;
3583 clientid.lval[1] = *tl++;
3584 confirm.lval[0] = *tl++;
3585 confirm.lval[1] = *tl;
3643 u_int32_t *tl;
3646 NFSM_DISSECT(tl, u_int32_t *, NFSX_UNSIGNED);
3647 createdir = fxdr_unsigned(int, *tl);
3662 u_int32_t *tl;
3675 NFSM_DISSECT(tl, u_int32_t *, 3 * NFSX_UNSIGNED);
3676 len = fxdr_unsigned(int, *(tl + 2));
3687 clientid.lval[0] = *tl++;
3688 clientid.lval[1] = *tl;
3722 uint32_t *tl;
3735 NFSM_DISSECT(tl, u_int32_t *, NFSX_VERF + NFSX_UNSIGNED);
3736 verf = (uint8_t *)tl;
3737 tl += (NFSX_VERF / NFSX_UNSIGNED);
3738 i = fxdr_unsigned(int, *tl);
3776 NFSM_DISSECT(tl, u_int32_t *, 2 * NFSX_UNSIGNED);
3777 v41flags = fxdr_unsigned(uint32_t, *tl++);
3789 sp4type = fxdr_unsigned(uint32_t, *tl);
3812 NFSM_BUILD(tl, uint32_t *, 2 * NFSX_HYPER + 3 * NFSX_UNSIGNED);
3813 *tl++ = clientid.lval[0]; /* ClientID */
3814 *tl++ = clientid.lval[1];
3815 *tl++ = txdr_unsigned(confirm.lval[0]); /* SequenceID */
3816 *tl++ = txdr_unsigned(v41flags); /* Exch flags */
3817 *tl++ = txdr_unsigned(NFSV4EXCH_SP4NONE); /* No SSV */
3819 txdr_hyper(owner_minor, tl); /* Minor */
3822 NFSM_BUILD(tl, uint32_t *, 3 * NFSX_UNSIGNED);
3823 *tl++ = txdr_unsigned(NFSX_UNSIGNED);
3824 *tl++ = time_uptime; /* Make scope a unique value. */
3825 *tl = txdr_unsigned(1);
3828 NFSM_BUILD(tl, uint32_t *, NFSX_V4TIME);
3831 txdr_nfsv4time(&verstime, tl);
3853 uint32_t *tl;
3867 NFSM_DISSECT(tl, uint32_t *, NFSX_HYPER + 2 * NFSX_UNSIGNED);
3868 clientid.lval[0] = *tl++;
3869 clientid.lval[1] = *tl++;
3870 confirm.lval[0] = fxdr_unsigned(uint32_t, *tl++);
3871 sep->sess_crflags = fxdr_unsigned(uint32_t, *tl);
3876 NFSM_DISSECT(tl, uint32_t *, 7 * NFSX_UNSIGNED);
3877 tl++; /* Header pad always 0. */
3878 sep->sess_maxreq = fxdr_unsigned(uint32_t, *tl++);
3879 sep->sess_maxresp = fxdr_unsigned(uint32_t, *tl++);
3880 sep->sess_maxrespcached = fxdr_unsigned(uint32_t, *tl++);
3881 sep->sess_maxops = fxdr_unsigned(uint32_t, *tl++);
3882 sep->sess_maxslots = fxdr_unsigned(uint32_t, *tl++);
3885 rdmacnt = fxdr_unsigned(uint32_t, *tl);
3890 NFSM_DISSECT(tl, uint32_t *, NFSX_UNSIGNED);
3893 NFSM_DISSECT(tl, uint32_t *, 7 * NFSX_UNSIGNED);
3894 tl++; /* Header pad always 0. */
3895 sep->sess_cbmaxreq = fxdr_unsigned(uint32_t, *tl++);
3896 sep->sess_cbmaxresp = fxdr_unsigned(uint32_t, *tl++);
3897 sep->sess_cbmaxrespcached = fxdr_unsigned(uint32_t, *tl++);
3898 sep->sess_cbmaxops = fxdr_unsigned(uint32_t, *tl++);
3899 sep->sess_cbsess.nfsess_foreslots = fxdr_unsigned(uint32_t, *tl++);
3900 rdmacnt = fxdr_unsigned(uint32_t, *tl);
3905 NFSM_DISSECT(tl, uint32_t *, NFSX_UNSIGNED);
3907 NFSM_DISSECT(tl, uint32_t *, NFSX_UNSIGNED);
3908 sep->sess_cbprogram = fxdr_unsigned(uint32_t, *tl);
3917 NFSM_BUILD(tl, uint32_t *, NFSX_V4SESSIONID);
3918 NFSBCOPY(sep->sess_sessionid, tl, NFSX_V4SESSIONID);
3919 NFSM_BUILD(tl, uint32_t *, 18 * NFSX_UNSIGNED);
3920 *tl++ = txdr_unsigned(confirm.lval[0]); /* sequenceid */
3921 *tl++ = txdr_unsigned(sep->sess_crflags);
3924 *tl++ = 0;
3925 *tl++ = txdr_unsigned(sep->sess_maxreq);
3926 *tl++ = txdr_unsigned(sep->sess_maxresp);
3927 *tl++ = txdr_unsigned(sep->sess_maxrespcached);
3928 *tl++ = txdr_unsigned(sep->sess_maxops);
3929 *tl++ = txdr_unsigned(sep->sess_maxslots);
3930 *tl++ = txdr_unsigned(1);
3931 *tl++ = txdr_unsigned(0); /* No RDMA. */
3934 *tl++ = 0;
3935 *tl++ = txdr_unsigned(sep->sess_cbmaxreq);
3936 *tl++ = txdr_unsigned(sep->sess_cbmaxresp);
3937 *tl++ = txdr_unsigned(sep->sess_cbmaxrespcached);
3938 *tl++ = txdr_unsigned(sep->sess_cbmaxops);
3939 *tl++ = txdr_unsigned(sep->sess_cbsess.nfsess_foreslots);
3940 *tl++ = txdr_unsigned(1);
3941 *tl = txdr_unsigned(0); /* No RDMA. */
3957 uint32_t *tl;
3965 NFSM_DISSECT(tl, uint32_t *, NFSX_V4SESSIONID);
3966 NFSBCOPY(tl, nd->nd_sessionid, NFSX_V4SESSIONID);
3967 NFSM_DISSECT(tl, uint32_t *, 4 * NFSX_UNSIGNED);
3968 sequenceid = fxdr_unsigned(uint32_t, *tl++);
3969 nd->nd_slotid = fxdr_unsigned(uint32_t, *tl++);
3970 highest_slotid = fxdr_unsigned(uint32_t, *tl++);
3971 if (*tl == newnfs_true)
3979 NFSM_BUILD(tl, uint32_t *, NFSX_V4SESSIONID);
3980 NFSBCOPY(nd->nd_sessionid, tl, NFSX_V4SESSIONID);
3981 NFSM_BUILD(tl, uint32_t *, 5 * NFSX_UNSIGNED);
3982 *tl++ = txdr_unsigned(sequenceid);
3983 *tl++ = txdr_unsigned(nd->nd_slotid);
3984 *tl++ = txdr_unsigned(highest_slotid);
3985 *tl++ = txdr_unsigned(target_highest_slotid);
3986 *tl = txdr_unsigned(sflags);
4000 uint32_t *tl;
4007 NFSM_DISSECT(tl, uint32_t *, NFSX_UNSIGNED);
4008 if (*tl == newnfs_true)
4024 uint32_t *tl;
4032 NFSM_DISSECT(tl, uint32_t *, 2 * NFSX_UNSIGNED);
4033 clientid.lval[0] = *tl++;
4034 clientid.lval[1] = *tl;
4070 uint32_t *tl;
4078 NFSM_DISSECT(tl, uint32_t *, NFSX_STATEID);
4079 stateid.seqid = fxdr_unsigned(uint32_t, *tl++);
4080 NFSBCOPY(tl, stateid.other, NFSX_STATEIDOTHER);