函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:dissolve_on_fput

函数原型:void dissolve_on_fput(struct vfsmount *mnt)

返回类型:void

参数:

类型参数名称
struct vfsmount *mnt
1837  namespace_lock()
1838  lock_mount_hash()
1839  ns等于 containing namespace
1840  如果ns
1841  如果is_anon_ns(ns)则mount_lock must be held* namespace_sem must be held for write
1843  否则ns = NULL
1846  unlock_mount_hash()
1847  namespace_unlock()
1848  如果nsfree_mnt_ns(ns)
调用者
名称描述
open_detached_copy
SYSCALL_DEFINE3Create a kernel mount representation for a new, prepared superblock* (specified by fs_fd) and attach to an open_tree-like file descriptor.