Lines Matching defs:stateid
374 nfsv4stateid_t stateid;
391 stateid.seqid = fxdr_unsigned(u_int32_t, *tl++);
392 stateid.other[0] = *tl++;
393 stateid.other[1] = *tl++;
394 stateid.other[2] = *tl;
395 if (stateid.other[0] == 0x55555555 &&
396 stateid.other[1] == 0x55555555 &&
397 stateid.other[2] == 0x55555555 &&
398 stateid.seqid == 0xffffffff)
457 * stateid.
461 nd->nd_repstat = nfsrv_checksetattr(vp, nd, &stateid,
764 nfsv4stateid_t stateid;
815 * Don't allow the client to use a special stateid for a DS op.
826 /* However, allow the proxy stateid. */
865 * stateid.
870 &stateid, exp, nd, p);
974 nfsv4stateid_t stateid;
1018 * Don't allow the client to use a special stateid for a DS op.
1029 /* However, allow the proxy stateid. */
1071 * stateid.
1076 &stateid, exp, nd, p);
2371 nfsv4stateid_t stateid;
2418 * For the special stateid of other all 0s and seqid == 1, set
2419 * the stateid to the current stateid, if it is set.
2464 * For the special stateid of other all 0s and seqid == 1, set
2465 * the stateid to the current stateid, if it is set.
2541 &stateid, exp, nd, p);
2549 nd->nd_curstateid = stateid;
2553 *tl++ = txdr_unsigned(stateid.seqid);
2554 NFSBCOPY((caddr_t)stateid.other,(caddr_t)tl,NFSX_STATEIDOTHER);
2569 *tl++ = stateid.other[0];
2570 *tl = stateid.other[1];
2597 nfsv4stateid_t stateid;
2665 &stateid, exp, nd, p);
2711 nfsv4stateid_t stateid;
2749 * For the special stateid of other all 0s and seqid == 1, set the
2750 * stateid to the current stateid, if it is set.
2801 &stateid, exp, nd, p);
2808 *tl++ = txdr_unsigned(stateid.seqid);
2809 NFSBCOPY((caddr_t)stateid.other,(caddr_t)tl,NFSX_STATEIDOTHER);
2834 nfsv4stateid_t stateid, delegstateid;
3016 stateid.seqid = fxdr_unsigned(u_int32_t, *tl++);
3017 NFSBCOPY((caddr_t)tl,(caddr_t)stateid.other,NFSX_STATEIDOTHER);
3030 &stateid, stp, NULL, nd, p, nd->nd_repstat);
3088 nfsvno_open(nd, &named, clientid, &stateid, stp,
3117 nd->nd_repstat = nfsrv_opencheck(clientid, &stateid,
3187 nd->nd_repstat = nfsrv_openctrl(nd, vp, &stp, clientid, &stateid,
3204 nd->nd_curstateid = stateid;
3208 *tl++ = txdr_unsigned(stateid.seqid);
3209 NFSBCOPY((caddr_t)stateid.other,(caddr_t)tl,NFSX_STATEIDOTHER);
3320 nfsv4stateid_t stateid;
3335 * For the special stateid of other all 0s and seqid == 1, set the
3336 * stateid to the current stateid, if it is set.
3363 nd->nd_repstat = nfsrv_openupdate(vp, stp, clientid, &stateid, nd, p,
3371 * If the stateid that has been closed is the current stateid,
3375 stateid.other[0] == nd->nd_curstateid.other[0] &&
3376 stateid.other[1] == nd->nd_curstateid.other[1] &&
3377 stateid.other[2] == nd->nd_curstateid.other[2])
3380 *tl++ = txdr_unsigned(stateid.seqid);
3381 NFSBCOPY((caddr_t)stateid.other,(caddr_t)tl,NFSX_STATEIDOTHER);
3435 nfsv4stateid_t stateid;
3441 stateid.seqid = fxdr_unsigned(u_int32_t, *tl++);
3442 NFSBCOPY((caddr_t)tl, (caddr_t)stateid.other, NFSX_STATEIDOTHER);
3443 clientid.lval[0] = stateid.other[0];
3444 clientid.lval[1] = stateid.other[1];
3456 nd->nd_repstat = nfsrv_delegupdate(nd, clientid, &stateid, vp,
3495 nfsv4stateid_t stateid;
3526 nd->nd_repstat = nfsrv_openupdate(vp, stp, clientid, &stateid, nd, p,
3530 *tl++ = txdr_unsigned(stateid.seqid);
3531 NFSBCOPY((caddr_t)stateid.other,(caddr_t)tl,NFSX_STATEIDOTHER);
3550 nfsv4stateid_t stateid;
3569 * For the special stateid of other all 0s and seqid == 1, set the
3570 * stateid to the current stateid, if it is set.
3632 nd->nd_repstat = nfsrv_openupdate(vp, stp, clientid, &stateid,
3637 nd->nd_curstateid = stateid;
3641 *tl++ = txdr_unsigned(stateid.seqid);
3642 NFSBCOPY((caddr_t)stateid.other,(caddr_t)tl,NFSX_STATEIDOTHER);
4745 * nfsv4 free stateid service
4752 nfsv4stateid_t stateid;
4757 stateid.seqid = fxdr_unsigned(uint32_t, *tl++);
4758 NFSBCOPY(tl, stateid.other, NFSX_STATEIDOTHER);
4761 * For the special stateid of other all 0s and seqid == 1, set the
4762 * stateid to the current stateid, if it is set.
4764 if (stateid.seqid == 1 && stateid.other[0] == 0 &&
4765 stateid.other[1] == 0 && stateid.other[2] == 0) {
4767 stateid = nd->nd_curstateid;
4768 stateid.seqid = 0;
4775 nd->nd_repstat = nfsrv_freestateid(nd, &stateid, p);
4777 /* If the current stateid has been free'd, unset it. */
4779 stateid.other[0] == nd->nd_curstateid.other[0] &&
4780 stateid.other[1] == nd->nd_curstateid.other[1] &&
4781 stateid.other[2] == nd->nd_curstateid.other[2])
4796 nfsv4stateid_t stateid;
4810 stateid.seqid = fxdr_unsigned(uint32_t, *tl++);
4811 NFSBCOPY(tl, stateid.other, NFSX_STATEIDOTHER);
4825 * For the special stateid of other all 0s and seqid == 1, set the
4826 * stateid to the current stateid, if it is set.
4828 if (stateid.seqid == 1 && stateid.other[0] == 0 &&
4829 stateid.other[1] == 0 && stateid.other[2] == 0) {
4831 stateid = nd->nd_curstateid;
4832 stateid.seqid = 0;
4849 &iomode, &offset, &len, minlen, &stateid, maxcnt,
4856 nd->nd_curstateid = stateid;
4862 *tl++ = txdr_unsigned(stateid.seqid);
4863 NFSBCOPY(stateid.other, tl, NFSX_STATEIDOTHER);
4890 nfsv4stateid_t stateid;
4904 stateid.seqid = fxdr_unsigned(uint32_t, *tl++);
4905 NFSBCOPY(tl, stateid.other, NFSX_STATEIDOTHER);
4908 * For the special stateid of other all 0s and seqid == 1, set the
4909 * stateid to the current stateid, if it is set.
4911 if (stateid.seqid == 1 && stateid.other[0] == 0 &&
4912 stateid.other[1] == 0 && stateid.other[2] == 0) {
4914 stateid = nd->nd_curstateid;
4915 stateid.seqid = 0;
4944 newoff, offset, len, hasnewmtime, &newmtime, reclaim, &stateid,
4972 nfsv4stateid_t stateid;
4990 stateid.seqid = fxdr_unsigned(uint32_t, *tl++);
4991 NFSBCOPY(tl, stateid.other, NFSX_STATEIDOTHER);
4995 * For the special stateid of other all 0s and seqid == 1, set
4996 * the stateid to the current stateid, if it is set.
4998 if (stateid.seqid == 1 && stateid.other[0] == 0 &&
4999 stateid.other[1] == 0 && stateid.other[2] == 0) {
5001 stateid = nd->nd_curstateid;
5002 stateid.seqid = 0;
5031 offset, len, reclaim, kind, &stateid, maxcnt, layp, &fnd,
5040 *tl++ = txdr_unsigned(stateid.seqid);
5041 NFSBCOPY(stateid.other, tl, NFSX_STATEIDOTHER);
5060 nfsv4stateid_t stateid;
5070 stateid.seqid = fxdr_unsigned(uint32_t, *tl++);
5071 NFSBCOPY(tl, stateid.other, NFSX_STATEIDOTHER);
5077 * For the special stateid of other all 0s and seqid == 1, set
5078 * the stateid to the current stateid, if it is set.
5080 if (stateid.seqid == 1 && stateid.other[0] == 0 &&
5081 stateid.other[1] == 0 && stateid.other[2] == 0) {
5083 stateid = nd->nd_curstateid;
5084 stateid.seqid = 0;
5092 * Ignore offset, len and stateid for now.
5128 nfsv4stateid_t stateid;
5139 stateid.seqid = fxdr_unsigned(uint32_t, *tl++);
5140 NFSBCOPY(tl, stateid.other, NFSX_STATEIDOTHER);
5155 * For the special stateid of other all 0s and seqid == 1, set
5156 * the stateid to the current stateid, if it is set.
5158 if (stateid.seqid == 1 && stateid.other[0] == 0 &&
5159 stateid.other[1] == 0 && stateid.other[2] == 0) {
5161 stateid = nd->nd_curstateid;
5162 stateid.seqid = 0;
5186 nfsv4stateid_t stateid;
5192 stateid.seqid = fxdr_unsigned(uint32_t, *tl++);
5193 NFSBCOPY(tl, stateid.other, NFSX_STATEIDOTHER);
5201 * For the special stateid of other all 0s and seqid == 1, set
5202 * the stateid to the current stateid, if it is set.
5204 if (stateid.seqid == 1 && stateid.other[0] == 0 &&
5205 stateid.other[1] == 0 && stateid.other[2] == 0) {
5207 stateid = nd->nd_curstateid;
5208 stateid.seqid = 0;
5231 * the stateid.
5337 * nfsv4 test stateid service
5390 nfsv4stateid_t stateid;
5431 /* However, allow the proxy stateid. */
5468 &stateid, exp, nd, curthread);
5499 nfsv4stateid_t stateid;
5530 /* However, allow the proxy stateid. */
5576 &stateid, exp, nd, curthread);
5607 nfsv4stateid_t stateid;
5693 clientid, &stateid, exp, nd, curthread);
5715 clientid, &stateid, toexp, nd, curthread);
5841 /* Ignore the stateid for now. */