Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Dnfs_fs.h72 struct nfs_open_context *open_context;
78 struct nfs_open_context { struct
367 extern struct nfs_open_context *get_nfs_open_context(struct nfs_open_context *ctx);
368 extern void put_nfs_open_context(struct nfs_open_context *ctx);
369 extern struct nfs_open_context *nfs_find_open_context(struct inode *inode, struct rpc_cred *cred, f…
370 extern struct nfs_open_context *alloc_nfs_open_context(struct dentry *dentry, fmode_t f_mode);
371 extern void nfs_inode_attach_open_context(struct nfs_open_context *ctx);
372 extern void nfs_file_set_open_context(struct file *filp, struct nfs_open_context *ctx);
374 extern struct nfs_lock_context *nfs_get_lock_context(struct nfs_open_context *ctx);
435 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 */
113 extern struct nfs_page *nfs_create_request(struct nfs_open_context *ctx,
Dnfs_xdr.h234 struct nfs_open_context *ctx;
573 struct nfs_open_context *context;
1449 struct nfs_open_context *context;
1561 void (*close_context)(struct nfs_open_context *ctx, int);
1563 struct nfs_open_context *ctx,
/linux-4.4.14/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.c705 static struct nfs_lock_context *__nfs_find_lock_context(struct nfs_open_context *ctx) in __nfs_find_lock_context()
721 struct nfs_lock_context *nfs_get_lock_context(struct nfs_open_context *ctx) in nfs_get_lock_context()
751 struct nfs_open_context *ctx = l_ctx->open_context; in nfs_put_lock_context()
771 void nfs_close_context(struct nfs_open_context *ctx, int is_sync) in nfs_close_context()
796 struct nfs_open_context *alloc_nfs_open_context(struct dentry *dentry, fmode_t f_mode) in alloc_nfs_open_context()
798 struct nfs_open_context *ctx; in alloc_nfs_open_context()
823 struct nfs_open_context *get_nfs_open_context(struct nfs_open_context *ctx) in get_nfs_open_context()
831 static void __put_nfs_open_context(struct nfs_open_context *ctx, int is_sync) in __put_nfs_open_context()
853 void put_nfs_open_context(struct nfs_open_context *ctx) in put_nfs_open_context()
859 static void put_nfs_open_context_sync(struct nfs_open_context *ctx) in put_nfs_open_context_sync()
[all …]
Dread.c88 int nfs_readpage_async(struct nfs_open_context *ctx, struct inode *inode, in nfs_readpage_async()
290 struct nfs_open_context *ctx; in nfs_readpage()
342 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()
1078 static struct nfs_page * nfs_setup_write_request(struct nfs_open_context* ctx, in nfs_setup_write_request()
1095 static int nfs_writepage_setup(struct nfs_open_context *ctx, struct page *page, in nfs_writepage_setup()
1113 struct nfs_open_context *ctx = nfs_file_open_context(file); in nfs_flush_incompatible()
1161 struct nfs_open_context *ctx = nfs_file_open_context(filp); in nfs_key_timeout_notify()
1170 bool nfs_ctx_key_to_expire(struct nfs_open_context *ctx) in nfs_ctx_key_to_expire()
1255 struct nfs_open_context *ctx = nfs_file_open_context(file); in nfs_updatepage()
Dfile.c239 struct nfs_open_context *ctx = nfs_file_open_context(file); in nfs_file_fsync_commit()
398 struct nfs_open_context *ctx = nfs_file_open_context(file); in nfs_write_end()
642 struct nfs_open_context *ctx; in nfs_need_check_write()
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()
906 static bool nfs_match_open_context(const struct nfs_open_context *ctx1, in nfs_match_open_context()
907 const struct nfs_open_context *ctx2) in nfs_match_open_context()
Dinternal.h339 void nfs_close_context(struct nfs_open_context *ctx, int is_sync);
497 bool nfs_ctx_key_to_expire(struct nfs_open_context *ctx);
Dnfs4proc.c1637 static struct nfs_open_context *nfs4_state_find_open_context(struct nfs4_state *state) in nfs4_state_find_open_context()
1640 struct nfs_open_context *ctx; in nfs4_state_find_open_context()
1654 static struct nfs4_opendata *nfs4_open_recoverdata_alloc(struct nfs_open_context *ctx, in nfs4_open_recoverdata_alloc()
1735 static int _nfs4_do_open_reclaim(struct nfs_open_context *ctx, struct nfs4_state *state) in _nfs4_do_open_reclaim()
1757 static int nfs4_do_open_reclaim(struct nfs_open_context *ctx, struct nfs4_state *state) in nfs4_do_open_reclaim()
1776 struct nfs_open_context *ctx; in nfs4_open_reclaim()
1840 int nfs4_open_delegation_recall(struct nfs_open_context *ctx, in nfs4_open_delegation_recall()
2248 static int _nfs4_open_expired(struct nfs_open_context *ctx, struct nfs4_state *state) in _nfs4_open_expired()
2264 static int nfs4_do_open_expired(struct nfs_open_context *ctx, struct nfs4_state *state) in nfs4_do_open_expired()
2290 struct nfs_open_context *ctx; in nfs4_open_expired()
[all …]
Dpnfs.c863 struct nfs_open_context *ctx, in send_layoutget()
1075 struct nfs_open_context *ctx; in pnfs_roc()
1297 struct nfs_open_context *ctx, in alloc_init_layout_hdr()
1316 struct nfs_open_context *ctx, in pnfs_find_alloc_layout()
1412 static bool pnfs_within_mdsthreshold(struct nfs_open_context *ctx, in pnfs_within_mdsthreshold()
1505 struct nfs_open_context *ctx, in pnfs_update_layout()
Dnfs4file.c28 struct nfs_open_context *ctx; in nfs4_file_open()
Dnfs4trace.h386 const struct nfs_open_context *ctx,
446 const struct nfs_open_context *ctx, \
1154 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()
120 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,
Dnfs42proc.c22 struct nfs_open_context *open; in nfs42_set_rw_stateid()
Dnfs4_fs.h259 const struct nfs_open_context *ctx,
Dpnfs.h285 struct nfs_open_context *ctx,
Ddir.c1447 static struct nfs_open_context *create_nfs_open_context(struct dentry *dentry, int open_flags) in create_nfs_open_context()
1458 static int nfs_finish_open(struct nfs_open_context *ctx, in nfs_finish_open()
1478 struct nfs_open_context *ctx; in nfs_atomic_open()
Ddirect.c77 struct nfs_open_context *ctx; /* file open context info */
Dnfs4state.c1340 struct nfs_open_context *ctx; in nfs_inode_find_state_and_recover()
1365 struct nfs_open_context *ctx; in nfs4_state_mark_open_context_bad()
/linux-4.4.14/fs/nfs/flexfilelayout/
Dflexfilelayout.c916 struct nfs_open_context *ctx; in ff_layout_reset_write()