函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:start_dir_add

函数原型:static inline unsigned start_dir_add(struct inode *dir)

返回类型:unsigned

参数:

类型参数名称
struct inode *dir
2487  循环
2488  n等于i_dir_seq
2489  如果非n按位与1的值且cmpxchg( & i_dir_seq, n, n + 1)恒等于n则返回:n
2491  cpu_relax()
调用者
名称描述
__d_add
__d_move__d_move - move a dentry*@dentry: entry to move*@target: new dentry*@exchange: exchange the two dentries* Update the dcache to reflect the move of a file name