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

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/nfs/
H A Ddelegation.h19 nfs4_stateid stateid; member in struct:nfs_delegation
30 int nfs_async_inode_return_delegation(struct inode *inode, const nfs4_stateid *stateid);
41 int nfs4_proc_delegreturn(struct inode *inode, struct rpc_cred *cred, const nfs4_stateid *stateid);
H A Ddelegation.c97 memcpy(delegation->stateid.data, res->delegation.data,
98 sizeof(delegation->stateid.data));
125 memcpy(delegation->stateid.data, res->delegation.data,
126 sizeof(delegation->stateid.data));
140 if (memcmp(&delegation->stateid, &nfsi->delegation->stateid,
141 sizeof(delegation->stateid)) != 0 ||
157 res = nfs4_proc_delegreturn(inode, delegation->cred, &delegation->stateid);
299 const nfs4_stateid *stateid; member in struct:recall_threadargs
320 if (delegation != NULL && memcmp(delegation->stateid
347 nfs_async_inode_return_delegation(struct inode *inode, const nfs4_stateid *stateid) argument
[all...]
H A Dcallback.h58 nfs4_stateid stateid; member in struct:cb_recallargs
H A Dcallback_proc.c72 switch(nfs_async_inode_return_delegation(inode, &args->stateid)) {
H A Dnfs4proc.c275 p->c_arg.stateid = &p->o_res.stateid;
333 static void update_open_stateid(struct nfs4_state *state, nfs4_stateid *stateid, int open_flags) argument
341 memcpy(&state->stateid, stateid, sizeof(state->stateid));
361 update_open_stateid(state, &data->o_res.stateid, data->o_arg.open_flags);
385 static int nfs4_open_recover_helper(struct nfs4_opendata *opendata, mode_t openflags, nfs4_stateid *stateid) argument
393 memcpy(stateid->data, opendata->o_res.stateid
400 nfs4_stateid stateid; local
2874 nfs4_stateid stateid; member in struct:nfs4_delegreturndata
2916 _nfs4_proc_delegreturn(struct inode *inode, struct rpc_cred *cred, const nfs4_stateid *stateid) argument
2950 nfs4_proc_delegreturn(struct inode *inode, struct rpc_cred *cred, const nfs4_stateid *stateid) argument
[all...]
H A Dnfs4_fs.h101 * LOCK: one nfs4_state (LOCK) to hold the lock stateid nfs4_state(OPEN)
133 nfs4_stateid stateid; member in struct:nfs4_state
H A Dnfs4xdr.c651 WRITEMEM(arg->stateid->data, NFS4_STATEID_SIZE);
836 WRITEMEM(args->stateid->data, NFS4_STATEID_SIZE);
964 static inline void encode_claim_delegate_cur(struct xdr_stream *xdr, const struct qstr *name, const nfs4_stateid *stateid) argument
970 WRITEMEM(stateid->data, NFS4_STATEID_SIZE);
1000 WRITEMEM(arg->stateid->data, NFS4_STATEID_SIZE);
1012 WRITEMEM(arg->stateid->data, NFS4_STATEID_SIZE);
1044 nfs4_stateid stateid; local
1049 nfs4_copy_stateid(&stateid, ctx->state, ctx->lockowner);
1050 WRITEMEM(stateid.data, NFS4_STATEID_SIZE);
1224 WRITEMEM(arg->stateid
1282 encode_delegreturn(struct xdr_stream *xdr, const nfs4_stateid *stateid) argument
[all...]
H A Dcallback_xdr.c121 static __be32 decode_stateid(struct xdr_stream *xdr, nfs4_stateid *stateid) argument
128 memcpy(stateid->data, p, 16);
192 status = decode_stateid(xdr, &args->stateid);
H A Dnfs4state.c510 * Byte-range lock aware utility to initialize the stateid of read/write
517 memcpy(dst, &state->stateid, sizeof(*dst));
730 * All we can do is revert to using the zero stateid.
732 memset(state->stateid.data, 0,
733 sizeof(state->stateid.data));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/nfsd/
H A Dstate.h148 update_stateid(stateid_t *stateid) argument
150 stateid->si_generation++;
155 * 4(status) + 8(stateid) + 20(changeinfo) + 4(rflags) + 8(verifier) +
156 * 4(deleg. type) + 8(deleg. stateid) + 4(deleg. recall flag) +
261 stateid_t *stateid, int flags, struct file **filp);
H A Dxdr4.h150 stateid_t stateid; member in struct:nfsd4_lock::__anon10220::__anon10221
167 #define lk_resp_stateid u.ok.stateid
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dnfs_xdr.h136 nfs4_stateid stateid; member in struct:nfs_openres
154 nfs4_stateid * stateid; member in struct:nfs_open_confirmargs
159 nfs4_stateid stateid; member in struct:nfs_open_confirmres
167 nfs4_stateid * stateid; member in struct:nfs_closeargs
174 nfs4_stateid stateid; member in struct:nfs_closeres
200 nfs4_stateid stateid; member in struct:nfs_lock_res
207 nfs4_stateid * stateid; member in struct:nfs_locku_args
211 nfs4_stateid stateid; member in struct:nfs_locku_res
226 const nfs4_stateid *stateid; member in struct:nfs4_delegreturnargs
325 nfs4_stateid stateid; member in struct:nfs_setattrargs
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/nfsd/
H A Dnfs4state.c70 #define ZERO_STATEID(stateid) (!memcmp((stateid), &zerostateid, sizeof(stateid_t)))
71 #define ONE_STATEID(stateid) (!memcmp((stateid), &onestateid, sizeof(stateid_t)))
1267 * Called to check deny when READ with all zero stateid or
1268 * WRITE with all zero or all one stateid
1709 dprintk("NFSD: delegation stateid=(%08x/%08x/%08x/%08x)\n\n",
1739 * Lookup file; if found, lookup stateid and check open request,
1797 dprintk("nfs4_process_open2: stateid=(%08x/%08x/%08x/%08x)\n",
1957 STALE_STATEID(stateid_t *stateid) argument
1997 check_special_stateids(svc_fh *current_fh, stateid_t *stateid, int flags) argument
2031 nfs4_preprocess_stateid_op(struct svc_fh *current_fh, stateid_t *stateid, int flags, struct file **filpp) argument
2113 nfs4_preprocess_seqid_op(struct svc_fh *current_fh, u32 seqid, stateid_t *stateid, int flags, struct nfs4_stateowner **sopp, struct nfs4_stateid **stpp, struct nfsd4_lock *lock) argument
[all...]
H A Dnfs4proc.c511 /* check stateid */
515 dprintk("NFSD: nfsd4_read: couldn't process stateid!\n");
625 dprintk("NFSD: nfsd4_setattr: couldn't process stateid!\n");
644 stateid_t *stateid = &write->wr_stateid; local
655 status = nfs4_preprocess_stateid_op(&cstate->current_fh, stateid,
662 dprintk("NFSD: nfsd4_write: couldn't process stateid!\n");

Completed in 174 milliseconds