函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\namespace.c Create Date:2022-07-29 10:39:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:cleanup_mnt

函数原型:static void cleanup_mnt(struct mount *mnt)

返回类型:void

参数:

类型参数名称
struct mount *mnt
1093  WARN_ON(mnt_get_writers(mnt))
1094  如果此条件成立可能性小(为编译器优化)(first)则mnt_pin_kill(mnt)
1097  hlist_del( & mnt_umount)
1098  mntput( & mnt)
1100  snotify_vfsmount_delete - a vfsmount is being destroyed, clean up is needed
1101  dput - release a dentry*@dentry: dentry to release * Release a dentry. This will drop the usage count and if appropriate* call the dentry unlink method as well as removing it from the queues and* releasing its resources
1102  降低活跃性
1103  mnt_free_id(mnt)
1104  Post an RCU callback to be invoked after the end of an RCU grace* period. But since we have but one CPU, that would be after any* quiescent state.
调用者
名称描述
__cleanup_mnt
delayed_mntput
mntput_no_expire