Lines Matching refs:nfs4_state

662 static struct nfs4_state *
665 struct nfs4_state *state; in nfs4_alloc_open_state()
679 nfs4_state_set_mode_locked(struct nfs4_state *state, fmode_t fmode) in nfs4_state_set_mode_locked()
693 static struct nfs4_state *
697 struct nfs4_state *state; in __nfs4_find_state_byowner()
711 nfs4_free_open_state(struct nfs4_state *state) in nfs4_free_open_state()
716 struct nfs4_state *
719 struct nfs4_state *state, *new; in nfs4_get_open_state()
753 void nfs4_put_open_state(struct nfs4_state *state) in nfs4_put_open_state()
774 static void __nfs4_close(struct nfs4_state *state, in __nfs4_close()
819 void nfs4_close_state(struct nfs4_state *state, fmode_t fmode) in nfs4_close_state()
824 void nfs4_close_sync(struct nfs4_state *state, fmode_t fmode) in nfs4_close_sync()
843 __nfs4_find_lock_state(struct nfs4_state *state, in __nfs4_find_lock_state()
865 static struct nfs4_lock_state *nfs4_alloc_lock_state(struct nfs4_state *state, fl_owner_t owner) in nfs4_alloc_lock_state()
893 static struct nfs4_lock_state *nfs4_get_lock_state(struct nfs4_state *state, fl_owner_t owner) in nfs4_get_lock_state()
927 struct nfs4_state *state; in nfs4_put_lock_state()
965 int nfs4_set_lock_state(struct nfs4_state *state, struct file_lock *fl) in nfs4_set_lock_state()
980 struct nfs4_state *state, in nfs4_copy_lock_stateid()
1010 bool nfs4_copy_open_stateid(nfs4_stateid *dst, struct nfs4_state *state) in nfs4_copy_open_stateid()
1033 int nfs4_select_rw_stateid(struct nfs4_state *state, in nfs4_select_rw_stateid()
1370 static int nfs4_state_mark_reclaim_reboot(struct nfs_client *clp, struct nfs4_state *state) in nfs4_state_mark_reclaim_reboot()
1386 int nfs4_state_mark_reclaim_nograce(struct nfs_client *clp, struct nfs4_state *state) in nfs4_state_mark_reclaim_nograce()
1397 int nfs4_schedule_stateid_recovery(const struct nfs_server *server, struct nfs4_state *state) in nfs4_schedule_stateid_recovery()
1413 nfs_state_find_lock_state_by_stateid(struct nfs4_state *state, in nfs_state_find_lock_state_by_stateid()
1427 static bool nfs_state_lock_state_matches_stateid(struct nfs4_state *state, in nfs_state_lock_state_matches_stateid()
1447 struct nfs4_state *state; in nfs_inode_find_state_and_recover()
1477 static void nfs4_state_mark_open_context_bad(struct nfs4_state *state, int err) in nfs4_state_mark_open_context_bad()
1494 static void nfs4_state_mark_recovery_failed(struct nfs4_state *state, int error) in nfs4_state_mark_recovery_failed()
1501 static int nfs4_reclaim_locks(struct nfs4_state *state, const struct nfs4_state_recovery_ops *ops) in nfs4_reclaim_locks()
1567 static void nfs42_complete_copies(struct nfs4_state_owner *sp, struct nfs4_state *state) in nfs42_complete_copies()
1602 struct nfs4_state *state) in nfs42_complete_copies()
1607 static int __nfs4_reclaim_open_state(struct nfs4_state_owner *sp, struct nfs4_state *state, in __nfs4_reclaim_open_state()
1642 struct nfs4_state *state; in nfs4_reclaim_open_state()
1738 static void nfs4_clear_open_state(struct nfs4_state *state) in nfs4_clear_open_state()
1755 int (*mark_reclaim)(struct nfs_client *clp, struct nfs4_state *state)) in nfs4_reset_seqids()
1760 struct nfs4_state *state; in nfs4_reset_seqids()
1779 int (*mark_reclaim)(struct nfs_client *clp, struct nfs4_state *state)) in nfs4_state_mark_reclaim_helper()
1812 struct nfs4_state *state; in nfs4_clear_reclaim_server()