函数逻辑报告 | 
Source Code:fs\namespace.c | 
Create Date:2022-07-29 10:39:33 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:__detach_mounts - lazily unmount all mounts on the specified dentry* During unlink, rmdir, and d_drop it is possible to loose the path* to an existing mountpoint, and wind up leaking the mount
函数原型:void __detach_mounts(struct dentry *dentry)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct dentry * | dentry | 
| 1617 | namespace_lock() | 
| 1618 | lock_mount_hash() | 
| 1619 | mp等于lookup_mountpoint(dentry) | 
| 1620 | 如果非mp则转到:out_unlock | 
| 1623 | event自加 | 
| 1624 | 当非hlist_empty( & m_list)循环 | 
| 1625 | mnt等于hlist_entry(first, structmount, mnt_mp_list) | 
| 1626 | 如果mnt_flags按位与MNT_UMOUNT则 | 
| 1628 | hlist_add_head( & mnt_umount, & unmounted) | 
| 1633 | out_unlock : | 
| 1634 | unlock_mount_hash() | 
| 1635 | namespace_unlock() | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |