| Function report | 
| Source Code: lib\test_firmware.c | Create Date:2022-07-28 06:28:30 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:trigger_custom_fallback_store
Proto:static ssize_t trigger_custom_fallback_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 | 
| 568 | name = kstrndup(buf, count, GFP_KERNEL) | 
| 574 | mutex_lock( & test_fw_mutex) | 
| 576 | test_firmware = NULL | 
| 577 | rc = request_firmware_nowait(THIS_MODULE, FW_ACTION_NOHOTPLUG, name, dev, GFP_KERNEL, NULL, trigger_async_request_cb) | 
| 580 | If rc Then | 
| 588 | wait_for_completion( & async_fw_done) | 
| 590 | If test_firmware Then | 
| 593 | Else | 
| 598 | out : | 
| 599 | mutex_unlock( & test_fw_mutex) | 
| 601 | 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 |