函数逻辑报告 |
Source Code:lib\locking-selftest.c |
Create Date:2022-07-27 07:49:59 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ww_test_normal
函数原型:static void ww_test_normal(void)
返回类型:void
参数:无
1355 | ctx等于0UL的反 |
1356 | mutex_lock( & base) |
1357 | mutex_unlock( & base) |
1361 | ctx等于0UL的反 |
1362 | ret等于mutex_lock_interruptible( & base) |
1363 | 如果非ret则mutex_unlock( & base) |
1365 | 否则WARN_ON(1) |
1370 | ctx等于0UL的反 |
1371 | ret等于mutex_lock_killable( & base) |
1372 | 如果非ret则mutex_unlock( & base) |
1374 | 否则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 | 如果ret则mutex_unlock( & base) |
1384 | 否则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) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |