Function report |
Source Code:fs\namespace.c |
Create Date:2022-07-28 20:09:13 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mntput_no_expire
Proto:static void mntput_no_expire(struct mount *mnt)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct mount * | mnt |
| 1128 | If Value is more likely to compile time(READ_ONCE( containing namespace )) Then |
| 1140 | Return |
| 1142 | lock_mount_hash() |
| 1147 | smp_mb() |
| 1149 | If vfsmount lock must be held for write Then |
| 1151 | unlock_mount_hash() |
| 1152 | Return |
| 1156 | unlock_mount_hash() |
| 1157 | Return |
| 1159 | mnt_flags |= MNT_DOOMED |
| 1168 | hlist_add_head( & mnt_umount, & mnt_stuck_children) |
| 1171 | unlock_mount_hash() |
| 1172 | shrink_dentry_list( & list) |
| 1174 | If Value is more likely to compile time(!(mnt_flags & MNT_INTERNAL)) Then |
| 1175 | task = current process |
| 1176 | If Value is more likely to compile time(!(flags & I am a kernel thread )) Then |
| 1177 | init_task_work( & mnt_rcu, __cleanup_mnt) |
| 1183 | Return |
| 1185 | cleanup_mnt(mnt) |
| Name | Describe |
|---|---|
| mntput | |
| ksys_umount | Now umount can handle mount points as well as block devices.* This is important for filesystems which use unnamed block devices.* We now support a flag for forced unmount like the other 'big iron'* unixes |
| do_move_mount | |
| 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 |