函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:path_check_mount

函数原型:static enum d_walk_ret path_check_mount(void *data, struct dentry *dentry)

返回类型:enum d_walk_ret

参数:

类型参数名称
void *data
struct dentry *dentry
1382  info等于data
1383  struct path path = {mnt = mnt, dentry = dentry}
1385  如果此条件成立可能性大(为编译器优化)(!d_mountpoint(dentry))则返回:D_WALK_CONTINUE
1387  如果__path_is_mountpoint( & path)则
1388  mounted等于1
1389  返回:D_WALK_QUIT
1391  返回:D_WALK_CONTINUE