Lines Matching refs:vfs_inode
64 i_size_write(&vnode->vfs_inode, size); in afs_set_i_size()
65 vnode->vfs_inode.i_blocks = ((size + 1023) >> 10) << 1; in afs_set_i_size()
98 set_nlink(&vnode->vfs_inode, status->nlink); in afs_inode_init_from_status()
140 inode_set_iversion_raw(&vnode->vfs_inode, status->data_version); in afs_inode_init_from_status()
188 set_nlink(&vnode->vfs_inode, status->nlink); in afs_apply_status()
191 vnode->vfs_inode.i_uid = make_kuid(&init_user_ns, status->owner); in afs_apply_status()
194 vnode->vfs_inode.i_gid = make_kgid(&init_user_ns, status->group); in afs_apply_status()
197 mode = vnode->vfs_inode.i_mode; in afs_apply_status()
200 WRITE_ONCE(vnode->vfs_inode.i_mode, mode); in afs_apply_status()
204 vnode->vfs_inode.i_ctime = t; in afs_apply_status()
205 vnode->vfs_inode.i_mtime = t; in afs_apply_status()
206 vnode->vfs_inode.i_atime = t; in afs_apply_status()
239 inode_set_iversion_raw(&vnode->vfs_inode, status->data_version); in afs_apply_status()
285 clear_nlink(&vnode->vfs_inode); in afs_vnode_commit_status()
583 if (S_ISREG(vnode->vfs_inode.i_mode)) in afs_zap_data()
584 invalidate_remote_inode(&vnode->vfs_inode); in afs_zap_data()
586 invalidate_inode_pages2(vnode->vfs_inode.i_mapping); in afs_zap_data()
675 clear_nlink(&vnode->vfs_inode); in afs_validate()
838 if (S_ISREG(vnode->vfs_inode.i_mode)) in afs_setattr()
839 filemap_write_and_wait(vnode->vfs_inode.i_mapping); in afs_setattr()