函数逻辑报告 |
Source Code:lib\test_firmware.c |
Create Date:2022-07-27 07:25:51 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:trigger_async_request_store
函数原型:static ssize_t trigger_async_request_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
返回类型:ssize_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct device * | dev | |
struct device_attribute * | attr | |
const char * | buf | |
size_t | count |
525 | name等于kstrndup(buf, count, GFP_KERNEL) |
531 | mutex_lock( & test_fw_mutex) |
533 | test_firmware = NULL |
534 | rc等于request_firmware_nowait(THIS_MODULE, 1, name, dev, GFP_KERNEL, NULL, trigger_async_request_cb) |
536 | 如果rc则 |
544 | wait_for_completion( & async_fw_done) |
546 | 如果test_firmware则 |
549 | 否则 |
554 | out : |
555 | mutex_unlock( & test_fw_mutex) |
557 | 返回:rc |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |