Home
last modified time | relevance | path

Searched refs:devfs_root_dentry (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.2/kernel/src/filesystem/devfs/
Ddevfs.c15 struct vfs_dir_entry_t *devfs_root_dentry; // 根结点的dentry variable
37 devfs_sb.root = devfs_root_dentry; in devfs_read_superblock()
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()
208 devfs_root_dentry = vfs_alloc_dentry(0); in __devfs_init_root_dentry()
209 devfs_root_dentry->dir_ops = &devfs_dentry_ops; in __devfs_init_root_dentry()
Dchardev.c11 extern struct vfs_dir_entry_t *devfs_root_dentry;
87 chardev_folder_dentry = __devfs_find_dir(devfs_root_dentry, "char"); in __devfs_chardev_init()