Function report |
Source Code:lib\test_firmware.c |
Create Date:2022-07-28 06:28:29 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:trigger_async_request_store
Proto:static ssize_t trigger_async_request_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
Type:ssize_t
Parameter:
Type | Parameter | Name |
---|---|---|
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 | If rc Then |
544 | wait_for_completion( & async_fw_done) |
546 | If test_firmware Then |
549 | Else |
554 | out : |
555 | mutex_unlock( & test_fw_mutex) |
557 | Return rc |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |