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:nd_jump_root

Proto:static int nd_jump_root(struct nameidata *nd)

Type:int

Parameter:

TypeParameterName
struct nameidata *nd
840  If flags & RCU pathwalk mode; semi-internal Then
842  path = root
843  d = dentry
844  path.dentry.d_inode = Where the name belongs to - NULL is * negative
845  seq = root_seq
846  If Value for the false possibility is greater at compile time(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) Then Return -ECHILD
848  Else
849  path_put - put a reference to a path*@path: path to put the reference to* Given a path decrement the reference count to the dentry and the vfsmount.
850  path = root
851  path_get - get a reference to a path*@path: path to get the reference to* Given a path increment the reference count to the dentry and the vfsmount.
852  path.dentry.d_inode = d_inode
854  flags |= LOOKUP_JUMPED
855  Return 0
Caller
NameDescribe
get_link
path_initmust be paired with terminate_walk()