Lines Matching refs:nfs4_state

81 static int nfs4_async_handle_error(struct rpc_task *, const struct nfs_server *, struct nfs4_state
87 struct nfs4_state *state, struct nfs4_label *ilabel,
350 struct nfs4_state *state = exception->state; in nfs4_handle_exception()
924 struct nfs4_state *state;
1126 static int can_open_cached(struct nfs4_state *state, fmode_t mode, int open_mode) in can_open_cached()
1163 static void update_open_stateflags(struct nfs4_state *state, fmode_t fmode) in update_open_stateflags()
1178 static void nfs_test_and_clear_all_open_stateid(struct nfs4_state *state) in nfs_test_and_clear_all_open_stateid()
1193 static bool nfs_need_update_open_stateid(struct nfs4_state *state, in nfs_need_update_open_stateid()
1207 static void nfs_resync_open_stateid_locked(struct nfs4_state *state) in nfs_resync_open_stateid_locked()
1220 static void nfs_clear_open_stateid_locked(struct nfs4_state *state, in nfs_clear_open_stateid_locked()
1251 static void nfs_clear_open_stateid(struct nfs4_state *state, in nfs_clear_open_stateid()
1262 static void nfs_set_open_stateid_locked(struct nfs4_state *state, nfs4_stateid *stateid, fmode_t fm… in nfs_set_open_stateid_locked()
1281 static void __update_open_stateid(struct nfs4_state *state, nfs4_stateid *open_stateid, const nfs4_… in __update_open_stateid()
1300 static int update_open_stateid(struct nfs4_state *state, nfs4_stateid *open_stateid, nfs4_stateid *… in update_open_stateid()
1345 struct nfs4_state *state = lsp->ls_state; in nfs4_update_lock_stateid()
1374 static struct nfs4_state *nfs4_try_open_cached(struct nfs4_opendata *opendata) in nfs4_try_open_cached()
1376 struct nfs4_state *state = opendata->state; in nfs4_try_open_cached()
1421 nfs4_opendata_check_deleg(struct nfs4_opendata *data, struct nfs4_state *state) in nfs4_opendata_check_deleg()
1451 static struct nfs4_state *
1455 struct nfs4_state *state = data->state; in _nfs4_opendata_reclaim_to_nfs4_state()
1484 static struct nfs4_state *
1488 struct nfs4_state *state = NULL; in _nfs4_opendata_to_nfs4_state()
1521 static struct nfs4_state *
1529 static struct nfs_open_context *nfs4_state_find_open_context(struct nfs4_state *state) in nfs4_state_find_open_context()
1547 struct nfs4_state *state, enum open_claim_type4 claim) in nfs4_open_recoverdata_alloc()
1560 …nt nfs4_open_recover_helper(struct nfs4_opendata *opendata, fmode_t fmode, struct nfs4_state **res) in nfs4_open_recover_helper()
1562 struct nfs4_state *newstate; in nfs4_open_recover_helper()
1584 static int nfs4_open_recover(struct nfs4_opendata *opendata, struct nfs4_state *state) in nfs4_open_recover()
1586 struct nfs4_state *newstate; in nfs4_open_recover()
1636 static int _nfs4_do_open_reclaim(struct nfs_open_context *ctx, struct nfs4_state *state) in _nfs4_do_open_reclaim()
1658 static int nfs4_do_open_reclaim(struct nfs_open_context *ctx, struct nfs4_state *state) in nfs4_do_open_reclaim()
1675 static int nfs4_open_reclaim(struct nfs4_state_owner *sp, struct nfs4_state *state) in nfs4_open_reclaim()
1688 static int nfs4_handle_delegation_recall_error(struct nfs_server *server, struct nfs4_state *state,… in nfs4_handle_delegation_recall_error()
1740 int nfs4_open_delegation_recall(struct nfs_open_context *ctx, struct nfs4_state *state, const nfs4_… in nfs4_open_delegation_recall()
1782 struct nfs4_state *state = NULL; in nfs4_open_confirm_release()
1939 struct nfs4_state *state = NULL; in nfs4_open_release()
2041 struct nfs4_state *state, fmode_t fmode, in nfs4_opendata_access()
2128 static int _nfs4_open_expired(struct nfs_open_context *ctx, struct nfs4_state *state) in _nfs4_open_expired()
2144 static int nfs4_do_open_expired(struct nfs_open_context *ctx, struct nfs4_state *state) in nfs4_do_open_expired()
2168 static int nfs4_open_expired(struct nfs4_state_owner *sp, struct nfs4_state *state) in nfs4_open_expired()
2181 static void nfs_finish_clear_delegation_stateid(struct nfs4_state *state) in nfs_finish_clear_delegation_stateid()
2190 static void nfs40_clear_delegation_stateid(struct nfs4_state *state) in nfs40_clear_delegation_stateid()
2196 static int nfs40_open_expired(struct nfs4_state_owner *sp, struct nfs4_state *state) in nfs40_open_expired()
2204 static void nfs41_check_delegation_stateid(struct nfs4_state *state) in nfs41_check_delegation_stateid()
2245 static int nfs41_check_open_stateid(struct nfs4_state *state) in nfs41_check_open_stateid()
2274 static int nfs41_open_expired(struct nfs4_state_owner *sp, struct nfs4_state *state) in nfs41_open_expired()
2310 struct nfs4_state *state; in _nfs4_open_and_get_state()
2367 struct nfs4_state *state = NULL; in _nfs4_do_open()
2460 static struct nfs4_state *nfs4_do_open(struct inode *dir, in nfs4_do_open()
2469 struct nfs4_state *res; in nfs4_do_open()
2521 struct nfs4_state *state, struct nfs4_label *ilabel, in _nfs4_do_setattr()
2581 struct nfs4_state *state, struct nfs4_label *ilabel, in nfs4_do_setattr()
2617 struct nfs4_state *state;
2644 struct nfs4_state *state = calldata->state; in nfs4_close_done()
2692 struct nfs4_state *state = calldata->state; in nfs4_close_prepare()
2784 int nfs4_do_close(struct nfs4_state *state, gfp_t gfp_mask, int wait) in nfs4_do_close()
2850 struct nfs4_state *state; in nfs4_atomic_open()
3268 struct nfs4_state *state = NULL; in nfs4_proc_setattr()
3547 struct nfs4_state *state; in nfs4_proc_create()
4879 struct nfs4_state *state, long *timeout) in nfs4_async_handle_error()
5314 static int _nfs4_proc_getlk(struct nfs4_state *state, int cmd, struct file_lock *request) in _nfs4_proc_getlk()
5356 static int nfs4_proc_getlk(struct nfs4_state *state, int cmd, struct file_lock *request) in nfs4_proc_getlk()
5527 static int nfs4_proc_unlck(struct nfs4_state *state, int cmd, struct file_lock *request) in nfs4_proc_unlck()
5631 struct nfs4_state *state = data->lsp->ls_state; in nfs4_lock_prepare()
5759 static int _nfs4_do_setlk(struct nfs4_state *state, int cmd, struct file_lock *fl, int recovery_typ… in _nfs4_do_setlk()
5810 static int nfs4_lock_reclaim(struct nfs4_state *state, struct file_lock *request) in nfs4_lock_reclaim()
5831 static int nfs4_lock_expired(struct nfs4_state *state, struct file_lock *request) in nfs4_lock_expired()
5873 static int nfs41_check_expired_locks(struct nfs4_state *state) in nfs41_check_expired_locks()
5903 static int nfs41_lock_expired(struct nfs4_state *state, struct file_lock *request) in nfs41_lock_expired()
5915 static int _nfs4_proc_setlk(struct nfs4_state *state, int cmd, struct file_lock *request) in _nfs4_proc_setlk()
5948 static int nfs4_proc_setlk(struct nfs4_state *state, int cmd, struct file_lock *request) in nfs4_proc_setlk()
5971 struct nfs4_state *state; in nfs4_proc_lock()
6025 int nfs4_lock_delegation_recall(struct file_lock *fl, struct nfs4_state *state, const nfs4_stateid … in nfs4_lock_delegation_recall()
7652 struct nfs4_state *state = NULL; in nfs4_layoutget_done()