函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:set_root

函数原型:static void set_root(struct nameidata *nd)

返回类型:void

参数:

类型参数名称
struct nameidata *nd
803  fs等于fs
805  如果flags按位与RCU pathwalk mode; semi-internal
808  循环
810  root等于root
812 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循环
813  否则
814  get_fs_root(fs, & root)
815  flags或等于LOOKUP_ROOT_GRABBED
调用者
名称描述
get_link
handle_dots
path_initmust be paired with terminate_walk()