函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:vfsmount lock must be held. Additionally, the caller is responsible* for serializing calls for given disposal list.

函数原型:static void __put_mountpoint(struct mountpoint *mp, struct list_head *list)

返回类型:void

参数:

类型参数名称
struct mountpoint *mp
struct list_head *list
756  如果非m_count先自减则
757  dentry等于m_dentry
758  BUG_ON(!hlist_empty( & m_list))
759  加自旋锁
760  protected by d_lock 与等于s a mountpoint 的反
761  自旋锁解锁
762  dput_to_list(dentry, list)
763  hlist_del( & m_hash)
764  释放内存
调用者
名称描述
put_mountpointalled with namespace_lock and vfsmount lock
mntput_no_expire