Lines Matching refs:nfs4_state
472 struct nfs4_state *state = exception->state; in nfs4_do_handle_exception()
655 struct nfs4_state *state, long *timeout) in nfs4_async_handle_error()
1467 static bool nfs4_mode_match_open_stateid(struct nfs4_state *state, in nfs4_mode_match_open_stateid()
1482 static int can_open_cached(struct nfs4_state *state, fmode_t mode, in can_open_cached()
1535 static void update_open_stateflags(struct nfs4_state *state, fmode_t fmode) in update_open_stateflags()
1551 static bool nfs_open_stateid_recover_openmode(struct nfs4_state *state) in nfs_open_stateid_recover_openmode()
1563 static void nfs_state_log_update_open_stateid(struct nfs4_state *state) in nfs_state_log_update_open_stateid()
1569 static void nfs_test_and_clear_all_open_stateid(struct nfs4_state *state) in nfs_test_and_clear_all_open_stateid()
1594 static bool nfs_stateid_is_sequential(struct nfs4_state *state, in nfs_stateid_is_sequential()
1612 static void nfs_resync_open_stateid_locked(struct nfs4_state *state) in nfs_resync_open_stateid_locked()
1625 static void nfs_clear_open_stateid_locked(struct nfs4_state *state, in nfs_clear_open_stateid_locked()
1657 static void nfs_clear_open_stateid(struct nfs4_state *state, in nfs_clear_open_stateid()
1670 static void nfs_set_open_stateid_locked(struct nfs4_state *state, in nfs_set_open_stateid_locked()
1728 static void nfs_state_set_open_stateid(struct nfs4_state *state, in nfs_state_set_open_stateid()
1753 static void nfs_state_clear_open_state_flags(struct nfs4_state *state) in nfs_state_clear_open_state_flags()
1761 static void nfs_state_set_delegation(struct nfs4_state *state, in nfs_state_set_delegation()
1775 static void nfs_state_clear_delegation(struct nfs4_state *state) in nfs_state_clear_delegation()
1783 int update_open_stateid(struct nfs4_state *state, in update_open_stateid()
1842 struct nfs4_state *state = lsp->ls_state; in nfs4_update_lock_stateid()
1872 static struct nfs4_state *nfs4_try_open_cached(struct nfs4_opendata *opendata) in nfs4_try_open_cached()
1874 struct nfs4_state *state = opendata->state; in nfs4_try_open_cached()
1919 nfs4_opendata_check_deleg(struct nfs4_opendata *data, struct nfs4_state *state) in nfs4_opendata_check_deleg()
1963 static struct nfs4_state *
1967 struct nfs4_state *state = data->state; in _nfs4_opendata_reclaim_to_nfs4_state()
2014 static struct nfs4_state *
2017 struct nfs4_state *state; in nfs4_opendata_find_nfs4_state()
2034 static struct nfs4_state *
2037 struct nfs4_state *state; in _nfs4_opendata_to_nfs4_state()
2061 static struct nfs4_state *
2064 struct nfs4_state *ret; in nfs4_opendata_to_nfs4_state()
2075 nfs4_state_find_open_context_mode(struct nfs4_state *state, fmode_t mode) in nfs4_state_find_open_context_mode()
2096 nfs4_state_find_open_context(struct nfs4_state *state) in nfs4_state_find_open_context()
2110 struct nfs4_state *state, enum open_claim_type4 claim) in nfs4_open_recoverdata_alloc()
2126 struct nfs4_state *newstate; in nfs4_open_recover_helper()
2151 static int nfs4_open_recover(struct nfs4_opendata *opendata, struct nfs4_state *state) in nfs4_open_recover()
2184 static int _nfs4_do_open_reclaim(struct nfs_open_context *ctx, struct nfs4_state *state) in _nfs4_do_open_reclaim()
2206 static int nfs4_do_open_reclaim(struct nfs_open_context *ctx, struct nfs4_state *state) in nfs4_do_open_reclaim()
2223 static int nfs4_open_reclaim(struct nfs4_state_owner *sp, struct nfs4_state *state) in nfs4_open_reclaim()
2238 static int nfs4_handle_delegation_recall_error(struct nfs_server *server, struct nfs4_state *state,… in nfs4_handle_delegation_recall_error()
2293 struct nfs4_state *state, const nfs4_stateid *stateid) in nfs4_open_delegation_recall()
2351 struct nfs4_state *state = NULL; in nfs4_open_confirm_release()
2512 struct nfs4_state *state = NULL; in nfs4_open_release()
2615 struct nfs4_state *state, fmode_t fmode, in nfs4_opendata_access()
2706 static int _nfs4_open_expired(struct nfs_open_context *ctx, struct nfs4_state *state) in _nfs4_open_expired()
2722 static int nfs4_do_open_expired(struct nfs_open_context *ctx, struct nfs4_state *state) in nfs4_do_open_expired()
2746 static int nfs4_open_expired(struct nfs4_state_owner *sp, struct nfs4_state *state) in nfs4_open_expired()
2759 static void nfs_finish_clear_delegation_stateid(struct nfs4_state *state, in nfs_finish_clear_delegation_stateid()
2766 static void nfs40_clear_delegation_stateid(struct nfs4_state *state) in nfs40_clear_delegation_stateid()
2772 static int nfs40_open_expired(struct nfs4_state_owner *sp, struct nfs4_state *state) in nfs40_open_expired()
2819 static int nfs41_check_delegation_stateid(struct nfs4_state *state) in nfs41_check_delegation_stateid()
2861 static void nfs41_delegation_recover_stateid(struct nfs4_state *state) in nfs41_delegation_recover_stateid()
2882 static int nfs41_check_expired_locks(struct nfs4_state *state) in nfs41_check_expired_locks()
2934 static int nfs41_check_open_stateid(struct nfs4_state *state) in nfs41_check_open_stateid()
2955 static int nfs41_open_expired(struct nfs4_state_owner *sp, struct nfs4_state *state) in nfs41_open_expired()
3021 struct nfs4_state *state; in _nfs4_open_and_get_state()
3107 struct nfs4_state *state = NULL; in _nfs4_do_open()
3211 static struct nfs4_state *nfs4_do_open(struct inode *dir, in nfs4_do_open()
3222 struct nfs4_state *res; in nfs4_do_open()
3351 struct nfs4_state *state = ctx ? ctx->state : NULL; in nfs4_do_setattr()
3412 struct nfs4_state *state) in nfs4_sync_open_stateid()
3444 struct nfs4_state *state) in nfs4_refresh_open_old_stateid()
3506 struct nfs4_state *state;
3539 struct nfs4_state *state = calldata->state; in nfs4_close_done()
3614 struct nfs4_state *state = calldata->state; in nfs4_close_prepare()
3720 int nfs4_do_close(struct nfs4_state *state, gfp_t gfp_mask, int wait) in nfs4_do_close()
3795 struct nfs4_state *state; in nfs4_atomic_open()
4562 struct nfs4_state *state; in nfs4_proc_create()
6608 static int _nfs4_proc_getlk(struct nfs4_state *state, int cmd, struct file_lock *request) in _nfs4_proc_getlk()
6650 static int nfs4_proc_getlk(struct nfs4_state *state, int cmd, struct file_lock *request) in nfs4_proc_getlk()
6673 struct nfs4_state *state = lsp->ls_state; in nfs4_refresh_lock_old_stateid()
6692 struct nfs4_state *state = lsp->ls_state; in nfs4_sync_lock_stateid()
6719 struct nfs4_state *state = lsp->ls_state; in nfs4_alloc_unlockdata()
6871 static int nfs4_proc_unlck(struct nfs4_state *state, int cmd, struct file_lock *request) in nfs4_proc_unlck()
6974 struct nfs4_state *state = data->lsp->ls_state; in nfs4_lock_prepare()
7107 static int _nfs4_do_setlk(struct nfs4_state *state, int cmd, struct file_lock *fl, int recovery_typ… in _nfs4_do_setlk()
7159 static int nfs4_lock_reclaim(struct nfs4_state *state, struct file_lock *request) in nfs4_lock_reclaim()
7179 static int nfs4_lock_expired(struct nfs4_state *state, struct file_lock *request) in nfs4_lock_expired()
7212 static int nfs41_lock_expired(struct nfs4_state *state, struct file_lock *request) in nfs41_lock_expired()
7228 static int _nfs4_proc_setlk(struct nfs4_state *state, int cmd, struct file_lock *request) in _nfs4_proc_setlk()
7258 static int nfs4_proc_setlk(struct nfs4_state *state, int cmd, struct file_lock *request) in nfs4_proc_setlk()
7281 nfs4_retry_setlk_simple(struct nfs4_state *state, int cmd, in nfs4_retry_setlk_simple()
7337 nfs4_retry_setlk(struct nfs4_state *state, int cmd, struct file_lock *request) in nfs4_retry_setlk()
7379 nfs4_retry_setlk(struct nfs4_state *state, int cmd, struct file_lock *request) in nfs4_retry_setlk()
7389 struct nfs4_state *state; in nfs4_proc_lock()
7439 int nfs4_lock_delegation_recall(struct file_lock *fl, struct nfs4_state *state, const nfs4_stateid … in nfs4_lock_delegation_recall()