函数逻辑报告 |
Source Code:fs\libfs.c |
Create Date:2022-07-29 10:40:56 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Directory is locked and all positive dentries in it are safe, since* for ramfs-type trees they can't go away without unlink() or rmdir(),* both impossible due to the lock on directory.
函数原型:int dcache_readdir(struct file *file, struct dir_context *ctx)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct file * | file | |
struct dir_context * | ctx |
188 | anchor等于 our children |
192 | 如果非dir_emit_dots(file, ctx)则返回:0 |
197 | 否则如果非链表为空则p等于 child of parent list |
199 | 否则返回:0 |
206 | pos自加 |
207 | p等于 child of parent list |
209 | 加自旋锁 |
212 | 否则删除链表项并重新初始化 |
214 | 自旋锁解锁 |
217 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |