| Function report | 
| Source Code: fs\namespace.c | Create Date:2022-07-28 20:09:16 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:lock_mount
Proto:static struct mountpoint *lock_mount(struct path *path)
Type:struct mountpoint
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct path * | path | 
| 2133 | retry : | 
| 2139 | namespace_lock() | 
| 2140 | mnt = lookup_mnt - Return the first child mount mounted at path* "First" means first mounted chronologically | 
| 2141 | If Value is more likely to compile time(!mnt) Then | 
| 2150 | namespace_unlock() | 
| 2154 | dentry = dentry = get a reference to a dentry | 
| 2155 | Go to retry | 
| Name | Describe | 
|---|---|
| do_loopback | do loopback mount. | 
| do_move_mount | |
| do_add_mount | add a mount into a namespace's mount tree | 
| SYSCALL_DEFINE2 | pivot_root Semantics:* Moves the root file system of the current process to the directory put_old,* makes new_root as the new root file system of the current process, and sets* root/cwd of all processes which had them on the current root to new_root | 
| 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 |