Lines Matching refs:parent_inode
69 struct inode **parent_inode, in hwgfs_decode() argument
95 *parent_inode = (*dentry)->d_parent->d_inode; in hwgfs_decode()
167 struct inode *parent_inode; in hwgfs_register() local
171 error = hwgfs_decode(dir, name, 0, &parent_inode, &dentry); in hwgfs_register()
173 error = vfs_mknod(parent_inode, dentry, mode, devnum); in hwgfs_register()
182 up(&parent_inode->i_sem); in hwgfs_register()
184 up(&parent_inode->i_sem); in hwgfs_register()
202 struct inode *parent_inode; in hwgfs_mk_symlink() local
206 error = hwgfs_decode(dir, name, 0, &parent_inode, &dentry); in hwgfs_mk_symlink()
208 error = vfs_symlink(parent_inode, dentry, link); in hwgfs_mk_symlink()
212 up(&parent_inode->i_sem); in hwgfs_mk_symlink()
224 struct inode *parent_inode; in hwgfs_mk_dir() local
228 error = hwgfs_decode(dir, name, 1, &parent_inode, &dentry); in hwgfs_mk_dir()
230 error = vfs_mkdir(parent_inode, dentry, 0755); in hwgfs_mk_dir()
231 up(&parent_inode->i_sem); in hwgfs_mk_dir()
247 struct inode *parent_inode = de->d_parent->d_inode; in hwgfs_unregister() local
250 vfs_rmdir(parent_inode, de); in hwgfs_unregister()
252 vfs_unlink(parent_inode, de); in hwgfs_unregister()