Searched refs:stateid (Results 1 - 12 of 12) sorted by relevance

/illumos-gate/usr/src/head/rpcsvc/
H A Dnfs4_prot.x143 NFS4ERR_BAD_STATEID = 10025,/* incorrect stateid */
984 stateid4 stateid; /* Stateid for delegation */
995 stateid4 stateid; /* Stateid for delegation */
1034 stateid4 stateid; /* Stateid for open */
1117 stateid4 stateid;
1272 stateid4 stateid;
1327 stateid4 stateid;
1542 stateid4 stateid;
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_nfs4.c1253 special_stateid(stateid4 *stateid) argument
1256 if (! memcmp(stateid, &spec_stateid_0, sizeof (*stateid)))
1259 if (! memcmp(stateid, &spec_stateid_1, sizeof (*stateid)))
1266 _sum_stateid(stateid4 *stateid, char *prefix) argument
1271 if ((spec = special_stateid(stateid)) < 0)
1273 stateid_hash(stateid), stateid->seqid);
1281 _detail_stateid(stateid4 *stateid, cha argument
[all...]
H A Dnfs4_xdr.c1681 if (!xdr_stateid4(xdrs, &objp->stateid))
1694 if (!xdr_stateid4(xdrs, &objp->stateid))
1734 if (!xdr_stateid4(xdrs, &objp->stateid))
1896 if (!xdr_stateid4(xdrs, &objp->stateid))
2265 if (!xdr_stateid4(xdrs, &objp->stateid))
2379 if (!xdr_stateid4(xdrs, &objp->stateid))
2391 * displayed (write stateid).
2866 if (!xdr_stateid4(xdrs, &objp->stateid))
/illumos-gate/usr/src/uts/common/nfs/
H A Dnfs4_kprot.h1003 stateid4 stateid; member in struct:open_read_delegation4
1010 stateid4 stateid; member in struct:open_write_delegation4
1030 stateid4 stateid; member in struct:OPEN4res
1105 stateid4 stateid; member in struct:READ4args
1265 stateid4 stateid; member in struct:SETATTR4args
1332 stateid4 stateid; member in struct:WRITE4args
1572 stateid4 stateid; member in struct:CB_RECALL4args
H A Dnfs4.h208 stateid4 stateid; member in union:__anon607
235 * handling requests for the same open owner or lock stateid. This
237 * replay cache and stateid at a time.
441 * stateid
443 * rfs4_lo_state_tab rfs4_lo_state_t lockowner | stateid
570 * stateid - server provided stateid
615 * lockid - stateid for this lockowner/state
621 * ls_sw - used to serialize update seqid/reply/stateid handling
644 * delegid - stateid fo
[all...]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv_deleg.c864 bcopy(&dsp->rds_delegid.stateid, &rec_argp->stateid, sizeof (stateid4));
1409 rp->stateid = dsp->rds_delegid.stateid;
1415 wp->stateid = dsp->rds_delegid.stateid;
H A Dnfs4_state.c2725 * Returns TRUE if the embedded nodeid indicates that this stateid was
2812 /* release any share locks for this stateid if it's still open */
3255 * This is used when a stateid has not been found amongst the
3256 * current server's state. Check the stateid to see if it
3262 /* If we are booted as a cluster node, was stateid locally generated? */
3277 * case of a delegation stateid. For delegations, there is a
3282 * DELEGRETURN or even a READ/WRITE with a delegatoin stateid
3303 rfs4_get_state_lockit(stateid4 *stateid, rfs4_state_t **spp, argument
3306 stateid_t *id = (stateid_t *)stateid;
3311 /* If we are booted as a cluster node, was stateid locall
3334 rfs4_get_state(stateid4 *stateid, rfs4_state_t **spp, rfs4_dbsearch_type_t find_invalid) argument
3341 rfs4_check_stateid_seqid(rfs4_state_t *sp, stateid4 *stateid) argument
3370 rfs4_check_lo_stateid_seqid(rfs4_lo_state_t *lsp, stateid4 *stateid) argument
3395 rfs4_get_deleg_state(stateid4 *stateid, rfs4_deleg_state_t **dspp) argument
3422 rfs4_get_lo_state(stateid4 *stateid, rfs4_lo_state_t **lspp, bool_t lock_fp) argument
3559 rfs4_check_stateid(int mode, vnode_t *vp, stateid4 *stateid, bool_t trunc, bool_t *deleg, bool_t do_access, caller_context_t *ct) argument
[all...]
H A Dnfs4_xdr.c3159 if (!xdr_u_int(xdrs, &objp->stateid.seqid))
3161 if (!xdr_opaque(xdrs, objp->stateid.other, NFS4_OTHER_SIZE))
3182 open_delegation4_u.read.stateid.seqid))
3185 open_delegation4_u.read.stateid.other,
3195 open_delegation4_u.write.stateid.seqid))
3198 open_delegation4_u.write.stateid.other,
3311 if (!xdr_u_int(xdrs, &objp->stateid.seqid))
3313 if (!xdr_opaque(xdrs, objp->stateid.other, NFS4_OTHER_SIZE))
3871 if (!xdr_u_int(xdrs, &objp->stateid.seqid))
3873 if (!xdr_opaque(xdrs, objp->stateid
[all...]
H A Dnfs4_srv.c95 * Used to bump the stateid4.seqid value and show changes in the stateid
3168 if ((stat = rfs4_check_stateid(FREAD, vp, &args->stateid, FALSE,
3879 * A client using lock after the lock owner stateid has been released
5127 stateid4 *stateid)
5187 /* Check stateid only if size has been set */
5190 status = rfs4_check_stateid(FWRITE, cs->vp, stateid,
5406 &args->stateid);
5578 if ((stat = rfs4_check_stateid(FWRITE, vp, &args->stateid, FALSE,
6913 resp->stateid = sp->rs_stateid.stateid;
5126 do_rfs4_op_setattr(bitmap4 *resp, fattr4 *fattrp, struct compound_state *cs, stateid4 *stateid) argument
7035 stateid4 stateid = local
8797 stateid4 *stateid; local
9221 stateid4 *stateid = &args->lock_stateid; local
[all...]
H A Dnfs4_client_state.c401 * LOWN_VALID_STATEID, require that the lock owner contain a valid stateid
448 * This returns the delegation stateid as 'sid'. Returns 1 if a successful
449 * delegation stateid was found, otherwise returns 0.
471 * This returns the lock stateid as 'sid'. Returns 1 if a successful lock
472 * stateid was found, otherwise returns 0.
484 * stateid rather than an open stateid.
499 * This returns the open stateid as 'sid'. Returns 1 if a successful open
500 * stateid was found, otherwise returns 0.
502 * Once the stateid i
652 nfs4_set_lock_stateid(nfs4_lock_owner_t *lop, stateid4 stateid) argument
[all...]
H A Dnfs4_callback.c424 * AND stateid; mutex on sp prevents the list from changing.
433 if ((bcmp(&rp->r_deleg_stateid, &args->stateid,
446 CB_WARN("cb_recall: stateid OK, bad fh");
451 if (bcmp(&args->stateid, &nfs4_deleg_any,
476 CB_WARN("cb_recall: bad stateid\n");
2204 rp->r_deleg_stateid = orp->stateid;
2219 rp->r_deleg_stateid = owp->stateid;
H A Dnfs4_vnops.c504 * 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_ot
3798 stateid4 stateid; local
12720 nfs4open_confirm(vnode_t *vp, seqid4 *seqid, stateid4 *stateid, cred_t *cr, bool_t reopening_file, bool_t *retry_open, nfs4_open_owner_t *oop, bool_t resend, nfs4_error_t *ep, int *num_bseqid_retryp) argument
[all...]

Completed in 152 milliseconds