Lines Matching refs:nfs4_state
96 struct nfs4_state *state, struct nfs4_label *ilabel,
388 struct nfs4_state *state = exception->state; in nfs4_do_handle_exception()
551 struct nfs4_state *state, long *timeout) in nfs4_async_handle_error()
1107 struct nfs4_state *state;
1317 static bool nfs4_mode_match_open_stateid(struct nfs4_state *state, in nfs4_mode_match_open_stateid()
1332 static int can_open_cached(struct nfs4_state *state, fmode_t mode, int open_mode) in can_open_cached()
1378 static void update_open_stateflags(struct nfs4_state *state, fmode_t fmode) in update_open_stateflags()
1394 static bool nfs_open_stateid_recover_openmode(struct nfs4_state *state) in nfs_open_stateid_recover_openmode()
1406 static void nfs_test_and_clear_all_open_stateid(struct nfs4_state *state) in nfs_test_and_clear_all_open_stateid()
1421 static bool nfs_need_update_open_stateid(struct nfs4_state *state, in nfs_need_update_open_stateid()
1436 static void nfs_resync_open_stateid_locked(struct nfs4_state *state) in nfs_resync_open_stateid_locked()
1449 static void nfs_clear_open_stateid_locked(struct nfs4_state *state, in nfs_clear_open_stateid_locked()
1478 static void nfs_clear_open_stateid(struct nfs4_state *state, in nfs_clear_open_stateid()
1491 static void nfs_set_open_stateid_locked(struct nfs4_state *state, in nfs_set_open_stateid_locked()
1512 static void __update_open_stateid(struct nfs4_state *state, in __update_open_stateid()
1535 static int update_open_stateid(struct nfs4_state *state, in update_open_stateid()
1590 struct nfs4_state *state = lsp->ls_state; in nfs4_update_lock_stateid()
1619 static struct nfs4_state *nfs4_try_open_cached(struct nfs4_opendata *opendata) in nfs4_try_open_cached()
1621 struct nfs4_state *state = opendata->state; in nfs4_try_open_cached()
1667 nfs4_opendata_check_deleg(struct nfs4_opendata *data, struct nfs4_state *state) in nfs4_opendata_check_deleg()
1703 static struct nfs4_state *
1707 struct nfs4_state *state = data->state; in _nfs4_opendata_reclaim_to_nfs4_state()
1736 static struct nfs4_state *
1740 struct nfs4_state *state = NULL; in _nfs4_opendata_to_nfs4_state()
1774 static struct nfs4_state *
1777 struct nfs4_state *ret; in nfs4_opendata_to_nfs4_state()
1787 static struct nfs_open_context *nfs4_state_find_open_context(struct nfs4_state *state) in nfs4_state_find_open_context()
1805 struct nfs4_state *state, enum open_claim_type4 claim) in nfs4_open_recoverdata_alloc()
1821 struct nfs4_state *newstate; in nfs4_open_recover_helper()
1846 static int nfs4_open_recover(struct nfs4_opendata *opendata, struct nfs4_state *state) in nfs4_open_recover()
1885 static int _nfs4_do_open_reclaim(struct nfs_open_context *ctx, struct nfs4_state *state) in _nfs4_do_open_reclaim()
1907 static int nfs4_do_open_reclaim(struct nfs_open_context *ctx, struct nfs4_state *state) in nfs4_do_open_reclaim()
1924 static int nfs4_open_reclaim(struct nfs4_state_owner *sp, struct nfs4_state *state) in nfs4_open_reclaim()
1937 static int nfs4_handle_delegation_recall_error(struct nfs_server *server, struct nfs4_state *state,… in nfs4_handle_delegation_recall_error()
1991 struct nfs4_state *state, const nfs4_stateid *stateid, in nfs4_open_delegation_recall()
2049 struct nfs4_state *state = NULL; in nfs4_open_confirm_release()
2210 struct nfs4_state *state = NULL; in nfs4_open_release()
2312 struct nfs4_state *state, fmode_t fmode, in nfs4_opendata_access()
2399 static int _nfs4_open_expired(struct nfs_open_context *ctx, struct nfs4_state *state) in _nfs4_open_expired()
2415 static int nfs4_do_open_expired(struct nfs_open_context *ctx, struct nfs4_state *state) in nfs4_do_open_expired()
2439 static int nfs4_open_expired(struct nfs4_state_owner *sp, struct nfs4_state *state) in nfs4_open_expired()
2452 static void nfs_finish_clear_delegation_stateid(struct nfs4_state *state, in nfs_finish_clear_delegation_stateid()
2462 static void nfs40_clear_delegation_stateid(struct nfs4_state *state) in nfs40_clear_delegation_stateid()
2468 static int nfs40_open_expired(struct nfs4_state_owner *sp, struct nfs4_state *state) in nfs40_open_expired()
2514 static void nfs41_check_delegation_stateid(struct nfs4_state *state) in nfs41_check_delegation_stateid()
2557 static int nfs41_check_expired_locks(struct nfs4_state *state) in nfs41_check_expired_locks()
2609 static int nfs41_check_open_stateid(struct nfs4_state *state) in nfs41_check_open_stateid()
2640 static int nfs41_open_expired(struct nfs4_state_owner *sp, struct nfs4_state *state) in nfs41_open_expired()
2690 struct nfs4_state *state; in _nfs4_open_and_get_state()
2750 struct nfs4_state *state = NULL; in _nfs4_do_open()
2848 static struct nfs4_state *nfs4_do_open(struct inode *dir, in nfs4_do_open()
2857 struct nfs4_state *res; in nfs4_do_open()
2911 struct nfs4_state *state) in _nfs4_do_setattr()
2960 struct nfs4_state *state, struct nfs4_label *ilabel, in nfs4_do_setattr()
3022 struct nfs4_state *state;
3049 struct nfs4_state *state = calldata->state; in nfs4_close_done()
3100 struct nfs4_state *state = calldata->state; in nfs4_close_prepare()
3194 int nfs4_do_close(struct nfs4_state *state, gfp_t gfp_mask, int wait) in nfs4_do_close()
3260 struct nfs4_state *state; in nfs4_atomic_open()
3690 struct nfs4_state *state = NULL; in nfs4_proc_setattr()
3971 struct nfs4_state *state; in nfs4_proc_create()
5722 static int _nfs4_proc_getlk(struct nfs4_state *state, int cmd, struct file_lock *request) in _nfs4_proc_getlk()
5764 static int nfs4_proc_getlk(struct nfs4_state *state, int cmd, struct file_lock *request) in nfs4_proc_getlk()
5923 static int nfs4_proc_unlck(struct nfs4_state *state, int cmd, struct file_lock *request) in nfs4_proc_unlck()
6026 struct nfs4_state *state = data->lsp->ls_state; in nfs4_lock_prepare()
6153 static int _nfs4_do_setlk(struct nfs4_state *state, int cmd, struct file_lock *fl, int recovery_typ… in _nfs4_do_setlk()
6205 static int nfs4_lock_reclaim(struct nfs4_state *state, struct file_lock *request) in nfs4_lock_reclaim()
6225 static int nfs4_lock_expired(struct nfs4_state *state, struct file_lock *request) in nfs4_lock_expired()
6258 static int nfs41_lock_expired(struct nfs4_state *state, struct file_lock *request) in nfs41_lock_expired()
6275 static int _nfs4_proc_setlk(struct nfs4_state *state, int cmd, struct file_lock *request) in _nfs4_proc_setlk()
6305 static int nfs4_proc_setlk(struct nfs4_state *state, int cmd, struct file_lock *request) in nfs4_proc_setlk()
6327 nfs4_retry_setlk_simple(struct nfs4_state *state, int cmd, in nfs4_retry_setlk_simple()
6382 nfs4_retry_setlk(struct nfs4_state *state, int cmd, struct file_lock *request) in nfs4_retry_setlk()
6430 nfs4_retry_setlk(struct nfs4_state *state, int cmd, struct file_lock *request) in nfs4_retry_setlk()
6440 struct nfs4_state *state; in nfs4_proc_lock()
6493 int nfs4_lock_delegation_recall(struct file_lock *fl, struct nfs4_state *state, const nfs4_stateid … in nfs4_lock_delegation_recall()