/illumos-gate/usr/src/head/rpcsvc/ |
H A D | nfs4_prot.x | 143 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 D | snoop_nfs4.c | 1253 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 D | nfs4_xdr.c | 1681 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 D | nfs4_kprot.h | 1003 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 D | nfs4.h | 208 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 D | nfs4_srv_deleg.c | 864 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 D | nfs4_state.c | 2725 * 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 D | nfs4_xdr.c | 3159 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 D | nfs4_srv.c | 95 * 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 D | nfs4_client_state.c | 401 * 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 D | nfs4_callback.c | 424 * 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 D | nfs4_vnops.c | 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_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...] |