Lines Matching defs:nfs4_state

136  * struct nfs4_state maintains the client-side state for a given
144 * LOCK: one nfs4_state (LOCK) to hold the lock stateid nfs4_state(OPEN)
149 struct nfs4_state * ls_state; /* Pointer to open state */
159 /* bits for nfs4_state->flags */
178 struct nfs4_state {
206 struct nfs4_state *state;
220 int (*recover_open)(struct nfs4_state_owner *, struct nfs4_state *);
221 int (*recover_lock)(struct nfs4_state *, struct file_lock *);
242 struct nfs4_state *state;
291 struct nfs4_state *state, long *timeout);
304 extern int nfs4_do_close(struct nfs4_state *state, gfp_t gfp_mask, int wait);
324 extern int update_open_stateid(struct nfs4_state *state,
493 extern struct nfs4_state * nfs4_get_open_state(struct inode *, struct nfs4_state_owner *);
494 extern void nfs4_put_open_state(struct nfs4_state *);
495 extern void nfs4_close_state(struct nfs4_state *, fmode_t);
496 extern void nfs4_close_sync(struct nfs4_state *, fmode_t);
497 extern void nfs4_state_set_mode_locked(struct nfs4_state *, fmode_t);
500 extern int nfs4_state_mark_reclaim_nograce(struct nfs_client *, struct nfs4_state *);
506 extern int nfs4_schedule_stateid_recovery(const struct nfs_server *, struct nfs4_state *);
513 extern int nfs4_set_lock_state(struct nfs4_state *state, struct file_lock *fl);
514 extern int nfs4_select_rw_stateid(struct nfs4_state *, fmode_t,
518 struct nfs4_state *state);
629 static inline bool nfs4_valid_open_stateid(const struct nfs4_state *state)
634 static inline bool nfs4_state_match_open_stateid_other(const struct nfs4_state *state,