Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\d_path.c Create Date:2022-07-28 20:12:01
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:get_fs_root_and_pwd_rcu

Proto:static void get_fs_root_and_pwd_rcu(struct fs_struct *fs, struct path *root, struct path *pwd)

Type:void

Parameter:

TypeParameterName
struct fs_struct *fs
struct path *root
struct path *pwd
400  Do
401  seq = ad_seqcount_begin - begin a seq-read critical section*@s: pointer to seqcount_t* Returns: count to be passed to read_seqcount_retry* read_seqcount_begin opens a read critical section of the given seqcount
402  root = root
403  pwd = pwd
404  When ad_seqcount_retry - end a seq-read critical section*@s: pointer to seqcount_t*@start: count, from read_seqcount_begin* Returns: 1 if retry is required, else 0* read_seqcount_retry closes a read critical section of the given seqcount cycle
Caller
NameDescribe
SYSCALL_DEFINE2NOTE! The user-level library version returns a* character pointer