| 函数逻辑报告 | 
| Source Code: kernel\locking\mutex.c | Create Date:2022-07-27 10:47:33 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:__mutex_init
函数原型:void __mutex_init(struct mutex *lock, const char *name, struct lock_class_key *key)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct mutex * | lock | |
| const char * | name | |
| struct lock_class_key * | key | 
| 42 | atomic_long_set( & owner, 0) | 
| 43 | spin_lock_init( & wait_lock) | 
| 44 | 初始化链表头 | 
| 49 | debug_mutex_init(lock, name, key) | 
| 名称 | 描述 | 
|---|---|
| init_class_Y | |
| init_class_Z | |
| init_class_X | |
| ww_mutex_init | ww_mutex_init - initialize the w/w mutex*@lock: the mutex to be initialized*@ww_class: the w/w class the mutex should belong to* Initialize the w/w mutex to unlocked state and associate it with the given* class. | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |