函数逻辑报告 |
Source Code:lib\test_firmware.c |
Create Date:2022-07-27 07:25:56 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:read_firmware_show
函数原型:static ssize_t read_firmware_show(struct device *dev, struct device_attribute *attr, char *buf)
返回类型:ssize_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct device * | dev | |
struct device_attribute * | attr | |
char * | buf |
850 | rc等于0 |
852 | mutex_lock( & test_fw_mutex) |
854 | idx等于read_fw_idx |
855 | 如果idx大于等于num_requests则 |
865 | req等于These below don't belong her but we'll move them once we create* a struct fw_test_device and stuff the misc_dev under there later.[idx] |
866 | 如果非fw则 |
882 | out : |
883 | mutex_unlock( & test_fw_mutex) |
885 | 返回:rc |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |