Function report |
Source Code:kernel\locking\test-ww_mutex.c |
Create Date:2022-07-28 09:55:15 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:stress_reorder_work
Proto:static void stress_reorder_work(struct work_struct *work)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct work_struct * | work |
| 446 | order = get_random_order(nlocks) |
| 447 | If Not order Then Return |
| 451 | ll = Allocation memory |
| 459 | order = NULL |
| 461 | Do |
| 465 | err = ww_mutex_lock(lock, & ctx) |
| 466 | If Not err Then Continue |
| 470 | list_for_each_entry_continue_reverse - iterate backwards from the given point*@pos: the type * to use as a loop cursor(ln, & locks, link) |
| 474 | pr_err_once("stress (%s) failed with %d\n", __func__, err) |
| 476 | Break |
| 483 | dummy_load(stress) |
| 490 | out : |
| 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 |