Lines Matching refs:nfs4_state
423 struct nfs4_state *state = exception->state; in nfs4_do_handle_exception()
601 struct nfs4_state *state, long *timeout) in nfs4_async_handle_error()
1337 static bool nfs4_mode_match_open_stateid(struct nfs4_state *state, in nfs4_mode_match_open_stateid()
1352 static int can_open_cached(struct nfs4_state *state, fmode_t mode, int open_mode) in can_open_cached()
1399 static void update_open_stateflags(struct nfs4_state *state, fmode_t fmode) in update_open_stateflags()
1415 static bool nfs_open_stateid_recover_openmode(struct nfs4_state *state) in nfs_open_stateid_recover_openmode()
1427 static void nfs_state_log_update_open_stateid(struct nfs4_state *state) in nfs_state_log_update_open_stateid()
1433 static void nfs_state_log_out_of_order_open_stateid(struct nfs4_state *state, in nfs_state_log_out_of_order_open_stateid()
1446 static void nfs_test_and_clear_all_open_stateid(struct nfs4_state *state) in nfs_test_and_clear_all_open_stateid()
1471 static bool nfs_need_update_open_stateid(struct nfs4_state *state, in nfs_need_update_open_stateid()
1490 static void nfs_resync_open_stateid_locked(struct nfs4_state *state) in nfs_resync_open_stateid_locked()
1503 static void nfs_clear_open_stateid_locked(struct nfs4_state *state, in nfs_clear_open_stateid_locked()
1535 static void nfs_clear_open_stateid(struct nfs4_state *state, in nfs_clear_open_stateid()
1548 static void nfs_set_open_stateid_locked(struct nfs4_state *state, in nfs_set_open_stateid_locked()
1601 static void nfs_state_set_open_stateid(struct nfs4_state *state, in nfs_state_set_open_stateid()
1626 static void nfs_state_set_delegation(struct nfs4_state *state, in nfs_state_set_delegation()
1640 static void nfs_state_clear_delegation(struct nfs4_state *state) in nfs_state_clear_delegation()
1648 static int update_open_stateid(struct nfs4_state *state, in update_open_stateid()
1707 struct nfs4_state *state = lsp->ls_state; in nfs4_update_lock_stateid()
1737 static struct nfs4_state *nfs4_try_open_cached(struct nfs4_opendata *opendata) in nfs4_try_open_cached()
1739 struct nfs4_state *state = opendata->state; in nfs4_try_open_cached()
1785 nfs4_opendata_check_deleg(struct nfs4_opendata *data, struct nfs4_state *state) in nfs4_opendata_check_deleg()
1829 static struct nfs4_state *
1833 struct nfs4_state *state = data->state; in _nfs4_opendata_reclaim_to_nfs4_state()
1879 static struct nfs4_state *
1882 struct nfs4_state *state; in nfs4_opendata_find_nfs4_state()
1899 static struct nfs4_state *
1902 struct nfs4_state *state; in _nfs4_opendata_to_nfs4_state()
1923 static struct nfs4_state *
1926 struct nfs4_state *ret; in nfs4_opendata_to_nfs4_state()
1936 static struct nfs_open_context *nfs4_state_find_open_context(struct nfs4_state *state) in nfs4_state_find_open_context()
1954 struct nfs4_state *state, enum open_claim_type4 claim) in nfs4_open_recoverdata_alloc()
1970 struct nfs4_state *newstate; in nfs4_open_recover_helper()
1995 static int nfs4_open_recover(struct nfs4_opendata *opendata, struct nfs4_state *state) in nfs4_open_recover()
2034 static int _nfs4_do_open_reclaim(struct nfs_open_context *ctx, struct nfs4_state *state) in _nfs4_do_open_reclaim()
2056 static int nfs4_do_open_reclaim(struct nfs_open_context *ctx, struct nfs4_state *state) in nfs4_do_open_reclaim()
2073 static int nfs4_open_reclaim(struct nfs4_state_owner *sp, struct nfs4_state *state) in nfs4_open_reclaim()
2086 static int nfs4_handle_delegation_recall_error(struct nfs_server *server, struct nfs4_state *state,… in nfs4_handle_delegation_recall_error()
2144 struct nfs4_state *state, const nfs4_stateid *stateid, in nfs4_open_delegation_recall()
2200 struct nfs4_state *state = NULL; in nfs4_open_confirm_release()
2360 struct nfs4_state *state = NULL; in nfs4_open_release()
2462 struct nfs4_state *state, fmode_t fmode, in nfs4_opendata_access()
2552 static int _nfs4_open_expired(struct nfs_open_context *ctx, struct nfs4_state *state) in _nfs4_open_expired()
2568 static int nfs4_do_open_expired(struct nfs_open_context *ctx, struct nfs4_state *state) in nfs4_do_open_expired()
2592 static int nfs4_open_expired(struct nfs4_state_owner *sp, struct nfs4_state *state) in nfs4_open_expired()
2605 static void nfs_finish_clear_delegation_stateid(struct nfs4_state *state, in nfs_finish_clear_delegation_stateid()
2612 static void nfs40_clear_delegation_stateid(struct nfs4_state *state) in nfs40_clear_delegation_stateid()
2618 static int nfs40_open_expired(struct nfs4_state_owner *sp, struct nfs4_state *state) in nfs40_open_expired()
2664 static void nfs41_check_delegation_stateid(struct nfs4_state *state) in nfs41_check_delegation_stateid()
2712 static int nfs41_check_expired_locks(struct nfs4_state *state) in nfs41_check_expired_locks()
2764 static int nfs41_check_open_stateid(struct nfs4_state *state) in nfs41_check_open_stateid()
2794 static int nfs41_open_expired(struct nfs4_state_owner *sp, struct nfs4_state *state) in nfs41_open_expired()
2858 struct nfs4_state *state; in _nfs4_open_and_get_state()
2922 struct nfs4_state *state = NULL; in _nfs4_do_open()
3026 static struct nfs4_state *nfs4_do_open(struct inode *dir, in nfs4_do_open()
3035 struct nfs4_state *res; in nfs4_do_open()
3155 struct nfs4_state *state = ctx ? ctx->state : NULL; in nfs4_do_setattr()
3214 struct nfs4_state *state;
3247 struct nfs4_state *state = calldata->state; in nfs4_close_done()
3345 struct nfs4_state *state = calldata->state; in nfs4_close_prepare()
3447 int nfs4_do_close(struct nfs4_state *state, gfp_t gfp_mask, int wait) in nfs4_do_close()
3522 struct nfs4_state *state; in nfs4_atomic_open()
4267 struct nfs4_state *state; in nfs4_proc_create()
6200 static int _nfs4_proc_getlk(struct nfs4_state *state, int cmd, struct file_lock *request) in _nfs4_proc_getlk()
6242 static int nfs4_proc_getlk(struct nfs4_state *state, int cmd, struct file_lock *request) in nfs4_proc_getlk()
6418 static int nfs4_proc_unlck(struct nfs4_state *state, int cmd, struct file_lock *request) in nfs4_proc_unlck()
6521 struct nfs4_state *state = data->lsp->ls_state; in nfs4_lock_prepare()
6652 static int _nfs4_do_setlk(struct nfs4_state *state, int cmd, struct file_lock *fl, int recovery_typ… in _nfs4_do_setlk()
6704 static int nfs4_lock_reclaim(struct nfs4_state *state, struct file_lock *request) in nfs4_lock_reclaim()
6724 static int nfs4_lock_expired(struct nfs4_state *state, struct file_lock *request) in nfs4_lock_expired()
6757 static int nfs41_lock_expired(struct nfs4_state *state, struct file_lock *request) in nfs41_lock_expired()
6773 static int _nfs4_proc_setlk(struct nfs4_state *state, int cmd, struct file_lock *request) in _nfs4_proc_setlk()
6803 static int nfs4_proc_setlk(struct nfs4_state *state, int cmd, struct file_lock *request) in nfs4_proc_setlk()
6825 nfs4_retry_setlk_simple(struct nfs4_state *state, int cmd, in nfs4_retry_setlk_simple()
6882 nfs4_retry_setlk(struct nfs4_state *state, int cmd, struct file_lock *request) in nfs4_retry_setlk()
6931 nfs4_retry_setlk(struct nfs4_state *state, int cmd, struct file_lock *request) in nfs4_retry_setlk()
6941 struct nfs4_state *state; in nfs4_proc_lock()
6991 int nfs4_lock_delegation_recall(struct file_lock *fl, struct nfs4_state *state, const nfs4_stateid … in nfs4_lock_delegation_recall()