• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/sys/fs/nfsserver/

Lines Matching refs:stateid

329 	nfsv4stateid_t stateid;
344 stateid.seqid = fxdr_unsigned(u_int32_t, *tl++);
345 stateid.other[0] = *tl++;
346 stateid.other[1] = *tl++;
347 stateid.other[2] = *tl;
348 if (stateid.other[0] == 0x55555555 &&
349 stateid.other[1] == 0x55555555 &&
350 stateid.other[2] == 0x55555555 &&
351 stateid.seqid == 0xffffffff)
411 * stateid.
415 nd->nd_repstat = nfsrv_checksetattr(vp, nd, &stateid,
686 nfsv4stateid_t stateid;
735 * Don't allow the client to use a special stateid for a DS op.
746 /* However, allow the proxy stateid. */
785 * stateid.
790 &stateid, exp, nd, p);
873 nfsv4stateid_t stateid;
916 * Don't allow the client to use a special stateid for a DS op.
927 /* However, allow the proxy stateid. */
991 * stateid.
996 &stateid, exp, nd, p);
2280 nfsv4stateid_t stateid;
2326 * For the special stateid of other all 0s and seqid == 1, set
2327 * the stateid to the current stateid, if it is set.
2372 * For the special stateid of other all 0s and seqid == 1, set
2373 * the stateid to the current stateid, if it is set.
2449 &stateid, exp, nd, p);
2457 nd->nd_curstateid = stateid;
2461 *tl++ = txdr_unsigned(stateid.seqid);
2462 NFSBCOPY((caddr_t)stateid.other,(caddr_t)tl,NFSX_STATEIDOTHER);
2477 *tl++ = stateid.other[0];
2478 *tl = stateid.other[1];
2505 nfsv4stateid_t stateid;
2572 &stateid, exp, nd, p);
2618 nfsv4stateid_t stateid;
2655 * For the special stateid of other all 0s and seqid == 1, set the
2656 * stateid to the current stateid, if it is set.
2705 &stateid, exp, nd, p);
2712 *tl++ = txdr_unsigned(stateid.seqid);
2713 NFSBCOPY((caddr_t)stateid.other,(caddr_t)tl,NFSX_STATEIDOTHER);
2739 nfsv4stateid_t stateid, delegstateid;
2919 stateid.seqid = fxdr_unsigned(u_int32_t, *tl++);
2920 NFSBCOPY((caddr_t)tl,(caddr_t)stateid.other,NFSX_STATEIDOTHER);
2933 &stateid, stp, NULL, nd, p, nd->nd_repstat);
2989 nfsvno_open(nd, &named, clientid, &stateid, stp,
3018 nd->nd_repstat = nfsrv_opencheck(clientid, &stateid,
3086 nd->nd_repstat = nfsrv_openctrl(nd, vp, &stp, clientid, &stateid,
3103 nd->nd_curstateid = stateid;
3107 *tl++ = txdr_unsigned(stateid.seqid);
3108 NFSBCOPY((caddr_t)stateid.other,(caddr_t)tl,NFSX_STATEIDOTHER);
3212 nfsv4stateid_t stateid;
3226 * For the special stateid of other all 0s and seqid == 1, set the
3227 * stateid to the current stateid, if it is set.
3254 nd->nd_repstat = nfsrv_openupdate(vp, stp, clientid, &stateid, nd, p,
3262 * If the stateid that has been closed is the current stateid,
3266 stateid.other[0] == nd->nd_curstateid.other[0] &&
3267 stateid.other[1] == nd->nd_curstateid.other[1] &&
3268 stateid.other[2] == nd->nd_curstateid.other[2])
3271 *tl++ = txdr_unsigned(stateid.seqid);
3272 NFSBCOPY((caddr_t)stateid.other,(caddr_t)tl,NFSX_STATEIDOTHER);
3327 nfsv4stateid_t stateid;
3332 stateid.seqid = fxdr_unsigned(u_int32_t, *tl++);
3333 NFSBCOPY((caddr_t)tl, (caddr_t)stateid.other, NFSX_STATEIDOTHER);
3334 clientid.lval[0] = stateid.other[0];
3335 clientid.lval[1] = stateid.other[1];
3347 nd->nd_repstat = nfsrv_delegupdate(nd, clientid, &stateid, vp,
3385 nfsv4stateid_t stateid;
3415 nd->nd_repstat = nfsrv_openupdate(vp, stp, clientid, &stateid, nd, p,
3419 *tl++ = txdr_unsigned(stateid.seqid);
3420 NFSBCOPY((caddr_t)stateid.other,(caddr_t)tl,NFSX_STATEIDOTHER);
3439 nfsv4stateid_t stateid;
3457 * For the special stateid of other all 0s and seqid == 1, set the
3458 * stateid to the current stateid, if it is set.
3520 nd->nd_repstat = nfsrv_openupdate(vp, stp, clientid, &stateid,
3525 nd->nd_curstateid = stateid;
3529 *tl++ = txdr_unsigned(stateid.seqid);
3530 NFSBCOPY((caddr_t)stateid.other,(caddr_t)tl,NFSX_STATEIDOTHER);
4434 * nfsv4 free stateid service
4441 nfsv4stateid_t stateid;
4449 stateid.seqid = fxdr_unsigned(uint32_t, *tl++);
4450 NFSBCOPY(tl, stateid.other, NFSX_STATEIDOTHER);
4453 * For the special stateid of other all 0s and seqid == 1, set the
4454 * stateid to the current stateid, if it is set.
4456 if (stateid.seqid == 1 && stateid.other[0] == 0 &&
4457 stateid.other[1] == 0 && stateid.other[2] == 0) {
4459 stateid = nd->nd_curstateid;
4460 stateid.seqid = 0;
4467 nd->nd_repstat = nfsrv_freestateid(nd, &stateid, p);
4469 /* If the current stateid has been free'd, unset it. */
4471 stateid.other[0] == nd->nd_curstateid.other[0] &&
4472 stateid.other[1] == nd->nd_curstateid.other[1] &&
4473 stateid.other[2] == nd->nd_curstateid.other[2])
4488 nfsv4stateid_t stateid;
4505 stateid.seqid = fxdr_unsigned(uint32_t, *tl++);
4506 NFSBCOPY(tl, stateid.other, NFSX_STATEIDOTHER);
4520 * For the special stateid of other all 0s and seqid == 1, set the
4521 * stateid to the current stateid, if it is set.
4523 if (stateid.seqid == 1 && stateid.other[0] == 0 &&
4524 stateid.other[1] == 0 && stateid.other[2] == 0) {
4526 stateid = nd->nd_curstateid;
4527 stateid.seqid = 0;
4544 &iomode, &offset, &len, minlen, &stateid, maxcnt,
4551 nd->nd_curstateid = stateid;
4557 *tl++ = txdr_unsigned(stateid.seqid);
4558 NFSBCOPY(stateid.other, tl, NFSX_STATEIDOTHER);
4585 nfsv4stateid_t stateid;
4602 stateid.seqid = fxdr_unsigned(uint32_t, *tl++);
4603 NFSBCOPY(tl, stateid.other, NFSX_STATEIDOTHER);
4606 * For the special stateid of other all 0s and seqid == 1, set the
4607 * stateid to the current stateid, if it is set.
4609 if (stateid.seqid == 1 && stateid.other[0] == 0 &&
4610 stateid.other[1] == 0 && stateid.other[2] == 0) {
4612 stateid = nd->nd_curstateid;
4613 stateid.seqid = 0;
4642 newoff, offset, len, hasnewmtime, &newmtime, reclaim, &stateid,
4670 nfsv4stateid_t stateid;
4691 stateid.seqid = fxdr_unsigned(uint32_t, *tl++);
4692 NFSBCOPY(tl, stateid.other, NFSX_STATEIDOTHER);
4696 * For the special stateid of other all 0s and seqid == 1, set
4697 * the stateid to the current stateid, if it is set.
4699 if (stateid.seqid == 1 && stateid.other[0] == 0 &&
4700 stateid.other[1] == 0 && stateid.other[2] == 0) {
4702 stateid = nd->nd_curstateid;
4703 stateid.seqid = 0;
4726 offset, len, reclaim, kind, &stateid, maxcnt, layp, &fnd,
4735 *tl++ = txdr_unsigned(stateid.seqid);
4736 NFSBCOPY(stateid.other, tl, NFSX_STATEIDOTHER);
4820 * nfsv4 test stateid service