Home
last modified time | relevance | path

Searched refs:mp (Results 1 – 3 of 3) sorted by relevance

/DragonOS-0.1.3/kernel/src/filesystem/vfs/
Dmount.c28 struct mountpoint *mp = (struct mountpoint *)kzalloc(sizeof(struct mountpoint), 0); in do_mount() local
29 list_init(&mp->mnt_list); in do_mount()
30 mp->dentry = old_dentry; in do_mount()
31 mp->parent_dentry = old_dentry->parent; in do_mount()
47 list_append(&mnt_list_head, &mp->mnt_list); in do_mount()
95 int mount_release_mountpoint(struct mountpoint *mp) in mount_release_mountpoint() argument
97 list_del(&mp->mnt_list); in mount_release_mountpoint()
98 return kfree(mp); in mount_release_mountpoint()
Dmount.h76 int mount_release_mountpoint(struct mountpoint* mp);
/DragonOS-0.1.3/kernel/src/filesystem/rootfs/
Drootfs.c212 struct mountpoint *mp = NULL; in rootfs_umount() local
215 mp = mount_find_mnt_list_by_parent(rootfs_sb.root); in rootfs_umount()
216 if (mp == NULL) in rootfs_umount()
220 __release_dentry(mp->dentry); in rootfs_umount()
222 mount_release_mountpoint(mp); in rootfs_umount()