| 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:test_fw_run_batch_request
Proto:static int test_fw_run_batch_request(void *data)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| void * | data | 
| 609 | If Not req Then | 
| 610 | test_result = -EINVAL | 
| 611 | Return -EINVAL | 
| 614 | If into_buf Then | 
| 617 | test_buf = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). | 
| 621 | rc = request_firmware_into_buf( & fw, name, dev, test_buf, TEST_FIRMWARE_BUF_SIZE) | 
| 628 | Else | 
| 629 | rc = req_firmware( & fw, name, dev) | 
| 634 | If rc Then | 
| 637 | If Not test_result Then test_result = rc | 
| 639 | Else if fw Then | 
| 646 | task = NULL | 
| 648 | Return 0 | 
| 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 |