Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:set_root

Proto:static void set_root(struct nameidata *nd)

Type:void

Parameter:

TypeParameterName
struct nameidata *nd
803  fs = fs
805  If flags & RCU pathwalk mode; semi-internal Then
808  Do
810  root = root
812  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
813  Else
814  get_fs_root(fs, & root)
815  flags |= LOOKUP_ROOT_GRABBED
Caller
NameDescribe
get_link
handle_dots
path_initmust be paired with terminate_walk()