| Function report | 
| Source Code: fs\namespace.c | Create Date:2022-07-28 20:09:15 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:count_mounts
Proto:int count_mounts(struct mnt_namespace *ns, struct mount *mnt)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct mnt_namespace * | ns | |
| struct mount * | mnt | 
| 1958 | mounts = 0 | 
| 1964 | old = # of mounts in the namespace | 
| 1965 | pending = pending_mounts | 
| 1973 | pending_mounts = pending + mounts | 
| 1974 | Return 0 | 
| Name | Describe | 
|---|---|
| attach_recursive_mnt | @source_mnt : mount tree to be attached*@nd : place the mount tree @source_mnt is attached*@parent_nd : if non-null, detach the source_mnt from its parent and* store the parent mount and mountpoint dentry | 
| propagate_one | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |