函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\fs_struct.h Create Date:2022-07-27 09:55:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:get_fs_root

函数原型:static inline void get_fs_root(struct fs_struct *fs, struct path *root)

返回类型:void

参数:

类型参数名称
struct fs_struct *fs
struct path *root
29  加自旋锁
30  root等于root
31  path_get(root)
32  自旋锁解锁
调用者
名称描述
d_namespace_pathd_namespace_path - lookup a name associated with a given path*@path: path to lookup (NOT NULL)*@buf: buffer to store path to (NOT NULL)*@name: Returns - pointer for start of path name with in @buf (NOT NULL)*@flags: flags controlling path
set_root
SYSCALL_DEFINE2pivot_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
current_chrooted
mounts_open_common
do_coredump