函数逻辑报告 |
Source Code:fs\namespace.c |
Create Date:2022-07-29 10:39:30 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:mntput_no_expire
函数原型:static void mntput_no_expire(struct mount *mnt)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct mount * | mnt |
1128 | 如果此条件成立可能性大(为编译器优化)(READ_ONCE( containing namespace ))则 |
1140 | 返回 |
1142 | lock_mount_hash() |
1147 | smp_mb() |
1151 | unlock_mount_hash() |
1152 | 返回 |
1154 | 如果此条件成立可能性小(为编译器优化)(mnt_flags & MNT_DOOMED)则 |
1156 | unlock_mount_hash() |
1157 | 返回 |
1159 | mnt_flags或等于MNT_DOOMED |
1162 | 删除链表项 |
1164 | 如果此条件成立可能性小(为编译器优化)(!链表为空)则 |
1168 | hlist_add_head( & mnt_umount, & mnt_stuck_children) |
1171 | unlock_mount_hash() |
1172 | shrink_dentry_list( & list) |
1174 | 如果此条件成立可能性大(为编译器优化)(!(mnt_flags & MNT_INTERNAL))则 |
1176 | 如果此条件成立可能性大(为编译器优化)(!(flags & I am a kernel thread ))则 |
1177 | init_task_work( & mnt_rcu, __cleanup_mnt) |
1181 | 如果添加列表项则在延迟工作队列中放置任务 |
1183 | 返回 |
1185 | cleanup_mnt(mnt) |
名称 | 描述 |
---|---|
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |