Function report |
Source Code:kernel\kcmp.c |
Create Date:2022-07-28 10:36:46 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kcmp_lock
Proto:static int kcmp_lock(struct mutex *m1, struct mutex *m2)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct mutex * | m1 | |
| struct mutex * | m2 |
| 89 | If m2 > m1 Then swap - swap values of @a and @b*@a: first value*@b: second value(m1, m2) |
| 92 | err = mutex_lock_killable(m1) |
| 93 | If Not err && Value is more likely to compile time(m1 != m2) Then |
| 99 | Return err |
| Name | Describe |
|---|---|
| SYSCALL_DEFINE5 |
| 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 |