Function report |
Source Code:kernel\locking\test-ww_mutex.c |
Create Date:2022-07-28 09:55:17 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:stress_one_work
Proto:static void stress_one_work(struct work_struct *work)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct work_struct * | work |
501 | lock = locks + get_random_int() % nlocks |
504 | Do |
505 | err = ww_mutex_lock(lock, NULL) |
506 | If Not err Then |
507 | dummy_load(stress) |
509 | Else |
510 | pr_err_once("stress (%s) failed with %d\n", __func__, err) |
512 | Break |
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 |