函数逻辑报告 |
Source Code:fs\pnode.c |
Create Date:2022-07-29 10:41:43 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:NOTE: unmounting 'mnt' naturally propagates to all other mounts its* parent propagates to.
函数原型:static bool __propagate_umount(struct mount *mnt, struct list_head *to_umount, struct list_head *to_restore)
返回类型:bool
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct mount * | mnt | |
| struct list_head * | to_umount | |
| struct list_head * | to_restore |
| 445 | bool progress = false |
| 452 | 如果mnt_flags按位与MNT_UMOUNT按位或MNT_MARKED的值则转到:out |
| 459 | 如果mnt_mountpoint恒等于 root of the mounted tree 则继续下一循环 |
| 461 | 如果非链表为空且IS_MNT_MARKED(child)则继续下一循环 |
| 464 | 转到:children |
| 468 | SET_MNT_MARK(mnt) |
| 469 | progress = true |
| 472 | 如果非IS_MNT_LOCKED(mnt)则 |
| 473 | umount_one(mnt, to_umount) |
| 474 | 否则 |
| 478 | out : |
| 479 | 返回:progress |
| 名称 | 描述 |
|---|---|
| propagate_umount | llect all mounts that receive propagation from the mount in @list,* and return these additional mounts in the same list.*@list: the list of mounts to be unmounted.* vfsmount lock must be held for write |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |