函数逻辑报告

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

函数名称:nd_jump_root

函数原型:static int nd_jump_root(struct nameidata *nd)

返回类型:int

参数:

类型参数名称
struct nameidata *nd
840  如果flags按位与RCU pathwalk mode; semi-internal
842  path等于root
843  d等于dentry
844  path.dentry.d_inode 等于 Where the name belongs to - NULL is * negative
845  seq等于root_seq
846  如果此条件成立可能性小(为编译器优化)(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)则返回:负ECHILD
848  否则
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  返回:0
调用者
名称描述
get_link
path_initmust be paired with terminate_walk()