Lines Matching refs:nfs4_state
668 static struct nfs4_state *
671 struct nfs4_state *state; in nfs4_alloc_open_state()
685 nfs4_state_set_mode_locked(struct nfs4_state *state, fmode_t fmode) in nfs4_state_set_mode_locked()
699 static struct nfs4_state *
703 struct nfs4_state *state; in __nfs4_find_state_byowner()
717 nfs4_free_open_state(struct nfs4_state *state) in nfs4_free_open_state()
722 struct nfs4_state *
725 struct nfs4_state *state, *new; in nfs4_get_open_state()
759 void nfs4_put_open_state(struct nfs4_state *state) in nfs4_put_open_state()
780 static void __nfs4_close(struct nfs4_state *state, in __nfs4_close()
825 void nfs4_close_state(struct nfs4_state *state, fmode_t fmode) in nfs4_close_state()
830 void nfs4_close_sync(struct nfs4_state *state, fmode_t fmode) in nfs4_close_sync()
849 __nfs4_find_lock_state(struct nfs4_state *state, in __nfs4_find_lock_state()
871 static struct nfs4_lock_state *nfs4_alloc_lock_state(struct nfs4_state *state, fl_owner_t fl_owner) in nfs4_alloc_lock_state()
905 static struct nfs4_lock_state *nfs4_get_lock_state(struct nfs4_state *state, fl_owner_t owner) in nfs4_get_lock_state()
939 struct nfs4_state *state; in nfs4_put_lock_state()
977 int nfs4_set_lock_state(struct nfs4_state *state, struct file_lock *fl) in nfs4_set_lock_state()
992 struct nfs4_state *state, in nfs4_copy_lock_stateid()
1022 bool nfs4_copy_open_stateid(nfs4_stateid *dst, struct nfs4_state *state) in nfs4_copy_open_stateid()
1045 int nfs4_select_rw_stateid(struct nfs4_state *state, in nfs4_select_rw_stateid()
1382 static int nfs4_state_mark_reclaim_reboot(struct nfs_client *clp, struct nfs4_state *state) in nfs4_state_mark_reclaim_reboot()
1398 int nfs4_state_mark_reclaim_nograce(struct nfs_client *clp, struct nfs4_state *state) in nfs4_state_mark_reclaim_nograce()
1409 int nfs4_schedule_stateid_recovery(const struct nfs_server *server, struct nfs4_state *state) in nfs4_schedule_stateid_recovery()
1425 nfs_state_find_lock_state_by_stateid(struct nfs4_state *state, in nfs_state_find_lock_state_by_stateid()
1439 static bool nfs_state_lock_state_matches_stateid(struct nfs4_state *state, in nfs_state_lock_state_matches_stateid()
1459 struct nfs4_state *state; in nfs_inode_find_state_and_recover()
1489 static void nfs4_state_mark_open_context_bad(struct nfs4_state *state, int err) in nfs4_state_mark_open_context_bad()
1506 static void nfs4_state_mark_recovery_failed(struct nfs4_state *state, int error) in nfs4_state_mark_recovery_failed()
1513 static int nfs4_reclaim_locks(struct nfs4_state *state, const struct nfs4_state_recovery_ops *ops) in nfs4_reclaim_locks()
1579 static void nfs42_complete_copies(struct nfs4_state_owner *sp, struct nfs4_state *state) in nfs42_complete_copies()
1614 struct nfs4_state *state) in nfs42_complete_copies()
1619 static int __nfs4_reclaim_open_state(struct nfs4_state_owner *sp, struct nfs4_state *state, in __nfs4_reclaim_open_state()
1654 struct nfs4_state *state; in nfs4_reclaim_open_state()
1753 static void nfs4_clear_open_state(struct nfs4_state *state) in nfs4_clear_open_state()
1770 int (*mark_reclaim)(struct nfs_client *clp, struct nfs4_state *state)) in nfs4_reset_seqids()
1775 struct nfs4_state *state; in nfs4_reset_seqids()
1794 int (*mark_reclaim)(struct nfs_client *clp, struct nfs4_state *state)) in nfs4_state_mark_reclaim_helper()
1827 struct nfs4_state *state; in nfs4_clear_reclaim_server()