Function report |
Source Code:lib\locking-selftest.c |
Create Date:2022-07-28 06:53:05 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ww_test_normal
Proto:static void ww_test_normal(void)
Type:void
Parameter:Nothing
| 1355 | ctx = ~0UL |
| 1356 | mutex_lock( & base) |
| 1357 | mutex_unlock( & base) |
| 1361 | ctx = ~0UL |
| 1362 | ret = mutex_lock_interruptible( & base) |
| 1363 | If Not ret Then mutex_unlock( & base) |
| 1365 | Else WARN_ON(1) |
| 1370 | ctx = ~0UL |
| 1371 | ret = mutex_lock_killable( & base) |
| 1372 | If Not ret Then mutex_unlock( & base) |
| 1374 | Else WARN_ON(1) |
| 1379 | ctx = ~0UL |
| 1380 | ret = NOTE: mutex_trylock() follows the spin_trylock() convention,* not the down_trylock() convention!* Returns 1 if the mutex has been acquired successfully, and 0 on contention. |
| 1382 | If ret Then mutex_unlock( & base) |
| 1384 | Else WARN_ON(1) |
| 1389 | ctx = ~0UL |
| 1390 | mutex_lock( & base) |
| 1391 | ret = NOTE: mutex_trylock() follows the spin_trylock() convention,* not the down_trylock() convention!* Returns 1 if the mutex has been acquired successfully, and 0 on contention. |
| 1393 | mutex_unlock( & base) |
| 1397 | ctx = ~0UL |
| 1398 | mutex_lock_nest_lock( & base, & t) |
| 1399 | mutex_unlock( & base) |
| 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 |