Function report |
Source Code:fs\namespace.c |
Create Date:2022-07-28 20:09:14 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mount_lock must be held* namespace_sem must be held for write
Proto:static void umount_tree(struct mount *mnt, enum umount_tree_flags how)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct mount * | mnt | |
| enum umount_tree_flags | how |
| 1432 | If how & UMOUNT_PROPAGATE Then Clear MNT_LOCKED when it can be shown to be safe.* mount_lock lock must be held for write |
| 1437 | mnt_flags |= MNT_UMOUNT |
| 1456 | ns = containing namespace |
| 1457 | If ns Then |
| 1461 | containing namespace = NULL |
| 1462 | If how & UMOUNT_SYNC Then mnt_flags |= MNT_SYNC_UMOUNT |
| 1465 | disconnect = disconnect_mount(p, how) |
| 1466 | If mnt_has_parent(p) Then |
| 1468 | If Not disconnect Then |
| 1471 | Else |
| 1476 | If disconnect Then hlist_add_head( & mnt_umount, & unmounted) |
| Name | Describe |
|---|---|
| do_umount | |
| __detach_mounts | __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 |
| copy_tree | |
| dissolve_on_fput | |
| drop_collected_mounts | |
| 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 |
| do_loopback | do loopback mount. |
| mark_mounts_for_expiry | process a list of expirable mountpoints with the intent of discarding any* mountpoints that aren't in use and haven't been touched since last we came* here |
| shrink_submounts |
| 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 |