函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:copy_fs_struct

函数原型:struct fs_struct *copy_fs_struct(struct fs_struct *old)

返回类型:struct fs_struct

参数:

类型参数名称
struct fs_struct *old
114  fs等于分配高速缓存区
116  如果fs
117  users等于1
118  in_exec等于0
119  spin_lock_init( & lock)
120  seqcount_init( & seq)
121  umask等于umask
123  加自旋锁
124  root等于root
125  path_get - get a reference to a path*@path: path to get the reference to* Given a path increment the reference count to the dentry and the vfsmount.
126  pwd等于pwd
127  path_get - get a reference to a path*@path: path to get the reference to* Given a path increment the reference count to the dentry and the vfsmount.
128  自旋锁解锁
130  返回:fs
调用者
名称描述
unshare_fsUnshare the filesystem structure if it is being shared
unshare_fs_struct
copy_fs复制文件系统