| /linux/fs/nfs/ |
| H A D | delegation.c | 60 delegation->stateid.type = NFS4_INVALID_STATEID_TYPE; in nfs_mark_delegation_revoked() 173 static int nfs_delegation_claim_locks(struct nfs4_state *state, const nfs4_stateid *stateid) in nfs_delegation_claim_locks() argument 195 status = nfs4_lock_delegation_recall(fl, state, stateid); in nfs_delegation_claim_locks() 213 const nfs4_stateid *stateid, fmode_t type) in nfs_delegation_claim_opens() argument 231 if (!nfs4_stateid_match(&state->stateid, stateid)) in nfs_delegation_claim_opens() 239 err = nfs4_open_delegation_recall(ctx, state, stateid); in nfs_delegation_claim_opens() 241 err = nfs_delegation_claim_locks(state, stateid); in nfs_delegation_claim_opens() 257 * @stateid: delegation stateid 263 nfs_inode_reclaim_delegation(struct inode * inode,const struct cred * cred,fmode_t type,const nfs4_stateid * stateid,unsigned long pagemod_limit,u32 deleg_type) nfs_inode_reclaim_delegation() argument 442 nfs_inode_set_delegation(struct inode * inode,const struct cred * cred,fmode_t type,const nfs4_stateid * stateid,unsigned long pagemod_limit,u32 deleg_type) nfs_inode_set_delegation() argument 1036 nfs_revoke_delegation(struct inode * inode,const nfs4_stateid * stateid) nfs_revoke_delegation() argument 1071 nfs_delegation_mark_returned(struct inode * inode,const nfs4_stateid * stateid) nfs_delegation_mark_returned() argument 1120 nfs_remove_bad_delegation(struct inode * inode,const nfs4_stateid * stateid) nfs_remove_bad_delegation() argument 1175 nfs_async_inode_return_delegation(struct inode * inode,const nfs4_stateid * stateid) nfs_async_inode_return_delegation() argument 1406 nfs_delegation_test_free_expired(struct inode * inode,nfs4_stateid * stateid,const struct cred * cred) nfs_delegation_test_free_expired() argument 1426 nfs4_stateid stateid; nfs_server_reap_expired_delegations() local 1485 nfs_inode_find_delegation_state_and_recover(struct inode * inode,const nfs4_stateid * stateid) nfs_inode_find_delegation_state_and_recover() argument [all...] |
| H A D | nfs4proc.c | 425 nfs4_stateid *stateid, in nfs4_test_and_free_stateid() argument 430 ops->test_and_free_expired(server, stateid, cred); in nfs4_test_and_free_stateid() 434 nfs4_stateid *stateid, in __nfs4_free_revoked_stateid() argument 437 stateid->type = NFS4_REVOKED_STATEID_TYPE; in __nfs4_free_revoked_stateid() 438 nfs4_test_and_free_stateid(server, stateid, cred); in __nfs4_free_revoked_stateid() 442 const nfs4_stateid *stateid, in nfs4_free_revoked_stateid() argument 447 nfs4_stateid_copy(&tmp, stateid); in nfs4_free_revoked_stateid() 499 nfs4_recoverable_stateid(const nfs4_stateid *stateid) in nfs4_recoverable_stateid() argument 501 if (!stateid) in nfs4_recoverable_stateid() 503 switch (stateid in nfs4_recoverable_stateid() 522 const nfs4_stateid *stateid; nfs4_do_handle_exception() local 1550 can_open_delegated(const struct inode * inode,fmode_t fmode,enum open_claim_type4 claim,nfs4_stateid * stateid) can_open_delegated() argument 1641 nfs_stateid_is_sequential(struct nfs4_state * state,const nfs4_stateid * stateid) nfs_stateid_is_sequential() argument 1672 nfs_clear_open_stateid_locked(struct nfs4_state * state,nfs4_stateid * stateid,fmode_t fmode) nfs_clear_open_stateid_locked() argument 1705 nfs_clear_open_stateid(struct nfs4_state * state,nfs4_stateid * arg_stateid,nfs4_stateid * stateid,fmode_t fmode) nfs_clear_open_stateid() argument 1717 nfs_set_open_stateid_locked(struct nfs4_state * state,const nfs4_stateid * stateid,nfs4_stateid * freeme) nfs_set_open_stateid_locked() argument 1896 nfs4_update_lock_stateid(struct nfs4_lock_state * lsp,const nfs4_stateid * stateid) nfs4_update_lock_stateid() argument 1932 nfs4_stateid stateid; nfs4_try_open_cached() local 2307 nfs4_handle_delegation_recall_error(struct nfs_server * server,struct nfs4_state * state,const nfs4_stateid * stateid,struct file_lock * fl,int err) nfs4_handle_delegation_recall_error() argument 2363 nfs4_open_delegation_recall(struct nfs_open_context * ctx,struct nfs4_state * state,const nfs4_stateid * stateid) nfs4_open_delegation_recall() argument 2838 nfs_finish_clear_delegation_stateid(struct nfs4_state * state,const nfs4_stateid * stateid) nfs_finish_clear_delegation_stateid() argument 2845 nfs41_test_and_free_expired_stateid(struct nfs_server * server,nfs4_stateid * stateid,const struct cred * cred) nfs41_test_and_free_expired_stateid() argument 2878 nfs4_stateid stateid; nfs41_check_delegation_stateid() local 2993 nfs4_stateid *stateid = &state->open_stateid; nfs41_check_open_stateid() local 5613 nfs4_set_rw_stateid(nfs4_stateid * stateid,const struct nfs_open_context * ctx,const struct nfs_lock_context * l_ctx,fmode_t fmode) nfs4_set_rw_stateid() argument 5622 nfs4_stateid_is_current(nfs4_stateid * stateid,const struct nfs_open_context * ctx,const struct nfs_lock_context * l_ctx,fmode_t fmode) nfs4_stateid_is_current() argument 6713 nfs4_stateid stateid; global() member 6868 _nfs4_proc_delegreturn(struct inode * inode,const struct cred * cred,const nfs4_stateid * stateid,struct nfs_delegation * delegation,int issync) _nfs4_proc_delegreturn() argument 6957 nfs4_proc_delegreturn(struct inode * inode,const struct cred * cred,const nfs4_stateid * stateid,struct nfs_delegation * delegation,int issync) nfs4_proc_delegreturn() argument 7849 nfs4_lock_delegation_recall(struct file_lock * fl,struct nfs4_state * state,const nfs4_stateid * stateid) nfs4_lock_delegation_recall() argument 10316 _nfs41_test_stateid(struct nfs_server * server,const nfs4_stateid * stateid,const struct cred * cred) _nfs41_test_stateid() argument 10377 nfs41_test_stateid(struct nfs_server * server,const nfs4_stateid * stateid,const struct cred * cred) nfs41_test_stateid() argument 10446 nfs41_free_stateid(struct nfs_server * server,nfs4_stateid * stateid,const struct cred * cred,bool privileged) nfs41_free_stateid() argument [all...] |
| H A D | pnfs.c | 338 * Compare 2 layout stateid sequence ids, to see which is newer, 407 * Update the seqid of a layout stateid after receiving 557 const nfs4_stateid *stateid) in pnfs_init_lseg() 566 lseg->pls_seq = be32_to_cpu(stateid->seqid); in pnfs_init_lseg() 1098 const nfs4_stateid *stateid) in pnfs_layout_stateid_blocked() 1100 u32 seqid = be32_to_cpu(stateid->seqid); in pnfs_layout_stateid_blocked() 1169 const nfs4_stateid *stateid, in pnfs_alloc_init_layoutget_args() 1233 nfs4_stateid_copy(&lgp->args.stateid, stateid); 1294 const nfs4_stateid *stateid) in pnfs_layoutreturn_free_lsegs() 556 pnfs_init_lseg(struct pnfs_layout_hdr * lo,struct pnfs_layout_segment * lseg,const struct pnfs_layout_range * range,const nfs4_stateid * stateid) pnfs_init_lseg() argument 1097 pnfs_layout_stateid_blocked(const struct pnfs_layout_hdr * lo,const nfs4_stateid * stateid) pnfs_layout_stateid_blocked() argument 1168 pnfs_alloc_init_layoutget_args(struct inode * ino,struct nfs_open_context * ctx,const nfs4_stateid * stateid,const struct pnfs_layout_range * range,gfp_t gfp_flags) pnfs_alloc_init_layoutget_args() argument 1279 pnfs_layoutreturn_free_lsegs(struct pnfs_layout_hdr * lo,const nfs4_stateid * arg_stateid,const struct pnfs_layout_range * range,const nfs4_stateid * stateid) pnfs_layoutreturn_free_lsegs() argument 1305 pnfs_prepare_layoutreturn(struct pnfs_layout_hdr * lo,nfs4_stateid * stateid,const struct cred ** cred,enum pnfs_iomode * iomode) pnfs_prepare_layoutreturn() argument 1333 pnfs_init_layoutreturn_args(struct nfs4_layoutreturn_args * args,struct pnfs_layout_hdr * lo,const nfs4_stateid * stateid,enum pnfs_iomode iomode) pnfs_init_layoutreturn_args() argument 1349 pnfs_send_layoutreturn(struct pnfs_layout_hdr * lo,const nfs4_stateid * stateid,const struct cred ** pcred,enum pnfs_iomode iomode,unsigned int flags) pnfs_send_layoutreturn() argument 1405 nfs4_stateid stateid; pnfs_layoutreturn_before_put_layout_hdr() local 1440 nfs4_stateid stateid; _pnfs_return_layout() local 1548 nfs4_stateid stateid; pnfs_roc() local 2143 nfs4_stateid stateid; pnfs_update_layout() local 2731 nfs4_stateid stateid; pnfs_mark_layout_for_return() local 2825 nfs4_stateid stateid; pnfs_layout_return_unused_byserver() local [all...] |
| H A D | nfs4trace.h | 587 be32_to_cpu(state->stateid.seqid); 589 nfs_stateid_hash(&state->stateid); 666 be32_to_cpu(state->stateid.seqid); 668 nfs_stateid_hash(&state->stateid); 712 be32_to_cpu(args->stateid.seqid); 714 nfs_stateid_hash(&args->stateid); 766 be32_to_cpu(state->stateid.seqid); 768 nfs_stateid_hash(&state->stateid); 838 be32_to_cpu(state->stateid.seqid); 840 nfs_stateid_hash(&state->stateid); [all …]
|
| H A D | callback_proc.c | 107 &args->stateid, -ntohl(res)); in nfs4_callback_recall() 111 switch (nfs_async_inode_return_delegation(inode, &args->stateid)) { in nfs4_callback_recall() 122 &args->stateid, -ntohl(res)); in nfs4_callback_recall() 130 * Lookup a layout inode by stateid 135 const nfs4_stateid *stateid) in nfs_layout_find_inode_by_stateid() argument 147 if (!nfs4_stateid_match_other(stateid, &lo->plh_stateid)) in nfs_layout_find_inode_by_stateid() 203 const nfs4_stateid *stateid) in nfs_layout_find_inode() argument 207 inode = nfs_layout_find_inode_by_stateid(clp, stateid); in nfs_layout_find_inode() 222 /* Is the stateid not initialised? */ in pnfs_check_callback_stateid() 226 /* Mismatched stateid in pnfs_check_callback_stateid() [all...] |
| H A D | callback_xdr.c | 124 static __be32 decode_stateid(struct xdr_stream *xdr, nfs4_stateid *stateid) in decode_stateid() argument 131 memcpy(stateid->data, p, NFS4_STATEID_SIZE); in decode_stateid() 135 static __be32 decode_delegation_stateid(struct xdr_stream *xdr, nfs4_stateid *stateid) in decode_delegation_stateid() argument 137 stateid->type = NFS4_DELEGATION_STATEID_TYPE; in decode_delegation_stateid() 138 return decode_stateid(xdr, stateid); in decode_delegation_stateid() 195 status = decode_delegation_stateid(xdr, &args->stateid); in decode_recall_args() 205 static __be32 decode_layout_stateid(struct xdr_stream *xdr, nfs4_stateid *stateid) in decode_layout_stateid() argument 207 stateid->type = NFS4_LAYOUT_STATEID_TYPE; in decode_layout_stateid() 208 return decode_stateid(xdr, stateid); in decode_layout_stateid() 566 /* decode stateid */ in decode_offload_args() [all...] |
| H A D | nfs4xdr.c | 1067 const nfs4_stateid *stateid) in encode_nfs4_stateid() argument 1069 encode_opaque_fixed(xdr, stateid->data, NFS4_STATEID_SIZE); in encode_nfs4_stateid() 1214 encode_nfs4_stateid(xdr, &arg->stateid); in encode_close() 1382 encode_nfs4_stateid(xdr, &args->stateid); in encode_locku() 1513 static inline void encode_claim_delegate_cur(struct xdr_stream *xdr, const struct qstr *name, const nfs4_stateid *stateid) in encode_claim_delegate_cur() argument 1519 encode_nfs4_stateid(xdr, stateid); in encode_claim_delegate_cur() 1531 static inline void encode_claim_delegate_cur_fh(struct xdr_stream *xdr, const nfs4_stateid *stateid) in encode_claim_delegate_cur_fh() argument 1537 encode_nfs4_stateid(xdr, stateid); in encode_claim_delegate_cur_fh() 1569 encode_nfs4_stateid(xdr, arg->stateid); in encode_open_confirm() 1576 encode_nfs4_stateid(xdr, &arg->stateid); in encode_open_downgrade() 1744 encode_delegattr(struct xdr_stream * xdr,const nfs4_stateid * stateid,const struct nfs4_delegattr * attr,struct compound_hdr * hdr) encode_delegattr() argument 1811 encode_delegreturn(struct xdr_stream * xdr,const nfs4_stateid * stateid,struct compound_hdr * hdr) encode_delegreturn() argument 4457 decode_stateid(struct xdr_stream * xdr,nfs4_stateid * stateid) decode_stateid() argument 4462 decode_open_stateid(struct xdr_stream * xdr,nfs4_stateid * stateid) decode_open_stateid() argument 4468 decode_lock_stateid(struct xdr_stream * xdr,nfs4_stateid * stateid) decode_lock_stateid() argument 4474 decode_delegation_stateid(struct xdr_stream * xdr,nfs4_stateid * stateid) decode_delegation_stateid() argument 4480 decode_invalid_stateid(struct xdr_stream * xdr,nfs4_stateid * stateid) decode_invalid_stateid() argument 6029 decode_layout_stateid(struct xdr_stream * xdr,nfs4_stateid * stateid) decode_layout_stateid() argument [all...] |
| H A D | nfs4state.c | 811 * which stateid was intended to be used, so a "correct" choice cannot 1034 * Byte-range lock aware utility to initialize the stateid of read/write in nfs4_select_rw_stateid() 1051 /* returns true if delegation stateid found and copied */ 1058 * dst, so it still has the lock stateid which we now in nfs_release_seqid() 1384 &state->stateid); in nfs_state_lock_state_matches_stateid() 1385 dprintk("%s: scheduling stateid recovery for server %s\n", __func__, in nfs_state_lock_state_matches_stateid() 1394 const nfs4_stateid *stateid) in nfs_inode_find_state_and_recover() 1401 if (nfs4_stateid_match_or_older(&pos->ls_stateid, stateid)) in nfs_inode_find_state_and_recover() 1408 const nfs4_stateid *stateid) in nfs_inode_find_state_and_recover() 1414 if (nfs_state_find_lock_state_by_stateid(state, stateid)) in nfs_inode_find_state_and_recover() 1364 nfs_state_find_lock_state_by_stateid(struct nfs4_state * state,const nfs4_stateid * stateid) nfs_state_find_lock_state_by_stateid() argument 1378 nfs_state_lock_state_matches_stateid(struct nfs4_state * state,const nfs4_stateid * stateid) nfs_state_lock_state_matches_stateid() argument 1392 nfs_inode_find_state_and_recover(struct inode * inode,const nfs4_stateid * stateid) nfs_inode_find_state_and_recover() argument [all...] |
| H A D | nfs4file.c | 308 struct nfs_fh *src_fh, nfs4_stateid *stateid) in __nfs42_ssc_open() argument 373 memcpy(&ctx->state->open_stateid.other, &stateid->other, in __nfs42_ssc_open() 375 update_open_stateid(ctx->state, stateid, NULL, filep->f_mode); in __nfs42_ssc_open()
|
| H A D | nfs42xdr.c | 405 encode_nfs4_stateid(xdr, &args->stateid); in encode_read_plus() 431 encode_nfs4_stateid(xdr, &args->stateid); in encode_layoutstats() 485 encode_nfs4_stateid(xdr, &args->stateid); in encode_layouterror() 896 status = decode_opaque_fixed(xdr, &res->stateid, in decode_write_response()
|
| H A D | nfs40proc.c | 154 nfs4_stateid *stateid, in nfs40_test_and_free_expired_stateid() argument
|
| H A D | internal.h | 959 static inline u32 nfs_stateid_hash(const nfs4_stateid *stateid) in nfs_error_is_fatal_on_server() 961 return ~crc32_le(0xFFFFFFFF, &stateid->other[0], in nfs_error_is_fatal_on_server() 927 nfs_stateid_hash(const nfs4_stateid * stateid) nfs_stateid_hash() argument
|
| /linux/include/linux/ |
| H A D | nfs_ssc.h | 24 struct nfs_fh *src_fh, nfs4_stateid *stateid); 44 nfs42_ssc_open(struct vfsmount * ss_mnt,struct nfs_fh * src_fh,nfs4_stateid * stateid) nfs42_ssc_open() argument
|
| H A D | nfs_xdr.h | 274 nfs4_stateid stateid; member 284 nfs4_stateid stateid; member 310 nfs4_stateid stateid; member 342 nfs4_stateid stateid; member 350 nfs4_stateid stateid; member 388 nfs4_stateid stateid; member 414 nfs4_stateid stateid; member 470 nfs4_stateid stateid; member 514 nfs4_stateid stateid; member 537 nfs4_stateid * stateid; member 543 nfs4_stateid stateid; global() member 553 nfs4_stateid stateid; global() member 564 nfs4_stateid stateid; global() member 596 nfs4_stateid stateid; global() member 606 nfs4_stateid stateid; global() member 611 nfs4_stateid stateid; global() member 646 const nfs4_stateid *stateid; global() member 683 nfs4_stateid stateid; global() member 831 nfs4_stateid stateid; global() member 1450 nfs4_stateid stateid; global() member 1460 nfs4_stateid stateid; global() member 1511 nfs4_stateid stateid; global() member [all...] |
| H A D | nfs_fs.h | 281 nfs4_stateid stateid; member
|
| /linux/fs/nfs/flexfilelayout/ |
| H A D | flexfilelayoutdev.c | 202 ret = memcmp(e1->stateid.data, e2->stateid.data, in extend_ds_error() 203 sizeof(e1->stateid.data)); 268 nfs4_stateid_copy(&dserr->stateid, &mirror->dss[dss_id].stateid); in ff_layout_track_ds_error() 310 nfs4_stateid *stateid) 313 nfs4_stateid_copy(stateid, &mirror->dss[dss_id].stateid); in nfs4_ff_layout_select_ds_fh() 531 /* offset(8) + length(8) + stateid(NFS4_STATEID_SIZE) in do_layout_fetch_ds_ioerr() 541 p = xdr_encode_opaque_fixed(p, &err->stateid, in do_layout_fetch_ds_ioerr() 321 nfs4_ff_layout_select_ds_stateid(const struct nfs4_ff_layout_mirror * mirror,u32 dss_id,nfs4_stateid * stateid) nfs4_ff_layout_select_ds_stateid() argument [all...] |
| H A D | flexfilelayout.c | 84 static int decode_pnfs_stateid(struct xdr_stream *xdr, nfs4_stateid *stateid) in decode_pnfs_stateid() 91 stateid->type = NFS4_PNFS_DS_STATEID_TYPE; in decode_pnfs_stateid() 92 memcpy(stateid->data, p, NFS4_STATEID_SIZE); in decode_pnfs_stateid() 93 dprintk("%s: stateid id= [%x%x%x%x]\n", __func__, in decode_pnfs_stateid() 548 /* stateid */ in ff_layout_alloc_lseg() 549 rc = decode_pnfs_stateid(&stream, &dss_info->stateid); in ff_layout_alloc_lseg() 2302 &hdr->args.stateid); in ff_layout_write_pagelist() 2407 &hdr->args.stateid); in ff_layout_initiate_commit() 2749 const nfs4_stateid *stateid, in ff_layout_send_layouterror() 2757 encode_opaque_fixed(xdr, stateid in ff_layout_send_layouterror() 82 decode_pnfs_stateid(struct xdr_stream * xdr,nfs4_stateid * stateid) decode_pnfs_stateid() argument 2559 ff_layout_encode_ff_iostat_head(struct xdr_stream * xdr,const nfs4_stateid * stateid,const struct nfs42_layoutstat_devinfo * devinfo) ff_layout_encode_ff_iostat_head() argument 2578 ff_layout_encode_ff_iostat(struct xdr_stream * xdr,const nfs4_stateid * stateid,const struct nfs42_layoutstat_devinfo * devinfo) ff_layout_encode_ff_iostat() argument [all...] |
| /linux/fs/nfsd/ |
| H A D | flexfilelayoutxdr.c | 39 /* data server entry: deviceid + efficiency + stateid + fh list + in nfsd4_ff_encode_layoutget() 67 *p++ = cpu_to_be32(fl->stateid.si_generation); in nfsd4_ff_encode_layoutget() 68 p = xdr_encode_opaque_fixed(p, &fl->stateid.si_opaque, in nfsd4_ff_encode_layoutget()
|
| H A D | nfs4state.c | 85 #define ZERO_STATEID(stateid) (!memcmp((stateid), &zero_stateid, sizeof(stateid_t))) argument 86 #define ONE_STATEID(stateid) (!memcmp((stateid), &one_stateid, sizeof(stateid_t))) argument 87 #define CURRENT_STATEID(stateid) (!memcmp((stateid), ¤tstateid, sizeof(stateid_t))) 88 #define CLOSE_STATEID(stateid) (!memcmp((stateid), &close_stateid, sizeof(stateid_t))) 111 * the refcount on the open stateid to drop. 451 * st_{access,deny}_bmap field of the stateid, i 83 ZERO_STATEID(stateid) global() argument 84 ONE_STATEID(stateid) global() argument 7839 check_special_stateids(struct net * net,svc_fh * current_fh,stateid_t * stateid,int flags) check_special_stateids() argument 7906 nfsd4_validate_stateid(struct nfs4_client * cl,stateid_t * stateid) nfsd4_validate_stateid() argument 7946 nfsd4_lookup_stateid(struct nfsd4_compound_state * cstate,stateid_t * stateid,unsigned short typemask,unsigned short statusmask,struct nfs4_stid ** s,struct nfsd_net * nn) nfsd4_lookup_stateid() argument 8162 nfs4_preprocess_stateid_op(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,struct svc_fh * fhp,stateid_t * stateid,int flags,struct nfsd_file ** nfp,struct nfs4_stid ** cstid) nfs4_preprocess_stateid_op() argument 8224 struct nfsd4_test_stateid_id *stateid; nfsd4_test_stateid() local 8235 nfsd4_free_lock_stateid(stateid_t * stateid,struct nfs4_stid * s) nfsd4_free_lock_stateid() argument 8268 stateid_t *stateid = &free_stateid->fr_stateid; nfsd4_free_stateid() local 8327 nfs4_seqid_op_checks(struct nfsd4_compound_state * cstate,stateid_t * stateid,u32 seqid,struct nfs4_ol_stateid * stp) nfs4_seqid_op_checks() argument 8363 nfs4_preprocess_seqid_op(struct nfsd4_compound_state * cstate,u32 seqid,stateid_t * stateid,unsigned short typemask,unsigned short statusmask,struct nfs4_ol_stateid ** stpp,struct nfsd_net * nn) nfs4_preprocess_seqid_op() argument 8395 nfs4_preprocess_confirmed_seqid_op(struct nfsd4_compound_state * cstate,u32 seqid,stateid_t * stateid,struct nfs4_ol_stateid ** stpp,struct nfsd_net * nn) nfs4_preprocess_confirmed_seqid_op() argument 8614 stateid_t *stateid = &dr->dr_stateid; nfsd4_delegreturn() local 9922 get_stateid(struct nfsd4_compound_state * cstate,stateid_t * stateid) get_stateid() argument 9930 put_stateid(struct nfsd4_compound_state * cstate,stateid_t * stateid) put_stateid() argument [all...] |
| H A D | flexfilelayoutxdr.h | 43 stateid_t stateid; 41 stateid_t stateid; global() member
|
| H A D | nfs4proc.c | 1144 /* check stateid */ in nfsd4_rename() 1440 stateid_t *stateid = &write->wr_stateid; in nfsd4_clone() 1454 stateid, WR_STATE, &nf, &stid); 1633 * Drop the copy offload stateid's sole reference: removes it from in nfsd4_cancel_copy_by_sb() 1937 * Verify COPY destination stateid. in nfsd4_cb_offload_release() 1954 /* Verify the destination stateid and set dst struct file*/ in nfsd4_cb_offload_done() 1969 copy->stateid.seqid = cpu_to_be32(s_stid->si_generation); 1970 memcpy(copy->stateid.other, (void *)&s_stid->si_opaque, 2154 memcpy(&dst->stateid, &src->stateid, sizeo in nfsd4_do_async_copy() 1354 stateid_t *stateid = &write->wr_stateid; nfsd4_write() local 1919 nfs42_ssc_open(struct vfsmount * ss_mnt,struct nfs_fh * src_fh,nfs4_stateid * stateid) nfs42_ssc_open() argument 2310 find_async_copy_locked(struct nfs4_client * clp,stateid_t * stateid) find_async_copy_locked() argument 2325 find_async_copy(struct nfs4_client * clp,stateid_t * stateid) find_async_copy() argument [all...] |
| H A D | nfs4layouts.c | 291 struct nfsd4_compound_state *cstate, stateid_t *stateid, in nfsd4_preprocess_layout_stateid() 302 status = nfsd4_lookup_stateid(cstate, stateid, typemask, 0, &stid, in nfsd4_preprocess_layout_stateid() 326 if (nfsd4_stateid_generation_after(stateid, &stid->sc_stateid)) in nfsd4_preprocess_layout_stateid() 881 * At this time, the file_lease associated with the layout stateid is 883 * stateid to prevent it from being freed while the fence worker is 905 * taking a reference count on the layout stateid. The in nfsd4_layout_lm_breaker_timedout() 288 nfsd4_preprocess_layout_stateid(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,stateid_t * stateid,bool create,u32 layout_type,struct nfs4_layout_stateid ** lsp) nfsd4_preprocess_layout_stateid() argument
|
| H A D | state.h | 129 * A core object that represents a "common" stateid. These are generally 130 * embedded within the different (more specific) stateid objects and contain 131 * fields that are of general use to any stateid. 136 /* A new stateid is added to the cl_stateids idr early before it 157 * For an open stateid kept around *only* to process close replays. 158 * For deleg stateid, kept in idr until last reference is dropped. 161 /* For a deleg stateid kept around only to process free_stateid's: */ 178 * parent OPEN/LOCK/DELEG stateid. 183 stateid_t cp_p_stateid; /* copy of parent's stateid */ 185 time64_t cpntf_time; /* last time stateid use [all...] |
| H A D | xdr4.h | 647 nfs4_stateid stateid; in nfsd4_decode_deviceid4() 707 stateid_t stateid; 770 nfs4_stateid stateid; global() member 830 stateid_t stateid; global() member
|
| H A D | nfs4xdr.c | 2088 struct nfsd4_test_stateid_id *stateid; 2098 stateid = svcxdr_tmpalloc(argp, sizeof(*stateid)); in nfsd4_decode_reclaim_complete() 2099 if (!stateid) in nfsd4_decode_reclaim_complete() 2101 INIT_LIST_HEAD(&stateid->ts_id_list); in nfsd4_decode_reclaim_complete() 2102 list_add_tail(&stateid->ts_id_list, &test_stateid->ts_stateid_list); in nfsd4_decode_reclaim_complete() 2103 status = nfsd4_decode_stateid4(argp, &stateid->ts_id_stateid); in nfsd4_decode_reclaim_complete() 2285 return nfsd4_decode_stateid4(argp, &os->stateid); 5083 /* stateid */ in nfsd4_encode_open_delegation4() 5111 /* stateid */ in nfsd4_encode_open() 2066 struct nfsd4_test_stateid_id *stateid; nfsd4_decode_test_stateid() local 5855 struct nfsd4_test_stateid_id *stateid, *next; nfsd4_encode_test_stateid() local [all...] |