Lines Matching refs:dir_inode
107 if (target_dent->dir_inode->attribute & VFS_IF_DIR) in devfs_readdir()
159 dEntry->dir_inode = vfs_alloc_inode(); in devfs_mkdir()
160 dEntry->dir_inode->file_ops = &devfs_file_ops; in devfs_mkdir()
161 dEntry->dir_inode->inode_ops = &devfs_inode_ops; in devfs_mkdir()
164 dEntry->dir_inode->private_inode_info = NULL; in devfs_mkdir()
165 dEntry->dir_inode->sb = &devfs_sb; in devfs_mkdir()
166 dEntry->dir_inode->attribute = VFS_IF_DIR; in devfs_mkdir()
194 devfs_root_dentry->dir_inode = vfs_alloc_inode(); in __devfs_init_root_inode()
195 devfs_root_dentry->dir_inode->file_ops = &devfs_file_ops; in __devfs_init_root_inode()
196 devfs_root_dentry->dir_inode->inode_ops = &devfs_inode_ops; in __devfs_init_root_inode()
199 devfs_root_dentry->dir_inode->private_inode_info = NULL; in __devfs_init_root_inode()
200 devfs_root_dentry->dir_inode->sb = &devfs_sb; in __devfs_init_root_inode()
201 devfs_root_dentry->dir_inode->attribute = VFS_IF_DIR; in __devfs_init_root_inode()
304 if (target_dentry->dir_inode == private_inode_info->inode) in devfs_unregister_device()