Lines Matching refs:nfs4_state
485 struct nfs4_state *state = exception->state; in nfs4_do_handle_exception()
694 struct nfs4_state *state, long *timeout) in nfs4_async_handle_error()
1533 static bool nfs4_mode_match_open_stateid(struct nfs4_state *state, in nfs4_mode_match_open_stateid()
1548 static int can_open_cached(struct nfs4_state *state, fmode_t mode, in can_open_cached()
1601 static void update_open_stateflags(struct nfs4_state *state, fmode_t fmode) in update_open_stateflags()
1617 static bool nfs_open_stateid_recover_openmode(struct nfs4_state *state) in nfs_open_stateid_recover_openmode()
1629 static void nfs_state_log_update_open_stateid(struct nfs4_state *state) in nfs_state_log_update_open_stateid()
1635 static void nfs_test_and_clear_all_open_stateid(struct nfs4_state *state) in nfs_test_and_clear_all_open_stateid()
1660 static bool nfs_stateid_is_sequential(struct nfs4_state *state, in nfs_stateid_is_sequential()
1678 static void nfs_resync_open_stateid_locked(struct nfs4_state *state) in nfs_resync_open_stateid_locked()
1691 static void nfs_clear_open_stateid_locked(struct nfs4_state *state, in nfs_clear_open_stateid_locked()
1723 static void nfs_clear_open_stateid(struct nfs4_state *state, in nfs_clear_open_stateid()
1736 static void nfs_set_open_stateid_locked(struct nfs4_state *state, in nfs_set_open_stateid_locked()
1794 static void nfs_state_set_open_stateid(struct nfs4_state *state, in nfs_state_set_open_stateid()
1819 static void nfs_state_clear_open_state_flags(struct nfs4_state *state) in nfs_state_clear_open_state_flags()
1827 static void nfs_state_set_delegation(struct nfs4_state *state, in nfs_state_set_delegation()
1841 static void nfs_state_clear_delegation(struct nfs4_state *state) in nfs_state_clear_delegation()
1849 int update_open_stateid(struct nfs4_state *state, in update_open_stateid()
1908 struct nfs4_state *state = lsp->ls_state; in nfs4_update_lock_stateid()
1938 static struct nfs4_state *nfs4_try_open_cached(struct nfs4_opendata *opendata) in nfs4_try_open_cached()
1940 struct nfs4_state *state = opendata->state; in nfs4_try_open_cached()
2026 static struct nfs4_state *
2030 struct nfs4_state *state = data->state; in _nfs4_opendata_reclaim_to_nfs4_state()
2081 static struct nfs4_state *
2084 struct nfs4_state *state; in nfs4_opendata_find_nfs4_state()
2101 static struct nfs4_state *
2104 struct nfs4_state *state; in _nfs4_opendata_to_nfs4_state()
2136 static struct nfs4_state *
2139 struct nfs4_state *ret; in nfs4_opendata_to_nfs4_state()
2150 nfs4_state_find_open_context_mode(struct nfs4_state *state, fmode_t mode) in nfs4_state_find_open_context_mode()
2171 nfs4_state_find_open_context(struct nfs4_state *state) in nfs4_state_find_open_context()
2185 struct nfs4_state *state, enum open_claim_type4 claim) in nfs4_open_recoverdata_alloc()
2201 struct nfs4_state *newstate; in nfs4_open_recover_helper()
2226 static int nfs4_open_recover(struct nfs4_opendata *opendata, struct nfs4_state *state) in nfs4_open_recover()
2259 static int _nfs4_do_open_reclaim(struct nfs_open_context *ctx, struct nfs4_state *state) in _nfs4_do_open_reclaim()
2293 static int nfs4_do_open_reclaim(struct nfs_open_context *ctx, struct nfs4_state *state) in nfs4_do_open_reclaim()
2310 static int nfs4_open_reclaim(struct nfs4_state_owner *sp, struct nfs4_state *state) in nfs4_open_reclaim()
2325 static int nfs4_handle_delegation_recall_error(struct nfs_server *server, struct nfs4_state *state,… in nfs4_handle_delegation_recall_error()
2381 struct nfs4_state *state, const nfs4_stateid *stateid) in nfs4_open_delegation_recall()
2439 struct nfs4_state *state = NULL; in nfs4_open_confirm_release()
2604 struct nfs4_state *state = NULL; in nfs4_open_release()
2710 struct nfs4_state *state, fmode_t fmode) in nfs4_opendata_access()
2798 static int _nfs4_open_expired(struct nfs_open_context *ctx, struct nfs4_state *state) in _nfs4_open_expired()
2819 static int nfs4_do_open_expired(struct nfs_open_context *ctx, struct nfs4_state *state) in nfs4_do_open_expired()
2843 static int nfs4_open_expired(struct nfs4_state_owner *sp, struct nfs4_state *state) in nfs4_open_expired()
2856 static void nfs_finish_clear_delegation_stateid(struct nfs4_state *state, in nfs_finish_clear_delegation_stateid()
2863 static void nfs40_clear_delegation_stateid(struct nfs4_state *state) in nfs40_clear_delegation_stateid()
2869 static int nfs40_open_expired(struct nfs4_state_owner *sp, struct nfs4_state *state) in nfs40_open_expired()
2916 static int nfs41_check_delegation_stateid(struct nfs4_state *state) in nfs41_check_delegation_stateid()
2958 static void nfs41_delegation_recover_stateid(struct nfs4_state *state) in nfs41_delegation_recover_stateid()
2979 static int nfs41_check_expired_locks(struct nfs4_state *state) in nfs41_check_expired_locks()
3031 static int nfs41_check_open_stateid(struct nfs4_state *state) in nfs41_check_open_stateid()
3052 static int nfs41_open_expired(struct nfs4_state_owner *sp, struct nfs4_state *state) in nfs41_open_expired()
3118 struct nfs4_state *state; in _nfs4_open_and_get_state()
3200 struct nfs4_state *state = NULL; in _nfs4_do_open()
3291 static struct nfs4_state *nfs4_do_open(struct inode *dir, in nfs4_do_open()
3302 struct nfs4_state *res; in nfs4_do_open()
3430 struct nfs4_state *state = ctx ? ctx->state : NULL; in nfs4_do_setattr()
3500 struct nfs4_state *state) in nfs4_sync_open_stateid()
3532 struct nfs4_state *state) in nfs4_refresh_open_old_stateid()
3594 struct nfs4_state *state;
3627 struct nfs4_state *state = calldata->state; in nfs4_close_done()
3701 struct nfs4_state *state = calldata->state; in nfs4_close_prepare()
3804 int nfs4_do_close(struct nfs4_state *state, gfp_t gfp_mask, int wait) in nfs4_do_close()
3882 struct nfs4_state *state; in nfs4_atomic_open()
4829 struct nfs4_state *state; in nfs4_proc_create()
6925 static int _nfs4_proc_getlk(struct nfs4_state *state, int cmd, struct file_lock *request) in _nfs4_proc_getlk()
6967 static int nfs4_proc_getlk(struct nfs4_state *state, int cmd, struct file_lock *request) in nfs4_proc_getlk()
6990 struct nfs4_state *state = lsp->ls_state; in nfs4_refresh_lock_old_stateid()
7009 struct nfs4_state *state = lsp->ls_state; in nfs4_sync_lock_stateid()
7036 struct nfs4_state *state = lsp->ls_state; in nfs4_alloc_unlockdata()
7191 static int nfs4_proc_unlck(struct nfs4_state *state, int cmd, struct file_lock *request) in nfs4_proc_unlck()
7297 struct nfs4_state *state = data->lsp->ls_state; in nfs4_lock_prepare()
7430 static int _nfs4_do_setlk(struct nfs4_state *state, int cmd, struct file_lock *fl, int recovery_typ… in _nfs4_do_setlk()
7484 static int nfs4_lock_reclaim(struct nfs4_state *state, struct file_lock *request) in nfs4_lock_reclaim()
7504 static int nfs4_lock_expired(struct nfs4_state *state, struct file_lock *request) in nfs4_lock_expired()
7537 static int nfs41_lock_expired(struct nfs4_state *state, struct file_lock *request) in nfs41_lock_expired()
7553 static int _nfs4_proc_setlk(struct nfs4_state *state, int cmd, struct file_lock *request) in _nfs4_proc_setlk()
7583 static int nfs4_proc_setlk(struct nfs4_state *state, int cmd, struct file_lock *request) in nfs4_proc_setlk()
7606 nfs4_retry_setlk_simple(struct nfs4_state *state, int cmd, in nfs4_retry_setlk_simple()
7657 nfs4_retry_setlk(struct nfs4_state *state, int cmd, struct file_lock *request) in nfs4_retry_setlk()
7695 nfs4_retry_setlk(struct nfs4_state *state, int cmd, struct file_lock *request) in nfs4_retry_setlk()
7705 struct nfs4_state *state; in nfs4_proc_lock()
7792 int nfs4_lock_delegation_recall(struct file_lock *fl, struct nfs4_state *state, const nfs4_stateid … in nfs4_lock_delegation_recall()