Home
last modified time | relevance | path

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

12

/linux-4.19.296/fs/nfs/
Dfscache.h103 extern int __nfs_readpage_from_fscache(struct nfs_open_context *,
105 extern int __nfs_readpages_from_fscache(struct nfs_open_context *,
134 static inline int nfs_readpage_from_fscache(struct nfs_open_context *ctx, in nfs_readpage_from_fscache()
146 static inline int nfs_readpages_from_fscache(struct nfs_open_context *ctx, in nfs_readpages_from_fscache()
219 static inline int nfs_readpage_from_fscache(struct nfs_open_context *ctx, in nfs_readpage_from_fscache()
225 static inline int nfs_readpages_from_fscache(struct nfs_open_context *ctx, in nfs_readpages_from_fscache()
Dinode.c855 static struct nfs_lock_context *__nfs_find_lock_context(struct nfs_open_context *ctx) in __nfs_find_lock_context()
869 struct nfs_lock_context *nfs_get_lock_context(struct nfs_open_context *ctx) in nfs_get_lock_context()
899 struct nfs_open_context *ctx = l_ctx->open_context; in nfs_put_lock_context()
919 void nfs_close_context(struct nfs_open_context *ctx, int is_sync) in nfs_close_context()
946 struct nfs_open_context *alloc_nfs_open_context(struct dentry *dentry, in alloc_nfs_open_context()
950 struct nfs_open_context *ctx; in alloc_nfs_open_context()
976 struct nfs_open_context *get_nfs_open_context(struct nfs_open_context *ctx) in get_nfs_open_context()
984 static void __put_nfs_open_context(struct nfs_open_context *ctx, int is_sync) in __put_nfs_open_context()
1006 void put_nfs_open_context(struct nfs_open_context *ctx) in put_nfs_open_context()
1012 static void put_nfs_open_context_sync(struct nfs_open_context *ctx) in put_nfs_open_context_sync()
[all …]
Dinternal.h269 static inline bool nfs_match_open_context(const struct nfs_open_context *ctx1, in nfs_match_open_context()
270 const struct nfs_open_context *ctx2) in nfs_match_open_context()
347 void nfs_close_context(struct nfs_open_context *ctx, int is_sync);
517 bool nfs_ctx_key_to_expire(struct nfs_open_context *ctx, struct inode *inode);
775 static inline void nfs_context_set_write_error(struct nfs_open_context *ctx, int error) in nfs_context_set_write_error()
Dpnfs.h302 struct nfs_open_context *ctx,
390 struct nfs_open_context *ctx);
392 struct nfs_open_context *ctx);
801 struct nfs_open_context *ctx) in pnfs_lgopen_prepare()
807 struct nfs_open_context *ctx) in pnfs_parse_lgopen()
Dread.c110 int nfs_readpage_async(struct nfs_open_context *ctx, struct inode *inode, in nfs_readpage_async()
301 struct nfs_open_context *ctx; in nfs_readpage()
353 struct nfs_open_context *ctx;
Dfile.c213 struct nfs_open_context *ctx = nfs_file_open_context(file); in nfs_file_fsync_commit()
248 struct nfs_open_context *ctx = nfs_file_open_context(file); in nfs_file_fsync()
362 struct nfs_open_context *ctx = nfs_file_open_context(file); in nfs_write_end()
588 struct nfs_open_context *ctx; in nfs_need_check_write()
Ddelegation.h65 int nfs4_open_delegation_recall(struct nfs_open_context *ctx, struct nfs4_state *state, const nfs4_…
Dpnfs.c987 pnfs_find_server(struct inode *inode, struct nfs_open_context *ctx) in pnfs_find_server()
1041 struct nfs_open_context *ctx, in pnfs_alloc_init_layoutget_args()
1371 struct nfs_open_context *ctx; in pnfs_roc()
1621 struct nfs_open_context *ctx, in alloc_init_layout_hdr()
1642 struct nfs_open_context *ctx, in pnfs_find_alloc_layout()
1746 static bool pnfs_within_mdsthreshold(struct nfs_open_context *ctx, in pnfs_within_mdsthreshold()
1856 struct nfs_open_context *ctx, in pnfs_update_layout()
2114 _pnfs_grab_empty_layout(struct inode *ino, struct nfs_open_context *ctx) in _pnfs_grab_empty_layout()
2144 struct nfs_open_context *ctx) in _lgopen_prepare_attached()
2178 struct nfs_open_context *ctx) in _lgopen_prepare_floating()
[all …]
Dfscache.c409 int __nfs_readpage_from_fscache(struct nfs_open_context *ctx, in __nfs_readpage_from_fscache()
448 int __nfs_readpages_from_fscache(struct nfs_open_context *ctx, in __nfs_readpages_from_fscache()
Dwrite.c1157 static struct nfs_page * nfs_setup_write_request(struct nfs_open_context* ctx, in nfs_setup_write_request()
1174 static int nfs_writepage_setup(struct nfs_open_context *ctx, struct page *page, in nfs_writepage_setup()
1192 struct nfs_open_context *ctx = nfs_file_open_context(file); in nfs_flush_incompatible()
1238 struct nfs_open_context *ctx = nfs_file_open_context(filp); in nfs_key_timeout_notify()
1247 bool nfs_ctx_key_to_expire(struct nfs_open_context *ctx, struct inode *inode) in nfs_ctx_key_to_expire()
1334 struct nfs_open_context *ctx = nfs_file_open_context(file); in nfs_updatepage()
Dnfs4proc.c98 struct nfs_open_context *ctx, struct nfs4_label *ilabel,
1954 static struct nfs_open_context *nfs4_state_find_open_context(struct nfs4_state *state) in nfs4_state_find_open_context()
1957 struct nfs_open_context *ctx; in nfs4_state_find_open_context()
1971 static struct nfs4_opendata *nfs4_open_recoverdata_alloc(struct nfs_open_context *ctx, in nfs4_open_recoverdata_alloc()
2052 static int _nfs4_do_open_reclaim(struct nfs_open_context *ctx, struct nfs4_state *state) in _nfs4_do_open_reclaim()
2074 static int nfs4_do_open_reclaim(struct nfs_open_context *ctx, struct nfs4_state *state) in nfs4_do_open_reclaim()
2093 struct nfs_open_context *ctx; in nfs4_open_reclaim()
2158 int nfs4_open_delegation_recall(struct nfs_open_context *ctx, in nfs4_open_delegation_recall()
2403 struct nfs_open_context *ctx) in nfs4_run_open_task()
2520 struct nfs_open_context *ctx) in _nfs4_proc_open()
[all …]
Dnfs4file.c28 struct nfs_open_context *ctx; in nfs4_file_open()
Dnfs42proc.c145 struct nfs_open_context *ctx = nfs_file_open_context(dst); in handle_async_copy()
424 struct nfs_open_context *ctx = nfs_file_open_context(dst); in nfs42_do_offload_cancel_async()
Dnfs4trace.h384 const struct nfs_open_context *ctx,
465 const struct nfs_open_context *ctx, \
1462 const struct nfs_open_context *ctx,
Dnfs3proc.c878 struct nfs_open_context *ctx; in nfs3_nlm_release_call()
897 struct nfs_open_context *ctx = nfs_file_open_context(filp); in nfs3_proc_lock()
Dnfstrace.h282 const struct nfs_open_context *ctx,
318 const struct nfs_open_context *ctx,
Dnfs4_fs.h310 const struct nfs_open_context *ctx,
Dpagelist.c334 nfs_create_request(struct nfs_open_context *ctx, struct page *page, in nfs_create_request()
412 struct nfs_open_context *ctx = req->wb_context; in nfs_clear_request()
Ddir.c1490 static struct nfs_open_context *create_nfs_open_context(struct dentry *dentry, int open_flags, stru… in create_nfs_open_context()
1501 static int nfs_finish_open(struct nfs_open_context *ctx, in nfs_finish_open()
1523 struct nfs_open_context *ctx; in nfs_atomic_open()
Ddirect.c77 struct nfs_open_context *ctx; /* file open context info */
Ddelegation.c142 struct nfs_open_context *ctx; in nfs_delegation_claim_opens()
Dnfs4state.c1463 struct nfs_open_context *ctx; in nfs_inode_find_state_and_recover()
1497 struct nfs_open_context *ctx; in nfs4_state_mark_open_context_bad()
/linux-4.19.296/include/linux/
Dnfs_fs.h62 struct nfs_open_context *open_context;
68 struct nfs_open_context { struct
390 extern struct nfs_open_context *get_nfs_open_context(struct nfs_open_context *ctx);
391 extern void put_nfs_open_context(struct nfs_open_context *ctx);
392 extern struct nfs_open_context *nfs_find_open_context(struct inode *inode, struct rpc_cred *cred, f…
393 extern struct nfs_open_context *alloc_nfs_open_context(struct dentry *dentry, fmode_t f_mode, struc…
394 extern void nfs_inode_attach_open_context(struct nfs_open_context *ctx);
395 extern void nfs_file_set_open_context(struct file *filp, struct nfs_open_context *ctx);
397 extern struct nfs_lock_context *nfs_get_lock_context(struct nfs_open_context *ctx);
458 static inline struct nfs_open_context *nfs_file_open_context(struct file *filp) in nfs_file_open_context()
[all …]
Dnfs_page.h45 struct nfs_open_context *wb_context; /* File state context info */
115 extern struct nfs_page *nfs_create_request(struct nfs_open_context *ctx,
Dnfs_xdr.h255 struct nfs_open_context *ctx;
604 struct nfs_open_context *context;
1530 struct nfs_open_context *context;
1653 void (*close_context)(struct nfs_open_context *ctx, int);
1655 struct nfs_open_context *ctx,

12