Lines Matching refs:vnode
235 struct afs_vnode *vnode; member
691 static inline struct fscache_cookie *afs_vnode_cache(struct afs_vnode *vnode) in afs_vnode_cache() argument
694 return vnode->cache; in afs_vnode_cache()
768 struct afs_vnode *vnode; member
855 static inline unsigned int afs_calc_vnode_cb_break(struct afs_vnode *vnode) in afs_calc_vnode_cb_break() argument
857 return vnode->cb_break + vnode->cb_v_break; in afs_calc_vnode_cb_break()
861 const struct afs_vnode *vnode, in afs_cb_is_broken() argument
864 return !cbi || cb_break != (vnode->cb_break + in afs_cb_is_broken()
865 vnode->volume->cb_v_break); in afs_cb_is_broken()
1050 static inline struct afs_net *afs_v2net(struct afs_vnode *vnode) in afs_v2net() argument
1052 return afs_i2net(&vnode->vfs_inode); in afs_v2net()
1065 #define afs_stat_v(vnode, n) __afs_stat(&afs_v2net(vnode)->n) argument
1408 static inline struct inode *AFS_VNODE_TO_I(struct afs_vnode *vnode) in AFS_VNODE_TO_I() argument
1410 return &vnode->vfs_inode; in AFS_VNODE_TO_I()
1414 struct afs_vnode *vnode) in afs_check_for_remote_deletion() argument
1417 set_bit(AFS_VNODE_DELETED, &vnode->flags); in afs_check_for_remote_deletion()
1418 afs_break_callback(vnode, afs_cb_break_for_deleted); in afs_check_for_remote_deletion()
1428 static inline int afs_bad(struct afs_vnode *vnode, enum afs_file_error where) in afs_bad() argument
1430 trace_afs_file_error(vnode, -EIO, where); in afs_bad()