Lines Matching refs:stateid

504 	 * The stateid is set to 0 if client is not modifying the size
517 argop->nfs_argop4_u.opsetattr.stateid =
521 bzero(&argop->nfs_argop4_u.opsetattr.stateid,
585 wargs->stateid = nfs4_get_w_stateid(cr, rp, curproc->p_pidp->pid_id,
1134 * AT_XTIME, so no need for stateid or flags.
1308 * The open stateid has been updated on the server but not
1311 * WRITE call. That, however, will use the old stateid, so go ahead
1312 * and upate the open stateid now, before any call to makenfs4node.
1320 tmp_osp->open_stateid = op_res->stateid;
1393 nfs4open_confirm(vp, &seqid, &op_res->stateid, cred_otw, FALSE,
1484 osp->open_stateid = op_res->stateid;
1744 * the delegation stateid in the open stream. Otherwise, proceed
2147 nfs4open_confirm(vp, &seqid, &op_res->stateid,
2161 osp->open_stateid = op_res->stateid;
3260 * If write receives a BAD stateid error while using a
3261 * delegation stateid, retry using the open stateid (if it
3262 * exists). If it doesn't have an open stateid, reopen the
3267 nfs4_save_stateid(&wargs->stateid, &sid_types);
3275 nfs4_save_stateid(&wargs->stateid, &sid_types);
3306 VTOMI4(vp), vp, NULL, &wargs->stateid,
3448 rargs->stateid = nfs4_get_stateid(cr, rp, curproc->p_pidp->pid_id, mi,
3506 * Do proper retry for OLD and BAD stateid errors outside
3511 * attempt with a special stateid for sync reads, but just
3514 * If a sync read receives a BAD stateid error while using a
3515 * delegation stateid, retry using the open stateid (if it
3516 * exists). If it doesn't have an open stateid, reopen the
3528 nfs4_save_stateid(&rargs->stateid, &sid_types);
3533 nfs4_save_stateid(&rargs->stateid, &sid_types);
3540 nfs4_save_stateid(&rargs->stateid, &sid_types);
3566 mi, vp, NULL, &rargs->stateid,
3572 * stateid. This avoids looping with a broken server.
3581 * case the recovery error wasn't stateid
3798 stateid4 stateid;
3895 stateid = argop[setattr_argop].nfs_argop4_u.opsetattr.stateid;
4003 nfs4_save_stateid(&stateid, &sid_types);
4024 * a special stateid. This is done to avoid looping
4049 * case the recovery error wasn't stateid
7004 * so no need for stateid or flags. Also we specify NULL
12720 nfs4open_confirm(vnode_t *vp, seqid4 *seqid, stateid4 *stateid, cred_t *cr,
12761 open_confirm_args->open_stateid = *stateid;
12822 stateid, sizeof (*stateid));
13368 * Get the lock owner stateid. If no lock owner
13383 * If the lockowner is using a special stateid,
13983 /* update the stateid with server's response */
13995 * request, we've synched up the stateid and seqid
14015 /* Update the stateid with the server's response */
15348 * stateid could be stale, potentially triggering a false
15390 * osp->open_stateid is really a delegation stateid
15479 * stateid of the open stream is invalid/stale, and