Lines Matching defs:nfs4_state

137  * struct nfs4_state maintains the client-side state for a given
145 * LOCK: one nfs4_state (LOCK) to hold the lock stateid nfs4_state(OPEN)
150 struct nfs4_state * ls_state; /* Pointer to open state */
161 /* bits for nfs4_state->flags */
180 struct nfs4_state {
208 struct nfs4_state *state;
222 int (*recover_open)(struct nfs4_state_owner *, struct nfs4_state *);
223 int (*recover_lock)(struct nfs4_state *, struct file_lock *);
243 struct nfs4_state *state;
292 struct nfs4_state *state, long *timeout);
305 extern int nfs4_do_close(struct nfs4_state *state, gfp_t gfp_mask, int wait);
327 extern int update_open_stateid(struct nfs4_state *state,
496 extern struct nfs4_state * nfs4_get_open_state(struct inode *, struct nfs4_state_owner *);
497 extern void nfs4_put_open_state(struct nfs4_state *);
498 extern void nfs4_close_state(struct nfs4_state *, fmode_t);
499 extern void nfs4_close_sync(struct nfs4_state *, fmode_t);
500 extern void nfs4_state_set_mode_locked(struct nfs4_state *, fmode_t);
503 extern int nfs4_state_mark_reclaim_nograce(struct nfs_client *, struct nfs4_state *);
509 extern int nfs4_schedule_stateid_recovery(const struct nfs_server *, struct nfs4_state *);
516 extern int nfs4_set_lock_state(struct nfs4_state *state, struct file_lock *fl);
517 extern int nfs4_select_rw_stateid(struct nfs4_state *, fmode_t,
521 struct nfs4_state *state);
632 static inline bool nfs4_valid_open_stateid(const struct nfs4_state *state)
637 static inline bool nfs4_state_match_open_stateid_other(const struct nfs4_state *state,