函数逻辑报告 |
Source Code:fs\namei.c |
Create Date:2022-07-29 10:34:53 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Perform an automount* - return -EISDIR to tell follow_managed() to stop and return the path we* were called with.
函数原型:static int follow_automount(struct path *path, struct nameidata *nd, bool *need_mntput)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct path * | path | |
struct nameidata * | nd | |
bool * | need_mntput |
1143 | 如果非d_op或非d_automount则返回:负EREMOTE |
1157 | 如果非flags按位与rnal use only 按位或quire a directory 按位或... in open 按位或... in object creation 按位或rce terminal automount 的值的值且 Where the name belongs to - NULL is * negative 则返回:负EISDIR |
1162 | total_link_count自加 |
1163 | 如果total_link_count大于等于40则返回:负ELOOP |
1166 | mnt等于d_automount(path) |
1167 | 如果是错误则 |
1182 | 如果非mnt则返回:0 |
1185 | 如果非need_mntput则 |
1188 | * need_mntput = true |
1190 | err等于finish_automount(mnt, path) |
1195 | 返回:0 |
1200 | 返回:0 |
1201 | 默认 |
1202 | 返回:err |
名称 | 描述 |
---|---|
follow_managed | Handle a dentry that is managed in some way.* - Flagged for transit management (autofs)* - Flagged as mountpoint* - Flagged as automount point* This may only be called in refwalk mode.* On success path->dentry is known positive. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |