Lines Matching refs:afs_vnode
35 struct afs_vnode;
210 struct afs_vnode *vnode; /* The file being read into. */
625 struct afs_vnode { struct
678 static inline struct fscache_cookie *afs_vnode_cache(struct afs_vnode *vnode) in afs_vnode_cache() argument
763 struct afs_vnode *vnode;
980 extern void __afs_break_callback(struct afs_vnode *, enum afs_cb_break_reason);
981 extern void afs_break_callback(struct afs_vnode *, enum afs_cb_break_reason);
984 static inline unsigned int afs_calc_vnode_cb_break(struct afs_vnode *vnode) in afs_calc_vnode_cb_break()
990 const struct afs_vnode *vnode) in afs_cb_is_broken()
1032 extern void afs_edit_dir_add(struct afs_vnode *, struct qstr *, struct afs_fid *,
1034 extern void afs_edit_dir_remove(struct afs_vnode *, struct qstr *, enum afs_edit_dir_reason);
1039 extern int afs_sillyrename(struct afs_vnode *, struct afs_vnode *,
1063 extern int afs_cache_wb_key(struct afs_vnode *, struct afs_file *);
1067 extern int afs_fetch_data(struct afs_vnode *, struct afs_read *);
1084 extern void afs_lock_may_be_available(struct afs_vnode *);
1135 struct afs_vnode *vnode) in afs_op_set_vnode()
1164 extern int afs_fetch_status(struct afs_vnode *, struct key *, bool, afs_access_t *);
1169 extern bool afs_check_validity(struct afs_vnode *);
1170 extern int afs_validate(struct afs_vnode *, struct key *);
1203 static inline struct afs_net *afs_v2net(struct afs_vnode *vnode) in afs_v2net()
1382 extern void afs_clear_permits(struct afs_vnode *);
1383 extern void afs_cache_permit(struct afs_vnode *, struct key *, unsigned int,
1388 extern int afs_check_permit(struct afs_vnode *, struct key *, afs_access_t *);
1529 extern void afs_prune_wb_keys(struct afs_vnode *);
1575 static inline struct afs_vnode *AFS_FS_I(struct inode *inode) in AFS_FS_I()
1577 return container_of(inode, struct afs_vnode, vfs_inode); in AFS_FS_I()
1580 static inline struct inode *AFS_VNODE_TO_I(struct afs_vnode *vnode) in AFS_VNODE_TO_I()
1603 static inline void afs_set_i_size(struct afs_vnode *vnode, u64 size) in afs_set_i_size()
1627 static inline int afs_bad(struct afs_vnode *vnode, enum afs_file_error where) in afs_bad()