Lines Matching refs:seqid

114 static int nfsrv_checkseqid(struct nfsrv_descript *nd, u_int32_t seqid,
924 ldumpp[cnt].ndlck_stateid.seqid = stp->ls_stateid.seqid;
958 ldumpp[cnt].ndlck_stateid.seqid = stp->ls_stateid.seqid;
987 ldumpp[cnt].ndlck_stateid.seqid = stp->ls_stateid.seqid;
1510 if (new_stp->ls_stateid.seqid == 0x0 &&
1515 else if (new_stp->ls_stateid.seqid == 0xffffffff &&
1555 * check against the stateid, before incrementing the seqid#, since
1556 * we want to return NFSERR_BADSTATEID on failure and the seqid#
1660 * If haslock set, we've already checked the seqid.
1697 * If the seqid part of the stateid isn't the same, return
1706 if (!error && stp->ls_stateid.seqid!=new_stp->ls_stateid.seqid &&
1711 new_stp->ls_stateid.seqid != 0)))
1732 * seqid# has been updated, so we can return any error.
1966 stateidp->seqid = ++(stp->ls_stateid.seqid);
1967 if ((nd->nd_flag & ND_NFSV41) != 0 && stateidp->seqid == 0)
1968 stateidp->seqid = stp->ls_stateid.seqid = 1;
2075 stateidp->seqid = ++(lckstp->ls_stateid.seqid);
2076 if ((nd->nd_flag & ND_NFSV41) != 0 && stateidp->seqid == 0)
2077 stateidp->seqid = lckstp->ls_stateid.seqid = 1;
2088 stateidp->seqid = new_stp->ls_stateid.seqid = 1;
2271 stateidp->seqid == 0) ||
2272 stateidp->seqid == stp->ls_stateid.seqid) &&
2405 * the seqid# has already been incremented.
2530 stateidp->seqid == 0) ||
2531 stateidp->seqid == stp->ls_stateid.seqid) &&
2696 stp->ls_stateid.seqid = delegstateidp->seqid = 1;
2717 new_open->ls_stateid.seqid = 1;
2782 new_deleg->ls_stateid.seqid = delegstateidp->seqid = 1;
2821 new_open->ls_stateid.seqid = 1;
2876 stp->ls_stateid.seqid = 1;
2886 openstp->ls_stateid.seqid++;
2888 openstp->ls_stateid.seqid == 0)
2889 openstp->ls_stateid.seqid = 1;
2908 new_deleg->ls_stateid.seqid = delegstateidp->seqid = 1;
2933 new_open->ls_stateid.seqid = 1;
2967 new_deleg->ls_stateid.seqid = delegstateidp->seqid = 1;
3006 new_open->ls_stateid.seqid = 1;
3035 new_deleg->ls_stateid.seqid =
3036 delegstateidp->seqid = 1;
3098 stateidp->seqid = openstp->ls_stateid.seqid;
3164 if (!error && stp->ls_stateid.seqid != new_stp->ls_stateid.seqid &&
3168 new_stp->ls_stateid.seqid != 0)))
3180 * seqid# and there are no byte range locks or other Opens
3195 stateidp->seqid = stp->ls_stateid.seqid + 1;
3196 if ((nd->nd_flag & ND_NFSV41) != 0 && stateidp->seqid == 0)
3197 stateidp->seqid = 1;
3212 stp->ls_stateid.seqid++;
3214 stp->ls_stateid.seqid == 0)
3215 stp->ls_stateid.seqid = 1;
3251 stp->ls_stateid.seqid++;
3253 stp->ls_stateid.seqid == 0)
3254 stp->ls_stateid.seqid = 1;
3318 if (!error && stp->ls_stateid.seqid != stateidp->seqid &&
3319 ((nd->nd_flag & ND_NFSV41) == 0 || stateidp->seqid != 0))
3691 nfsrv_checkseqid(struct nfsrv_descript *nd, u_int32_t seqid,
3707 if ((stp->ls_seq + 1) == seqid) {
3712 stp->ls_seq = seqid;
3714 } else if (stp->ls_seq == seqid && stp->ls_op &&
3910 * not use a lock/open owner seqid#, so the check can be done now.
4047 *tl++ = txdr_unsigned(stateidp->seqid);
5099 stp->ls_stateid.seqid = stateidp->seqid;