Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/fs/nfs/
H A Ddelegation.c43 delegation->stateid.type = NFS4_INVALID_STATEID_TYPE; in nfs_mark_delegation_revoked()
145 static int nfs_delegation_claim_locks(struct nfs4_state *state, const nfs4_stateid *stateid) in nfs_delegation_claim_locks() argument
163 status = nfs4_lock_delegation_recall(fl, state, stateid); in nfs_delegation_claim_locks()
178 const nfs4_stateid *stateid, fmode_t type) in nfs_delegation_claim_opens()
197 if (!nfs4_stateid_match(&state->stateid, stateid)) in nfs_delegation_claim_opens()
206 err = nfs4_open_delegation_recall(ctx, state, stateid); in nfs_delegation_claim_opens()
208 err = nfs_delegation_claim_locks(state, stateid); in nfs_delegation_claim_opens()
226 * @stateid: delegation stateid
177 nfs_delegation_claim_opens(struct inode *inode, const nfs4_stateid *stateid, fmode_t type) nfs_delegation_claim_opens() argument
230 nfs_inode_reclaim_delegation(struct inode *inode, const struct cred *cred, fmode_t type, const nfs4_stateid *stateid, unsigned long pagemod_limit) nfs_inode_reclaim_delegation() argument
428 nfs_inode_set_delegation(struct inode *inode, const struct cred *cred, fmode_t type, const nfs4_stateid *stateid, unsigned long pagemod_limit) nfs_inode_set_delegation() argument
899 nfs_revoke_delegation(struct inode *inode, const nfs4_stateid *stateid) nfs_revoke_delegation() argument
934 nfs_remove_bad_delegation(struct inode *inode, const nfs4_stateid *stateid) nfs_remove_bad_delegation() argument
941 nfs_delegation_mark_returned(struct inode *inode, const nfs4_stateid *stateid) nfs_delegation_mark_returned() argument
1024 nfs_async_inode_return_delegation(struct inode *inode, const nfs4_stateid *stateid) nfs_async_inode_return_delegation() argument
1251 nfs_delegation_test_free_expired(struct inode *inode, nfs4_stateid *stateid, const struct cred *cred) nfs_delegation_test_free_expired() argument
1272 nfs4_stateid stateid; nfs_server_reap_expired_delegations() local
1323 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 Ddelegation.h20 nfs4_stateid stateid; member
43 fmode_t type, const nfs4_stateid *stateid, unsigned long pagemod_limit);
45 fmode_t type, const nfs4_stateid *stateid, unsigned long pagemod_limit);
48 int nfs_async_inode_return_delegation(struct inode *inode, const nfs4_stateid *stateid);
58 void nfs_remove_bad_delegation(struct inode *inode, const nfs4_stateid *stateid);
59 void nfs_delegation_mark_returned(struct inode *inode, const nfs4_stateid *stateid);
69 int nfs4_proc_delegreturn(struct inode *inode, const struct cred *cred, const nfs4_stateid *stateid, int issync);
70 int nfs4_open_delegation_recall(struct nfs_open_context *ctx, struct nfs4_state *state, const nfs4_stateid *stateid);
71 int nfs4_lock_delegation_recall(struct file_lock *fl, struct nfs4_state *state, const nfs4_stateid *stateid);
81 const nfs4_stateid *stateid);
[all...]
H A Dnfs4proc.c387 nfs4_stateid *stateid, in nfs4_test_and_free_stateid()
392 ops->test_and_free_expired(server, stateid, cred); in nfs4_test_and_free_stateid()
396 nfs4_stateid *stateid, in __nfs4_free_revoked_stateid()
399 stateid->type = NFS4_REVOKED_STATEID_TYPE; in __nfs4_free_revoked_stateid()
400 nfs4_test_and_free_stateid(server, stateid, cred); in __nfs4_free_revoked_stateid()
404 const nfs4_stateid *stateid, in nfs4_free_revoked_stateid()
409 nfs4_stateid_copy(&tmp, stateid); in nfs4_free_revoked_stateid()
456 nfs4_recoverable_stateid(const nfs4_stateid *stateid) in nfs4_recoverable_stateid() argument
458 if (!stateid) in nfs4_recoverable_stateid()
460 switch (stateid in nfs4_recoverable_stateid()
386 nfs4_test_and_free_stateid(struct nfs_server *server, nfs4_stateid *stateid, const struct cred *cred) nfs4_test_and_free_stateid() argument
395 __nfs4_free_revoked_stateid(struct nfs_server *server, nfs4_stateid *stateid, const struct cred *cred) __nfs4_free_revoked_stateid() argument
403 nfs4_free_revoked_stateid(struct nfs_server *server, const nfs4_stateid *stateid, const struct cred *cred) nfs4_free_revoked_stateid() argument
479 const nfs4_stateid *stateid; nfs4_do_handle_exception() local
1602 nfs_stateid_is_sequential(struct nfs4_state *state, const nfs4_stateid *stateid) nfs_stateid_is_sequential() argument
1633 nfs_clear_open_stateid_locked(struct nfs4_state *state, nfs4_stateid *stateid, fmode_t fmode) nfs_clear_open_stateid_locked() argument
1665 nfs_clear_open_stateid(struct nfs4_state *state, nfs4_stateid *arg_stateid, nfs4_stateid *stateid, fmode_t fmode) nfs_clear_open_stateid() argument
1847 nfs4_update_lock_stateid(struct nfs4_lock_state *lsp, const nfs4_stateid *stateid) nfs4_update_lock_stateid() argument
1887 nfs4_stateid stateid; nfs4_try_open_cached() local
2245 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
2299 nfs4_open_delegation_recall(struct nfs_open_context *ctx, struct nfs4_state *state, const nfs4_stateid *stateid) nfs4_open_delegation_recall() argument
2771 nfs_finish_clear_delegation_stateid(struct nfs4_state *state, const nfs4_stateid *stateid) nfs_finish_clear_delegation_stateid() argument
2792 nfs40_test_and_free_expired_stateid(struct nfs_server *server, nfs4_stateid *stateid, const struct cred *cred) nfs40_test_and_free_expired_stateid() argument
2800 nfs41_test_and_free_expired_stateid(struct nfs_server *server, nfs4_stateid *stateid, const struct cred *cred) nfs41_test_and_free_expired_stateid() argument
2834 nfs4_stateid stateid; nfs41_check_delegation_stateid() local
2949 nfs4_stateid *stateid = &state->open_stateid; nfs41_check_open_stateid() local
5241 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
5250 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
6402 nfs4_stateid stateid; global() member
6528 _nfs4_proc_delegreturn(struct inode *inode, const struct cred *cred, const nfs4_stateid *stateid, int issync) _nfs4_proc_delegreturn() argument
6601 nfs4_proc_delegreturn(struct inode *inode, const struct cred *cred, const nfs4_stateid *stateid, int issync) nfs4_proc_delegreturn() argument
7458 nfs4_lock_delegation_recall(struct file_lock *fl, struct nfs4_state *state, const nfs4_stateid *stateid) nfs4_lock_delegation_recall() argument
10012 _nfs41_test_stateid(struct nfs_server *server, nfs4_stateid *stateid, const struct cred *cred) _nfs41_test_stateid() argument
10073 nfs41_test_stateid(struct nfs_server *server, nfs4_stateid *stateid, const struct cred *cred) nfs41_test_stateid() argument
10137 nfs41_free_stateid(struct nfs_server *server, const nfs4_stateid *stateid, const struct cred *cred, bool privileged) nfs41_free_stateid() argument
[all...]
H A Dpnfs.c339 * Compare 2 layout stateid sequence ids, to see which is newer,
408 * Update the seqid of a layout stateid after receiving
542 const nfs4_stateid *stateid) in pnfs_init_lseg()
551 lseg->pls_seq = be32_to_cpu(stateid->seqid); in pnfs_init_lseg()
1015 const nfs4_stateid *stateid) in pnfs_layout_stateid_blocked()
1017 u32 seqid = be32_to_cpu(stateid->seqid); in pnfs_layout_stateid_blocked()
1086 const nfs4_stateid *stateid, in pnfs_alloc_init_layoutget_args()
1136 nfs4_stateid_copy(&lgp->args.stateid, stateid); in pnfs_alloc_init_layoutget_args()
1171 const nfs4_stateid *stateid) in pnfs_layoutreturn_free_lsegs()
540 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
1014 pnfs_layout_stateid_blocked(const struct pnfs_layout_hdr *lo, const nfs4_stateid *stateid) pnfs_layout_stateid_blocked() argument
1084 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
1168 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
1196 pnfs_prepare_layoutreturn(struct pnfs_layout_hdr *lo, nfs4_stateid *stateid, const struct cred **cred, enum pnfs_iomode *iomode) pnfs_prepare_layoutreturn() argument
1223 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
1240 pnfs_send_layoutreturn(struct pnfs_layout_hdr *lo, const nfs4_stateid *stateid, const struct cred **pcred, enum pnfs_iomode iomode, bool sync) pnfs_send_layoutreturn() argument
1309 nfs4_stateid stateid; pnfs_layoutreturn_before_put_layout_hdr() local
1343 nfs4_stateid stateid; _pnfs_return_layout() local
1433 nfs4_stateid stateid; pnfs_roc() local
1985 nfs4_stateid stateid; pnfs_update_layout() local
2550 nfs4_stateid stateid; pnfs_mark_layout_for_return() local
2643 nfs4_stateid stateid; pnfs_layout_return_unused_byserver() local
[all...]
H A Dnfs4trace.h777 be32_to_cpu(state->stateid.seqid);
779 nfs_stateid_hash(&state->stateid);
804 "name=%02x:%02x:%llu/%s stateid=%d:0x%08x "
856 be32_to_cpu(state->stateid.seqid);
858 nfs_stateid_hash(&state->stateid);
863 "fhandle=0x%08x stateid=%d:0x%08x",
902 be32_to_cpu(args->stateid.seqid);
904 nfs_stateid_hash(&args->stateid);
974 be32_to_cpu(state->stateid.seqid);
976 nfs_stateid_hash(&state->stateid);
[all...]
H A Dcallback_proc.c93 &args->stateid, -ntohl(res)); in nfs4_callback_recall()
97 switch (nfs_async_inode_return_delegation(inode, &args->stateid)) { in nfs4_callback_recall()
108 &args->stateid, -ntohl(res)); in nfs4_callback_recall()
118 * Lookup a layout inode by stateid
123 const nfs4_stateid *stateid)
135 if (!nfs4_stateid_match_other(stateid, &lo->plh_stateid)) in __must_hold()
191 const nfs4_stateid *stateid) in nfs_layout_find_inode()
195 inode = nfs_layout_find_inode_by_stateid(clp, stateid); in nfs_layout_find_inode()
209 /* Is the stateid not initialised? */ in pnfs_check_callback_stateid()
213 /* Mismatched stateid in pnfs_check_callback_stateid()
189 nfs_layout_find_inode(struct nfs_client *clp, const struct nfs_fh *fh, const nfs4_stateid *stateid) nfs_layout_find_inode() argument
[all...]
H A Dnfs42proc.c189 if (memcmp(&res->write_res.stateid, &tmp_copy->stateid, in handle_async_copy()
203 memcpy(&copy->stateid, &res->write_res.stateid, NFS4_STATEID_SIZE); in handle_async_copy()
242 nfs42_do_offload_cancel_async(dst, &copy->stateid); in handle_async_copy()
403 .stateid = &args.src_stateid, in nfs42_proc_copy()
407 .stateid = &args.dst_stateid, in nfs42_proc_copy()
510 nfs4_stateid *stateid) in nfs42_do_offload_cancel_async()
538 memcpy(&data->args.osa_stateid, stateid, in nfs42_do_offload_cancel_async()
615 exception.stateid in nfs42_proc_copy_notify()
509 nfs42_do_offload_cancel_async(struct file *dst, nfs4_stateid *stateid) nfs42_do_offload_cancel_async() argument
[all...]
H A Dnfs4_fs.h144 * LOCK: one nfs4_state (LOCK) to hold the lock stateid nfs4_state(OPEN)
162 NFS_DELEGATED_STATE, /* Current stateid is delegation */
163 NFS_OPEN_STATE, /* OPEN stateid is set */
164 NFS_O_RDONLY_STATE, /* OPEN stateid has read-only state */
165 NFS_O_WRONLY_STATE, /* OPEN stateid has write-only state */
166 NFS_O_RDWR_STATE, /* OPEN stateid has read/write state */
167 NFS_STATE_RECLAIM_REBOOT, /* OPEN stateid server rebooted */
168 NFS_STATE_RECLAIM_NOGRACE, /* OPEN stateid needs to recover state */
170 NFS_STATE_RECOVERY_FAILED, /* OPEN stateid state recovery failed */
189 seqlock_t seqlock; /* Protects the stateid/open_statei
190 nfs4_stateid stateid; /* Current stateid: may be delegation */ global() member
208 nfs4_stateid *stateid; global() member
634 nfs4_state_match_open_stateid_other(const struct nfs4_state *state, const nfs4_stateid *stateid) nfs4_state_match_open_stateid_other() argument
[all...]
/kernel/linux/linux-6.6/fs/nfs/
H A Ddelegation.c43 delegation->stateid.type = NFS4_INVALID_STATEID_TYPE; in nfs_mark_delegation_revoked()
145 static int nfs_delegation_claim_locks(struct nfs4_state *state, const nfs4_stateid *stateid) in nfs_delegation_claim_locks() argument
163 status = nfs4_lock_delegation_recall(fl, state, stateid); in nfs_delegation_claim_locks()
178 const nfs4_stateid *stateid, fmode_t type) in nfs_delegation_claim_opens()
197 if (!nfs4_stateid_match(&state->stateid, stateid)) in nfs_delegation_claim_opens()
206 err = nfs4_open_delegation_recall(ctx, state, stateid); in nfs_delegation_claim_opens()
208 err = nfs_delegation_claim_locks(state, stateid); in nfs_delegation_claim_opens()
226 * @stateid: delegation stateid
177 nfs_delegation_claim_opens(struct inode *inode, const nfs4_stateid *stateid, fmode_t type) nfs_delegation_claim_opens() argument
230 nfs_inode_reclaim_delegation(struct inode *inode, const struct cred *cred, fmode_t type, const nfs4_stateid *stateid, unsigned long pagemod_limit) nfs_inode_reclaim_delegation() argument
428 nfs_inode_set_delegation(struct inode *inode, const struct cred *cred, fmode_t type, const nfs4_stateid *stateid, unsigned long pagemod_limit) nfs_inode_set_delegation() argument
920 nfs_revoke_delegation(struct inode *inode, const nfs4_stateid *stateid) nfs_revoke_delegation() argument
955 nfs_remove_bad_delegation(struct inode *inode, const nfs4_stateid *stateid) nfs_remove_bad_delegation() argument
962 nfs_delegation_mark_returned(struct inode *inode, const nfs4_stateid *stateid) nfs_delegation_mark_returned() argument
1045 nfs_async_inode_return_delegation(struct inode *inode, const nfs4_stateid *stateid) nfs_async_inode_return_delegation() argument
1275 nfs_delegation_test_free_expired(struct inode *inode, nfs4_stateid *stateid, const struct cred *cred) nfs_delegation_test_free_expired() argument
1296 nfs4_stateid stateid; nfs_server_reap_expired_delegations() local
1347 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 Ddelegation.h20 nfs4_stateid stateid; member
43 fmode_t type, const nfs4_stateid *stateid, unsigned long pagemod_limit);
45 fmode_t type, const nfs4_stateid *stateid, unsigned long pagemod_limit);
48 int nfs_async_inode_return_delegation(struct inode *inode, const nfs4_stateid *stateid);
58 void nfs_remove_bad_delegation(struct inode *inode, const nfs4_stateid *stateid);
59 void nfs_delegation_mark_returned(struct inode *inode, const nfs4_stateid *stateid);
69 int nfs4_proc_delegreturn(struct inode *inode, const struct cred *cred, const nfs4_stateid *stateid, int issync);
70 int nfs4_open_delegation_recall(struct nfs_open_context *ctx, struct nfs4_state *state, const nfs4_stateid *stateid);
71 int nfs4_lock_delegation_recall(struct file_lock *fl, struct nfs4_state *state, const nfs4_stateid *stateid);
81 const nfs4_stateid *stateid);
[all...]
H A Dnfs4proc.c381 nfs4_stateid *stateid, in nfs4_test_and_free_stateid()
386 ops->test_and_free_expired(server, stateid, cred); in nfs4_test_and_free_stateid()
390 nfs4_stateid *stateid, in __nfs4_free_revoked_stateid()
393 stateid->type = NFS4_REVOKED_STATEID_TYPE; in __nfs4_free_revoked_stateid()
394 nfs4_test_and_free_stateid(server, stateid, cred); in __nfs4_free_revoked_stateid()
398 const nfs4_stateid *stateid, in nfs4_free_revoked_stateid()
403 nfs4_stateid_copy(&tmp, stateid); in nfs4_free_revoked_stateid()
451 nfs4_recoverable_stateid(const nfs4_stateid *stateid) in nfs4_recoverable_stateid() argument
453 if (!stateid) in nfs4_recoverable_stateid()
455 switch (stateid in nfs4_recoverable_stateid()
380 nfs4_test_and_free_stateid(struct nfs_server *server, nfs4_stateid *stateid, const struct cred *cred) nfs4_test_and_free_stateid() argument
389 __nfs4_free_revoked_stateid(struct nfs_server *server, nfs4_stateid *stateid, const struct cred *cred) __nfs4_free_revoked_stateid() argument
397 nfs4_free_revoked_stateid(struct nfs_server *server, const nfs4_stateid *stateid, const struct cred *cred) nfs4_free_revoked_stateid() argument
474 const nfs4_stateid *stateid; nfs4_do_handle_exception() local
1607 nfs_stateid_is_sequential(struct nfs4_state *state, const nfs4_stateid *stateid) nfs_stateid_is_sequential() argument
1638 nfs_clear_open_stateid_locked(struct nfs4_state *state, nfs4_stateid *stateid, fmode_t fmode) nfs_clear_open_stateid_locked() argument
1670 nfs_clear_open_stateid(struct nfs4_state *state, nfs4_stateid *arg_stateid, nfs4_stateid *stateid, fmode_t fmode) nfs_clear_open_stateid() argument
1852 nfs4_update_lock_stateid(struct nfs4_lock_state *lsp, const nfs4_stateid *stateid) nfs4_update_lock_stateid() argument
1892 nfs4_stateid stateid; nfs4_try_open_cached() local
2250 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
2305 nfs4_open_delegation_recall(struct nfs_open_context *ctx, struct nfs4_state *state, const nfs4_stateid *stateid) nfs4_open_delegation_recall() argument
2781 nfs_finish_clear_delegation_stateid(struct nfs4_state *state, const nfs4_stateid *stateid) nfs_finish_clear_delegation_stateid() argument
2802 nfs40_test_and_free_expired_stateid(struct nfs_server *server, nfs4_stateid *stateid, const struct cred *cred) nfs40_test_and_free_expired_stateid() argument
2810 nfs41_test_and_free_expired_stateid(struct nfs_server *server, nfs4_stateid *stateid, const struct cred *cred) nfs41_test_and_free_expired_stateid() argument
2844 nfs4_stateid stateid; nfs41_check_delegation_stateid() local
2959 nfs4_stateid *stateid = &state->open_stateid; nfs41_check_open_stateid() local
5356 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
5365 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
6526 nfs4_stateid stateid; global() member
6652 _nfs4_proc_delegreturn(struct inode *inode, const struct cred *cred, const nfs4_stateid *stateid, int issync) _nfs4_proc_delegreturn() argument
6727 nfs4_proc_delegreturn(struct inode *inode, const struct cred *cred, const nfs4_stateid *stateid, int issync) nfs4_proc_delegreturn() argument
7610 nfs4_lock_delegation_recall(struct file_lock *fl, struct nfs4_state *state, const nfs4_stateid *stateid) nfs4_lock_delegation_recall() argument
10219 _nfs41_test_stateid(struct nfs_server *server, nfs4_stateid *stateid, const struct cred *cred) _nfs41_test_stateid() argument
10280 nfs41_test_stateid(struct nfs_server *server, nfs4_stateid *stateid, const struct cred *cred) nfs41_test_stateid() argument
10348 nfs41_free_stateid(struct nfs_server *server, const nfs4_stateid *stateid, const struct cred *cred, bool privileged) nfs41_free_stateid() argument
[all...]
H A Dnfs4trace.h530 be32_to_cpu(state->stateid.seqid);
532 nfs_stateid_hash(&state->stateid);
557 "name=%02x:%02x:%llu/%s stateid=%d:0x%08x "
609 be32_to_cpu(state->stateid.seqid);
611 nfs_stateid_hash(&state->stateid);
616 "fhandle=0x%08x stateid=%d:0x%08x",
655 be32_to_cpu(args->stateid.seqid);
657 nfs_stateid_hash(&args->stateid);
709 be32_to_cpu(state->stateid.seqid);
711 nfs_stateid_hash(&state->stateid);
[all...]
H A Dpnfs.c339 * Compare 2 layout stateid sequence ids, to see which is newer,
408 * Update the seqid of a layout stateid after receiving
542 const nfs4_stateid *stateid) in pnfs_init_lseg()
551 lseg->pls_seq = be32_to_cpu(stateid->seqid); in pnfs_init_lseg()
1014 const nfs4_stateid *stateid) in pnfs_layout_stateid_blocked()
1016 u32 seqid = be32_to_cpu(stateid->seqid); in pnfs_layout_stateid_blocked()
1085 const nfs4_stateid *stateid, in pnfs_alloc_init_layoutget_args()
1135 nfs4_stateid_copy(&lgp->args.stateid, stateid); in pnfs_alloc_init_layoutget_args()
1169 const nfs4_stateid *stateid) in pnfs_layoutreturn_free_lsegs()
540 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
1013 pnfs_layout_stateid_blocked(const struct pnfs_layout_hdr *lo, const nfs4_stateid *stateid) pnfs_layout_stateid_blocked() argument
1083 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
1166 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
1194 pnfs_prepare_layoutreturn(struct pnfs_layout_hdr *lo, nfs4_stateid *stateid, const struct cred **cred, enum pnfs_iomode *iomode) pnfs_prepare_layoutreturn() argument
1221 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
1238 pnfs_send_layoutreturn(struct pnfs_layout_hdr *lo, const nfs4_stateid *stateid, const struct cred **pcred, enum pnfs_iomode iomode, bool sync) pnfs_send_layoutreturn() argument
1307 nfs4_stateid stateid; pnfs_layoutreturn_before_put_layout_hdr() local
1341 nfs4_stateid stateid; _pnfs_return_layout() local
1431 nfs4_stateid stateid; pnfs_roc() local
1982 nfs4_stateid stateid; pnfs_update_layout() local
2551 nfs4_stateid stateid; pnfs_mark_layout_for_return() local
2644 nfs4_stateid stateid; pnfs_layout_return_unused_byserver() local
[all...]
H A Dcallback_proc.c98 &args->stateid, -ntohl(res)); in nfs4_callback_recall()
102 switch (nfs_async_inode_return_delegation(inode, &args->stateid)) { in nfs4_callback_recall()
113 &args->stateid, -ntohl(res)); in nfs4_callback_recall()
123 * Lookup a layout inode by stateid
128 const nfs4_stateid *stateid)
140 if (!nfs4_stateid_match_other(stateid, &lo->plh_stateid)) in __must_hold()
196 const nfs4_stateid *stateid) in nfs_layout_find_inode()
200 inode = nfs_layout_find_inode_by_stateid(clp, stateid); in nfs_layout_find_inode()
214 /* Is the stateid not initialised? */ in pnfs_check_callback_stateid()
218 /* Mismatched stateid in pnfs_check_callback_stateid()
194 nfs_layout_find_inode(struct nfs_client *clp, const struct nfs_fh *fh, const nfs4_stateid *stateid) nfs_layout_find_inode() argument
[all...]
H A Dnfs42proc.c197 if (memcmp(&res->write_res.stateid, &iter->stateid, in handle_async_copy()
211 memcpy(&copy->stateid, &res->write_res.stateid, NFS4_STATEID_SIZE); in handle_async_copy()
250 nfs42_do_offload_cancel_async(dst, &copy->stateid); in handle_async_copy()
431 .stateid = &args.src_stateid, in nfs42_proc_copy()
435 .stateid = &args.dst_stateid, in nfs42_proc_copy()
540 nfs4_stateid *stateid) in nfs42_do_offload_cancel_async()
568 memcpy(&data->args.osa_stateid, stateid, in nfs42_do_offload_cancel_async()
646 exception.stateid in nfs42_proc_copy_notify()
539 nfs42_do_offload_cancel_async(struct file *dst, nfs4_stateid *stateid) nfs42_do_offload_cancel_async() argument
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dnfs_ssc.h19 struct nfs_fh *src_fh, nfs4_stateid *stateid);
43 struct nfs_fh *src_fh, nfs4_stateid *stateid) in nfs42_ssc_open()
46 return (*nfs_ssc_client_tbl.ssc_nfs4_ops->sco_open)(ss_mnt, src_fh, stateid); in nfs42_ssc_open()
42 nfs42_ssc_open(struct vfsmount *ss_mnt, struct nfs_fh *src_fh, nfs4_stateid *stateid) nfs42_ssc_open() argument
H A Dnfs_xdr.h260 nfs4_stateid stateid; member
270 nfs4_stateid stateid; member
295 nfs4_stateid stateid; member
327 nfs4_stateid stateid; member
335 nfs4_stateid stateid; member
373 nfs4_stateid stateid; member
399 nfs4_stateid stateid; member
483 nfs4_stateid stateid; member
510 nfs4_stateid * stateid; member
516 nfs4_stateid stateid; member
526 nfs4_stateid stateid; global() member
537 nfs4_stateid stateid; global() member
570 nfs4_stateid stateid; global() member
580 nfs4_stateid stateid; global() member
585 nfs4_stateid stateid; global() member
613 const nfs4_stateid *stateid; global() member
647 nfs4_stateid stateid; global() member
782 nfs4_stateid stateid; global() member
1388 nfs4_stateid *stateid; global() member
1398 nfs4_stateid stateid; global() member
1449 nfs4_stateid stateid; global() member
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dnfs_ssc.h20 struct nfs_fh *src_fh, nfs4_stateid *stateid);
44 struct nfs_fh *src_fh, nfs4_stateid *stateid) in nfs42_ssc_open()
47 return (*nfs_ssc_client_tbl.ssc_nfs4_ops->sco_open)(ss_mnt, src_fh, stateid); in nfs42_ssc_open()
43 nfs42_ssc_open(struct vfsmount *ss_mnt, struct nfs_fh *src_fh, nfs4_stateid *stateid) nfs42_ssc_open() argument
H A Dnfs_xdr.h262 nfs4_stateid stateid; member
272 nfs4_stateid stateid; member
298 nfs4_stateid stateid; member
330 nfs4_stateid stateid; member
338 nfs4_stateid stateid; member
376 nfs4_stateid stateid; member
402 nfs4_stateid stateid; member
486 nfs4_stateid stateid; member
512 nfs4_stateid * stateid; member
518 nfs4_stateid stateid; member
528 nfs4_stateid stateid; global() member
539 nfs4_stateid stateid; global() member
572 nfs4_stateid stateid; global() member
582 nfs4_stateid stateid; global() member
587 nfs4_stateid stateid; global() member
615 const nfs4_stateid *stateid; global() member
649 nfs4_stateid stateid; global() member
797 nfs4_stateid stateid; global() member
1409 nfs4_stateid *stateid; global() member
1419 nfs4_stateid stateid; global() member
1470 nfs4_stateid stateid; global() member
[all...]
/kernel/linux/linux-5.10/fs/nfs/flexfilelayout/
H A Dflexfilelayoutdev.c207 ret = memcmp(e1->stateid.data, e2->stateid.data, in ff_ds_error_match()
208 sizeof(e1->stateid.data)); in ff_ds_error_match()
272 nfs4_stateid_copy(&dserr->stateid, &mirror->stateid); in ff_layout_track_ds_error()
313 nfs4_stateid *stateid) in nfs4_ff_layout_select_ds_stateid()
316 nfs4_stateid_copy(stateid, &mirror->stateid); in nfs4_ff_layout_select_ds_stateid()
479 /* offset(8) + length(8) + stateid(NFS4_STATEID_SIZE) in ff_layout_encode_ds_ioerr()
489 p = xdr_encode_opaque_fixed(p, &err->stateid, in ff_layout_encode_ds_ioerr()
312 nfs4_ff_layout_select_ds_stateid(const struct nfs4_ff_layout_mirror *mirror, nfs4_stateid *stateid) nfs4_ff_layout_select_ds_stateid() argument
[all...]
H A Dflexfilelayout.h50 nfs4_stateid stateid; member
83 nfs4_stateid stateid; member
209 nfs4_stateid *stateid);
/kernel/linux/linux-6.6/fs/nfs/flexfilelayout/
H A Dflexfilelayoutdev.c209 ret = memcmp(e1->stateid.data, e2->stateid.data, in ff_ds_error_match()
210 sizeof(e1->stateid.data)); in ff_ds_error_match()
274 nfs4_stateid_copy(&dserr->stateid, &mirror->stateid); in ff_layout_track_ds_error()
315 nfs4_stateid *stateid) in nfs4_ff_layout_select_ds_stateid()
318 nfs4_stateid_copy(stateid, &mirror->stateid); in nfs4_ff_layout_select_ds_stateid()
481 /* offset(8) + length(8) + stateid(NFS4_STATEID_SIZE) in ff_layout_encode_ds_ioerr()
491 p = xdr_encode_opaque_fixed(p, &err->stateid, in ff_layout_encode_ds_ioerr()
314 nfs4_ff_layout_select_ds_stateid(const struct nfs4_ff_layout_mirror *mirror, nfs4_stateid *stateid) nfs4_ff_layout_select_ds_stateid() argument
[all...]
H A Dflexfilelayout.h50 nfs4_stateid stateid; member
83 nfs4_stateid stateid; member
209 nfs4_stateid *stateid);
/kernel/linux/linux-5.10/fs/nfsd/
H A Dflexfilelayoutxdr.c62 *p++ = cpu_to_be32(fl->stateid.si_generation); in nfsd4_ff_encode_layoutget()
63 p = xdr_encode_opaque_fixed(p, &fl->stateid.si_opaque, in nfsd4_ff_encode_layoutget()
/kernel/linux/linux-6.6/fs/nfsd/
H A Dflexfilelayoutxdr.c62 *p++ = cpu_to_be32(fl->stateid.si_generation); in nfsd4_ff_encode_layoutget()
63 p = xdr_encode_opaque_fixed(p, &fl->stateid.si_opaque, in nfsd4_ff_encode_layoutget()

Completed in 42 milliseconds

123