Home
last modified time | relevance | path

Searched refs:nfs_open_context (Results 1 – 25 of 25) sorted by relevance

/linux-4.1.27/include/linux/
Dnfs_fs.h72 struct nfs_open_context *open_context;
78 struct nfs_open_context { struct
364 extern struct nfs_open_context *get_nfs_open_context(struct nfs_open_context *ctx);
365 extern void put_nfs_open_context(struct nfs_open_context *ctx);
366 extern struct nfs_open_context *nfs_find_open_context(struct inode *inode, struct rpc_cred *cred, f…
367 extern struct nfs_open_context *alloc_nfs_open_context(struct dentry *dentry, fmode_t f_mode);
368 extern void nfs_inode_attach_open_context(struct nfs_open_context *ctx);
369 extern void nfs_file_set_open_context(struct file *filp, struct nfs_open_context *ctx);
370 extern struct nfs_lock_context *nfs_get_lock_context(struct nfs_open_context *ctx);
431 static inline struct nfs_open_context *nfs_file_open_context(struct file *filp) in nfs_file_open_context()
[all …]
Dnfs_page.h42 struct nfs_open_context *wb_context; /* File state context info */
114 extern struct nfs_page *nfs_create_request(struct nfs_open_context *ctx,
Dnfs_xdr.h233 struct nfs_open_context *ctx;
509 struct nfs_open_context *context;
1391 struct nfs_open_context *context;
1503 void (*close_context)(struct nfs_open_context *ctx, int);
1505 struct nfs_open_context *ctx,
/linux-4.1.27/fs/nfs/
Dfscache.h86 extern int __nfs_readpage_from_fscache(struct nfs_open_context *,
88 extern int __nfs_readpages_from_fscache(struct nfs_open_context *,
117 static inline int nfs_readpage_from_fscache(struct nfs_open_context *ctx, in nfs_readpage_from_fscache()
129 static inline int nfs_readpages_from_fscache(struct nfs_open_context *ctx, in nfs_readpages_from_fscache()
202 static inline int nfs_readpage_from_fscache(struct nfs_open_context *ctx, in nfs_readpage_from_fscache()
208 static inline int nfs_readpages_from_fscache(struct nfs_open_context *ctx, in nfs_readpages_from_fscache()
Dinode.c697 static struct nfs_lock_context *__nfs_find_lock_context(struct nfs_open_context *ctx) in __nfs_find_lock_context()
713 struct nfs_lock_context *nfs_get_lock_context(struct nfs_open_context *ctx) in nfs_get_lock_context()
743 struct nfs_open_context *ctx = l_ctx->open_context; in nfs_put_lock_context()
762 void nfs_close_context(struct nfs_open_context *ctx, int is_sync) in nfs_close_context()
781 struct nfs_open_context *alloc_nfs_open_context(struct dentry *dentry, fmode_t f_mode) in alloc_nfs_open_context()
783 struct nfs_open_context *ctx; in alloc_nfs_open_context()
808 struct nfs_open_context *get_nfs_open_context(struct nfs_open_context *ctx) in get_nfs_open_context()
816 static void __put_nfs_open_context(struct nfs_open_context *ctx, int is_sync) in __put_nfs_open_context()
838 void put_nfs_open_context(struct nfs_open_context *ctx) in put_nfs_open_context()
848 void nfs_inode_attach_open_context(struct nfs_open_context *ctx) in nfs_inode_attach_open_context()
[all …]
Dread.c88 int nfs_readpage_async(struct nfs_open_context *ctx, struct inode *inode, in nfs_readpage_async()
283 struct nfs_open_context *ctx; in nfs_readpage()
335 struct nfs_open_context *ctx;
Ddelegation.h57 int nfs4_open_delegation_recall(struct nfs_open_context *ctx, struct nfs4_state *state, const nfs4_…
Dfscache.c327 int __nfs_readpage_from_fscache(struct nfs_open_context *ctx, in __nfs_readpage_from_fscache()
366 int __nfs_readpages_from_fscache(struct nfs_open_context *ctx, in __nfs_readpages_from_fscache()
Dwrite.c93 static void nfs_context_set_write_error(struct nfs_open_context *ctx, int error) in nfs_context_set_write_error()
1058 static struct nfs_page * nfs_setup_write_request(struct nfs_open_context* ctx, in nfs_setup_write_request()
1075 static int nfs_writepage_setup(struct nfs_open_context *ctx, struct page *page, in nfs_writepage_setup()
1093 struct nfs_open_context *ctx = nfs_file_open_context(file); in nfs_flush_incompatible()
1141 struct nfs_open_context *ctx = nfs_file_open_context(filp); in nfs_key_timeout_notify()
1150 bool nfs_ctx_key_to_expire(struct nfs_open_context *ctx) in nfs_ctx_key_to_expire()
1235 struct nfs_open_context *ctx = nfs_file_open_context(file); in nfs_updatepage()
Dfile.c246 struct nfs_open_context *ctx = nfs_file_open_context(file); in nfs_file_fsync_commit()
405 struct nfs_open_context *ctx = nfs_file_open_context(file); in nfs_write_end()
660 struct nfs_open_context *ctx; in nfs_need_sync_write()
Dnfs4file.c24 struct nfs_open_context *ctx; in nfs4_file_open()
Dnfs42proc.c17 struct nfs_open_context *open; in nfs42_set_rw_stateid()
Dpagelist.c352 nfs_create_request(struct nfs_open_context *ctx, struct page *page, in nfs_create_request()
426 struct nfs_open_context *ctx = req->wb_context; in nfs_clear_request()
907 static bool nfs_match_open_context(const struct nfs_open_context *ctx1, in nfs_match_open_context()
908 const struct nfs_open_context *ctx2) in nfs_match_open_context()
Dnfs4proc.c1529 static struct nfs_open_context *nfs4_state_find_open_context(struct nfs4_state *state) in nfs4_state_find_open_context()
1532 struct nfs_open_context *ctx; in nfs4_state_find_open_context()
1546 static struct nfs4_opendata *nfs4_open_recoverdata_alloc(struct nfs_open_context *ctx, in nfs4_open_recoverdata_alloc()
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()
1677 struct nfs_open_context *ctx; in nfs4_open_reclaim()
1740 int nfs4_open_delegation_recall(struct nfs_open_context *ctx, struct nfs4_state *state, const nfs4_… in nfs4_open_delegation_recall()
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()
2170 struct nfs_open_context *ctx; in nfs4_open_expired()
[all …]
Dinternal.h322 void nfs_close_context(struct nfs_open_context *ctx, int is_sync);
478 bool nfs_ctx_key_to_expire(struct nfs_open_context *ctx);
Dpnfs.c859 struct nfs_open_context *ctx, in send_layoutget()
1056 struct nfs_open_context *ctx; in pnfs_roc()
1242 struct nfs_open_context *ctx, in alloc_init_layout_hdr()
1261 struct nfs_open_context *ctx, in pnfs_find_alloc_layout()
1359 static bool pnfs_within_mdsthreshold(struct nfs_open_context *ctx, in pnfs_within_mdsthreshold()
1450 struct nfs_open_context *ctx, in pnfs_update_layout()
Dnfs4trace.h386 const struct nfs_open_context *ctx,
446 const struct nfs_open_context *ctx, \
1094 const struct nfs_open_context *ctx,
Ddelegation.c84 static int nfs_delegation_claim_locks(struct nfs_open_context *ctx, struct nfs4_state *state, const… in nfs_delegation_claim_locks()
119 struct nfs_open_context *ctx; in nfs_delegation_claim_opens()
Dnfstrace.h282 const struct nfs_open_context *ctx,
318 const struct nfs_open_context *ctx,
Dnfs4_fs.h256 const struct nfs_open_context *ctx,
Dpnfs.h280 struct nfs_open_context *ctx,
Ddir.c1455 static struct nfs_open_context *create_nfs_open_context(struct dentry *dentry, int open_flags) in create_nfs_open_context()
1466 static int nfs_finish_open(struct nfs_open_context *ctx, in nfs_finish_open()
1489 struct nfs_open_context *ctx; in nfs_atomic_open()
Ddirect.c77 struct nfs_open_context *ctx; /* file open context info */
Dnfs4state.c1341 struct nfs_open_context *ctx; in nfs_inode_find_state_and_recover()
1366 struct nfs_open_context *ctx; in nfs4_state_mark_open_context_bad()
/linux-4.1.27/fs/nfs/flexfilelayout/
Dflexfilelayout.c625 struct nfs_open_context *ctx; in ff_layout_reset_write()