函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:path_put is needed afterwards regardless of success or failure

函数原型:static bool legitimize_path(struct nameidata *nd, struct path *path, unsigned seq)

返回类型:bool

参数:

类型参数名称
struct nameidata *nd
struct path *path
unsignedseq
614  res等于all under rcu_read_lock
615  如果此条件成立可能性小(为编译器优化)(res)则
616  如果res大于0则mnt = NULL
618  dentry = NULL
619  返回:false
621  如果此条件成立可能性小(为编译器优化)(! 有引用则递增计数)则
622  dentry = NULL
623  返回:false
625  返回:非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
调用者
名称描述
legitimize_links
legitimize_root
unlazy_walklazy_walk - try to switch to ref-walk mode
pick_link