| 函数逻辑报告 | 
| Source Code: fs\pnode.c | Create Date:2022-07-29 10:41:42 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:propagate_one
函数原型:static int propagate_one(struct mount *m)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct mount * | m | 
| 230 | 如果IS_MNT_NEW(m)则返回:0 | 
| 233 | 如果非是子目录则返回:0 | 
| 236 | type等于CL_MAKE_SHARED | 
| 237 | 否则 | 
| 240 | 循环 | 
| 245 | 循环 | 
| 246 | parent等于mnt_parent | 
| 247 | 如果all accesses are serialized by namespace_sem 恒等于all accesses are serialized by namespace_sem 则退出 | 
| 249 | done等于 slave is on master->mnt_slave_list 恒等于p | 
| 257 | 如果IS_MNT_SHARED(m)则type或等于CL_MAKE_SHARED | 
| 261 | child等于copy_tree(all accesses are serialized by namespace_sem , root of the mounted tree , type) | 
| 272 | hlist_add_head( & mnt_hash, list) | 
| 273 | 返回:count_mounts( containing namespace , child) | 
| 名称 | 描述 | 
|---|---|
| propagate_mnt | mount 'source_mnt' under the destination 'dest_mnt' at* dentry 'dest_dentry'. And propagate that mount to* all the peer and slave mounts of 'dest_mnt'.* Link all the new mounts into a propagation tree headed at* source_mnt | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |