Function report |
Source Code:kernel\locking\test-ww_mutex.c |
Create Date:2022-07-28 09:54:54 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__test_mutex
Proto:static int __test_mutex(unsigned int flags)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned int | flags |
58 | INIT_WORK_ONSTACK( & work, test_mutex_work) |
59 | init_completion( & ready) |
60 | init_completion( & go) |
61 | init_completion( & done) |
67 | ww_mutex_lock( & mutex, (flags & TEST_MTX_CTX) ? & ctx : NULL) |
69 | If flags & TEST_MTX_SPIN Then |
80 | Else |
86 | If ret Then |
93 | destroy_work_on_stack( & work) |
94 | Return ret |
Name | Describe |
---|---|
test_mutex |
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 |