函数逻辑报告 |
Source Code:include\linux\ww_mutex.h |
Create Date:2022-07-27 07:46:44 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:ww_acquire_init - initialize a w/w acquire context*@ctx: w/w acquire context to initialize*@ww_class: w/w class of the context* Initializes an context to acquire multiple mutexes of the given w/w class
函数原型:static inline void ww_acquire_init(struct ww_acquire_ctx *ctx, struct ww_class *ww_class)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct ww_acquire_ctx * | ctx | |
| struct ww_class * | ww_class |
| 133 | stamp等于atomic_long_inc_return_relaxed( & stamp) |
| 134 | acquired等于0 |
| 135 | wounded = false |
| 136 | is_wait_die等于is_wait_die |
| 143 | debug_check_no_locks_freed((void * )ctx, ctx的长度) |
| 144 | lockdep_init_map( & dep_map, acquire_name, & acquire_key, 0) |
| 146 | mutex_acquire( & dep_map, 0, 0, _RET_IP_) |
| 名称 | 描述 |
|---|---|
| torture_ww_mutex_lock | |
| __test_mutex | |
| test_aa | |
| test_abba_work | |
| test_abba | |
| test_cycle_work | |
| stress_inorder_work | |
| stress_reorder_work |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |