Home
last modified time | relevance | path

Searched refs:nfs4_state (Results 1 – 8 of 8) sorted by relevance

/fs/nfs/
Dnfs4_fs.h136 struct nfs4_state * ls_state; /* Pointer to open state */
159 struct nfs4_state { struct
186 struct nfs4_state *state; argument
193 int (*recover_open)(struct nfs4_state_owner *, struct nfs4_state *);
194 int (*recover_lock)(struct nfs4_state *, struct file_lock *);
232 extern int nfs4_do_close(struct nfs4_state *state, gfp_t gfp_mask, int wait);
346 extern struct nfs4_state * nfs4_get_open_state(struct inode *, struct nfs4_state_owner *);
347 extern void nfs4_put_open_state(struct nfs4_state *);
348 extern void nfs4_close_state(struct nfs4_state *, fmode_t);
349 extern void nfs4_close_sync(struct nfs4_state *, fmode_t);
[all …]
Dnfs4state.c650 static struct nfs4_state *
653 struct nfs4_state *state; in nfs4_alloc_open_state()
666 nfs4_state_set_mode_locked(struct nfs4_state *state, fmode_t fmode) in nfs4_state_set_mode_locked()
680 static struct nfs4_state *
684 struct nfs4_state *state; in __nfs4_find_state_byowner()
698 nfs4_free_open_state(struct nfs4_state *state) in nfs4_free_open_state()
703 struct nfs4_state *
706 struct nfs4_state *state, *new; in nfs4_get_open_state()
740 void nfs4_put_open_state(struct nfs4_state *state) in nfs4_put_open_state()
760 static void __nfs4_close(struct nfs4_state *state, in __nfs4_close()
[all …]
Dnfs4proc.c78 static int nfs4_async_handle_error(struct rpc_task *, const struct nfs_server *, struct nfs4_state
84 struct nfs4_state *state);
284 struct nfs4_state *state = exception->state; in nfs4_handle_exception()
768 struct nfs4_state *state;
925 static int can_open_cached(struct nfs4_state *state, fmode_t mode, int open_mode) in can_open_cached()
962 static void update_open_stateflags(struct nfs4_state *state, fmode_t fmode) in update_open_stateflags()
977 static void nfs_set_open_stateid_locked(struct nfs4_state *state, nfs4_stateid *stateid, fmode_t fm… in nfs_set_open_stateid_locked()
995 static void nfs_set_open_stateid(struct nfs4_state *state, nfs4_stateid *stateid, fmode_t fmode) in nfs_set_open_stateid()
1002 static void __update_open_stateid(struct nfs4_state *state, nfs4_stateid *open_stateid, const nfs4_… in __update_open_stateid()
1021 static int update_open_stateid(struct nfs4_state *state, nfs4_stateid *open_stateid, nfs4_stateid *… in update_open_stateid()
[all …]
Ddelegation.h56 int nfs4_open_delegation_recall(struct nfs_open_context *ctx, struct nfs4_state *state, const nfs4_…
57 int nfs4_lock_delegation_recall(struct file_lock *fl, struct nfs4_state *state, const nfs4_stateid …
Ddelegation.c67 static int nfs_delegation_claim_locks(struct nfs_open_context *ctx, struct nfs4_state *state, const… in nfs_delegation_claim_locks()
99 struct nfs4_state *state; in nfs_delegation_claim_opens()
Dpnfs.h210 struct nfs4_state *open_state);
Dnfs4filelayout.c136 struct nfs4_state *state, in filelayout_async_handle_error()
Dpnfs.c713 struct nfs4_state *open_state) in pnfs_choose_layoutget_stateid()