Home
last modified time | relevance | path

Searched refs:nfs4_state (Results 1 – 9 of 9) sorted by relevance

/fs/nfs/
Dnfs4_fs.h141 struct nfs4_state * ls_state; /* Pointer to open state */
166 struct nfs4_state { struct
191 struct nfs4_state *state; argument
203 int (*recover_open)(struct nfs4_state_owner *, struct nfs4_state *);
204 int (*recover_lock)(struct nfs4_state *, struct file_lock *);
259 extern int nfs4_do_close(struct nfs4_state *state, gfp_t gfp_mask, int wait);
438 extern struct nfs4_state * nfs4_get_open_state(struct inode *, struct nfs4_state_owner *);
439 extern void nfs4_put_open_state(struct nfs4_state *);
440 extern void nfs4_close_state(struct nfs4_state *, fmode_t);
441 extern void nfs4_close_sync(struct nfs4_state *, fmode_t);
[all …]
Dnfs4state.c633 static struct nfs4_state *
636 struct nfs4_state *state; in nfs4_alloc_open_state()
649 nfs4_state_set_mode_locked(struct nfs4_state *state, fmode_t fmode) in nfs4_state_set_mode_locked()
663 static struct nfs4_state *
667 struct nfs4_state *state; in __nfs4_find_state_byowner()
681 nfs4_free_open_state(struct nfs4_state *state) in nfs4_free_open_state()
686 struct nfs4_state *
689 struct nfs4_state *state, *new; in nfs4_get_open_state()
723 void nfs4_put_open_state(struct nfs4_state *state) in nfs4_put_open_state()
743 static void __nfs4_close(struct nfs4_state *state, in __nfs4_close()
[all …]
Dnfs4proc.c96 struct nfs4_state *state, struct nfs4_label *ilabel,
388 struct nfs4_state *state = exception->state; in nfs4_do_handle_exception()
551 struct nfs4_state *state, long *timeout) in nfs4_async_handle_error()
1107 struct nfs4_state *state;
1317 static bool nfs4_mode_match_open_stateid(struct nfs4_state *state, in nfs4_mode_match_open_stateid()
1332 static int can_open_cached(struct nfs4_state *state, fmode_t mode, int open_mode) in can_open_cached()
1378 static void update_open_stateflags(struct nfs4_state *state, fmode_t fmode) in update_open_stateflags()
1394 static bool nfs_open_stateid_recover_openmode(struct nfs4_state *state) in nfs_open_stateid_recover_openmode()
1406 static void nfs_test_and_clear_all_open_stateid(struct nfs4_state *state) in nfs_test_and_clear_all_open_stateid()
1421 static bool nfs_need_update_open_stateid(struct nfs4_state *state, in nfs_need_update_open_stateid()
[all …]
Ddelegation.h61 int nfs4_open_delegation_recall(struct nfs_open_context *ctx, struct nfs4_state *state, const nfs4_…
62 int nfs4_lock_delegation_recall(struct file_lock *fl, struct nfs4_state *state, const nfs4_stateid …
Dnfs4trace.h406 const struct nfs4_state *state = ctx->state;
475 const struct nfs4_state *state
514 const struct nfs4_state *state,
574 const struct nfs4_state *state,
632 const struct nfs4_state *state, \
643 const struct nfs4_state *state,
786 const struct nfs4_state *state,
830 const struct nfs4_state *state, \
1272 const struct nfs4_state *state =
1332 const struct nfs4_state *state =
[all …]
Ddelegation.c94 static int nfs_delegation_claim_locks(struct nfs_open_context *ctx, struct nfs4_state *state, const… in nfs_delegation_claim_locks()
132 struct nfs4_state *state; in nfs_delegation_claim_opens()
Dpnfs.c1153 struct nfs4_state *state; in pnfs_roc()
/fs/nfs/flexfilelayout/
Dflexfilelayout.c1064 struct nfs4_state *state, in ff_layout_async_handle_error_v4()
1204 struct nfs4_state *state, in ff_layout_async_handle_error()
/fs/nfs/filelayout/
Dfilelayout.c123 struct nfs4_state *state, in filelayout_async_handle_error()