Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\fs_struct.h Create Date:2022-07-28 08:56:18
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:get_fs_root

Proto:static inline void get_fs_root(struct fs_struct *fs, struct path *root)

Type:void

Parameter:

TypeParameterName
struct fs_struct *fs
struct path *root
29  spin_lock( & lock)
30  root = root
31  path_get(root)
32  spin_unlock( & lock)
Caller
NameDescribe
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