Function report |
Source Code:lib\test_kmod.c |
Create Date:2022-07-28 06:34:40 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Only wait *iff* we did not run into any errors during all of our thread* set up. If run into any issues we stop threads and just bail out with* an error to the trigger. This also means we don't need any tally work* for any threads which fail.
Proto:static int try_requests(struct kmod_test_device *test_dev)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct kmod_test_device * | test_dev |
393 | bool any_error = false |
395 | When idx < num_threads cycle |
396 | If test_is_oom Then |
397 | any_error = true |
398 | Break |
401 | ret = try_one_request(test_dev, idx) |
402 | If ret Then |
403 | any_error = true |
404 | Break |
408 | If Not any_error Then |
409 | test_is_oom = false |
412 | wait_for_completion( & kthreads_done) |
414 | Else |
415 | test_is_oom = true |
419 | Return -ENOMEM |
422 | Return 0 |
Name | Describe |
---|---|
run_test_driver | |
run_test_fs_type |
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 |