函数逻辑报告 |
Source Code:lib\test_firmware.c |
Create Date:2022-07-27 07:25:55 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:trigger_batched_requests_async_store
函数原型:static ssize_t trigger_batched_requests_async_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 |
| 763 | mutex_lock( & test_fw_mutex) |
| 773 | 打印信息("batched loading '%s' custom fallback mechanism %u times\n", name, num_requests) |
| 779 | 以i小于num_requests循环 |
| 780 | 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.[i] |
| 782 | fw = NULL |
| 784 | init_completion( & completion) |
| 785 | rc等于request_firmware_nowait(THIS_MODULE, send_uevent, name, dev, GFP_KERNEL, req, We wait for each callback to return with the lock held, no need to lock here) |
| 789 | 如果rc则 |
| 794 | 否则sent = true |
| 800 | out_bail : |
| 810 | 以i小于num_requests循环 |
| 811 | 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.[i] |
| 812 | 如果sent则wait_for_completion( & completion) |
| 817 | 如果rc小于0则test_result等于rc |
| 820 | out : |
| 821 | mutex_unlock( & test_fw_mutex) |
| 823 | 返回:rc |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |