Lines Matching refs:vnode

210 	struct afs_vnode	*vnode;		/* The file being read into. */  member
678 static inline struct fscache_cookie *afs_vnode_cache(struct afs_vnode *vnode) in afs_vnode_cache() argument
681 return vnode->cache; in afs_vnode_cache()
763 struct afs_vnode *vnode; member
984 static inline unsigned int afs_calc_vnode_cb_break(struct afs_vnode *vnode) in afs_calc_vnode_cb_break() argument
986 return vnode->cb_break + vnode->cb_v_break; in afs_calc_vnode_cb_break()
990 const struct afs_vnode *vnode) in afs_cb_is_broken() argument
992 return cb_break != (vnode->cb_break + vnode->volume->cb_v_break); in afs_cb_is_broken()
1136 struct afs_vnode *vnode) in afs_op_set_vnode() argument
1138 op->file[n].vnode = vnode; in afs_op_set_vnode()
1204 static inline struct afs_net *afs_v2net(struct afs_vnode *vnode) in afs_v2net() argument
1206 return afs_i2net(&vnode->vfs_inode); in afs_v2net()
1219 #define afs_stat_v(vnode, n) __afs_stat(&afs_v2net(vnode)->n) argument
1581 static inline struct inode *AFS_VNODE_TO_I(struct afs_vnode *vnode) in AFS_VNODE_TO_I() argument
1583 return &vnode->vfs_inode; in AFS_VNODE_TO_I()
1604 static inline void afs_set_i_size(struct afs_vnode *vnode, u64 size) in afs_set_i_size() argument
1606 i_size_write(&vnode->vfs_inode, size); in afs_set_i_size()
1607 vnode->vfs_inode.i_blocks = ((size + 1023) >> 10) << 1; in afs_set_i_size()
1628 static inline int afs_bad(struct afs_vnode *vnode, enum afs_file_error where) in afs_bad() argument
1630 trace_afs_file_error(vnode, -EIO, where); in afs_bad()