Lines Matching refs:vnode
211 struct afs_vnode *vnode; member
663 static inline struct fscache_cookie *afs_vnode_cache(struct afs_vnode *vnode) in afs_vnode_cache() argument
666 return vnode->cache; in afs_vnode_cache()
747 struct afs_vnode *vnode; member
967 static inline unsigned int afs_calc_vnode_cb_break(struct afs_vnode *vnode) in afs_calc_vnode_cb_break() argument
969 return vnode->cb_break + vnode->cb_v_break; in afs_calc_vnode_cb_break()
973 const struct afs_vnode *vnode) in afs_cb_is_broken() argument
975 return cb_break != (vnode->cb_break + vnode->volume->cb_v_break); in afs_cb_is_broken()
1117 struct afs_vnode *vnode) in afs_op_set_vnode() argument
1119 op->file[n].vnode = vnode; in afs_op_set_vnode()
1184 static inline struct afs_net *afs_v2net(struct afs_vnode *vnode) in afs_v2net() argument
1186 return afs_i2net(&vnode->vfs_inode); in afs_v2net()
1199 #define afs_stat_v(vnode, n) __afs_stat(&afs_v2net(vnode)->n) argument
1556 static inline struct inode *AFS_VNODE_TO_I(struct afs_vnode *vnode) in AFS_VNODE_TO_I() argument
1558 return &vnode->vfs_inode; in AFS_VNODE_TO_I()
1579 static inline void afs_set_i_size(struct afs_vnode *vnode, u64 size) in afs_set_i_size() argument
1581 i_size_write(&vnode->vfs_inode, size); in afs_set_i_size()
1582 vnode->vfs_inode.i_blocks = ((size + 1023) >> 10) << 1; in afs_set_i_size()
1603 static inline int afs_bad(struct afs_vnode *vnode, enum afs_file_error where) in afs_bad() argument
1605 trace_afs_file_error(vnode, -EIO, where); in afs_bad()