函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:get_fs_root_and_pwd_rcu

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

返回类型:void

参数:

类型参数名称
struct fs_struct *fs
struct path *root
struct path *pwd
400  循环
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 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循环
调用者
名称描述
SYSCALL_DEFINE2NOTE! The user-level library version returns a* character pointer