Home
last modified time | relevance | path

Searched refs:target_dentry (Results 1 – 4 of 4) sorted by relevance

/DragonOS-0.1.3/kernel/src/filesystem/devfs/
Dchardev.c45 …v_register(struct devfs_private_inode_info_t *private_info, struct vfs_dir_entry_t **target_dentry) in __devfs_chardev_register() argument
68 *target_dentry = dentry; in __devfs_chardev_register()
Ddevfs.c271 struct vfs_dir_entry_t *target_dentry = NULL; in devfs_unregister_device() local
303 target_dentry = list_entry(target_list, struct vfs_dir_entry_t, child_node_list); in devfs_unregister_device()
304 if (target_dentry->dir_inode == private_inode_info->inode) in devfs_unregister_device()
306 spin_lock(&target_dentry->lockref.lock); in devfs_unregister_device()
307 retval = vfs_dentry_put(target_dentry); in devfs_unregister_device()
311 spin_unlock(&target_dentry->lockref.lock); in devfs_unregister_device()
Dinternal.h19 …_register(struct devfs_private_inode_info_t *private_info, struct vfs_dir_entry_t **target_dentry);
/DragonOS-0.1.3/kernel/src/filesystem/vfs/
DVFS.c34 struct vfs_dir_entry_t *target_dentry = NULL; in vfs_mount_fs() local
36 target_dentry = vfs_path_walk(path, 0); in vfs_mount_fs()
37 if (target_dentry == NULL) in vfs_mount_fs()
56 new_dentry->name = kzalloc(target_dentry->name_length + 1, 0); in vfs_mount_fs()
57 new_dentry->name_length = target_dentry->name_length; in vfs_mount_fs()
59 do_mount(target_dentry, new_dentry); in vfs_mount_fs()