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

/opensolaris-onvv-gate/usr/src/head/rpcsvc/
H A Dnfs4_prot.x110 NFS4ERR_BAD_STATEID = 10025,/* incorrect stateid */
981 stateid4 stateid; /* Stateid for delegation*/
992 stateid4 stateid; /* Stateid for delegation */
1028 stateid4 stateid; /* Stateid for open */
1132 stateid4 stateid;
1315 stateid4 stateid;
1379 stateid4 stateid;
1602 stateid4 stateid;
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_nfs4.c1248 special_stateid(stateid4 *stateid) argument
1251 if (! memcmp(stateid, &spec_stateid_0, sizeof (*stateid)))
1254 if (! memcmp(stateid, &spec_stateid_1, sizeof (*stateid)))
1261 _sum_stateid(stateid4 *stateid, char *prefix) argument
1266 if ((spec = special_stateid(stateid)) < 0)
1268 stateid_hash(stateid), stateid->seqid);
1276 _detail_stateid(stateid4 *stateid, cha argument
[all...]
H A Dnfs4_xdr.c1668 if (!xdr_stateid4(xdrs, &objp->stateid))
1681 if (!xdr_stateid4(xdrs, &objp->stateid))
1721 if (!xdr_stateid4(xdrs, &objp->stateid))
1883 if (!xdr_stateid4(xdrs, &objp->stateid))
2253 if (!xdr_stateid4(xdrs, &objp->stateid))
2367 if (!xdr_stateid4(xdrs, &objp->stateid))
2379 * displayed (write stateid).
2854 if (!xdr_stateid4(xdrs, &objp->stateid))
/opensolaris-onvv-gate/usr/src/uts/common/nfs/
H A Dnfs4_kprot.h994 stateid4 stateid; member in struct:open_read_delegation4
1001 stateid4 stateid; member in struct:open_write_delegation4
1021 stateid4 stateid; member in struct:OPEN4res
1096 stateid4 stateid; member in struct:READ4args
1256 stateid4 stateid; member in struct:SETATTR4args
1323 stateid4 stateid; member in struct:WRITE4args
1563 stateid4 stateid; member in struct:CB_RECALL4args
H A Dnfs4.h193 stateid4 stateid; member in union:__anon6880
220 * handling requests for the same open owner or lock stateid. This
222 * replay cache and stateid at a time.
426 * stateid
428 * rfs4_lo_state_tab rfs4_lo_state_t lockowner | stateid
555 * stateid - server provided stateid
600 * lockid - stateid for this lockowner/state
606 * ls_sw - used to serialize update seqid/reply/stateid handling
629 * delegid - stateid fo
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv_deleg.c878 bcopy(&dsp->rds_delegid.stateid, &rec_argp->stateid, sizeof (stateid4));
1423 rp->stateid = dsp->rds_delegid.stateid;
1429 wp->stateid = dsp->rds_delegid.stateid;
H A Dnfs4_state.c2728 * Returns TRUE if the embedded nodeid indicates that this stateid was
2815 /* release any share locks for this stateid if it's still open */
3258 * This is used when a stateid has not been found amongst the
3259 * current server's state. Check the stateid to see if it
3265 /* If we are booted as a cluster node, was stateid locally generated? */
3280 * case of a delegation stateid. For delegations, there is a
3285 * DELEGRETURN or even a READ/WRITE with a delegatoin stateid
3306 rfs4_get_state_lockit(stateid4 *stateid, rfs4_state_t **spp, argument
3309 stateid_t *id = (stateid_t *)stateid;
3314 /* If we are booted as a cluster node, was stateid locall
3337 rfs4_get_state(stateid4 *stateid, rfs4_state_t **spp, rfs4_dbsearch_type_t find_invalid) argument
3344 rfs4_check_stateid_seqid(rfs4_state_t *sp, stateid4 *stateid) argument
3373 rfs4_check_lo_stateid_seqid(rfs4_lo_state_t *lsp, stateid4 *stateid) argument
3398 rfs4_get_deleg_state(stateid4 *stateid, rfs4_deleg_state_t **dspp) argument
3425 rfs4_get_lo_state(stateid4 *stateid, rfs4_lo_state_t **lspp, bool_t lock_fp) argument
3562 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.c3151 if (!xdr_u_int(xdrs, &objp->stateid.seqid))
3153 if (!xdr_opaque(xdrs, objp->stateid.other, 12))
3174 open_delegation4_u.read.stateid.seqid))
3177 open_delegation4_u.read.stateid.other,
3187 open_delegation4_u.write.stateid.seqid))
3190 open_delegation4_u.write.stateid.other,
3303 if (!xdr_u_int(xdrs, &objp->stateid.seqid))
3305 if (!xdr_opaque(xdrs, objp->stateid.other, 12))
3865 if (!xdr_u_int(xdrs, &objp->stateid.seqid))
3867 if (!xdr_opaque(xdrs, objp->stateid
[all...]
H A Dnfs4_srv.c92 * Used to bump the stateid4.seqid value and show changes in the stateid
3159 if ((stat = rfs4_check_stateid(FREAD, vp, &args->stateid, FALSE,
3179 if ((stat = rfs4_check_stateid(FREAD, vp, &args->stateid, FALSE,
3909 * A client using lock after the lock owner stateid has been released
5152 stateid4 *stateid)
5212 /* Check stateid only if size has been set */
5215 status = rfs4_check_stateid(FWRITE, cs->vp, stateid,
5431 &args->stateid);
5603 if ((stat = rfs4_check_stateid(FWRITE, vp, &args->stateid, FALSE,
6931 resp->stateid
5151 do_rfs4_op_setattr(bitmap4 *resp, fattr4 *fattrp, struct compound_state *cs, stateid4 *stateid) argument
7053 stateid4 stateid = local
8708 stateid4 *stateid; local
9132 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");
2203 rp->r_deleg_stateid = orp->stateid;
2218 rp->r_deleg_stateid = owp->stateid;
H A Dnfs4_vnops.c491 * The stateid is set to 0 if client is not modifying the size
504 argop->nfs_argop4_u.opsetattr.stateid =
508 bzero(&argop->nfs_argop4_u.opsetattr.stateid,
572 wargs->stateid = nfs4_get_w_stateid(cr, rp, curproc->p_pidp->pid_id,
1121 * AT_XTIME, so no need for stateid or flags.
1295 * The open stateid has been updated on the server but not
1298 * WRITE call. That, however, will use the old stateid, so go ahead
1299 * and upate the open stateid now, before any call to makenfs4node.
1307 tmp_osp->open_stateid = op_res->stateid;
1380 nfs4open_confirm(vp, &seqid, &op_res->stateid, cred_ot
3769 stateid4 stateid; local
12693 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 310 milliseconds