函数逻辑报告 |
Source Code:ipc\sem.c |
Create Date:2022-07-27 18:20:29 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:If the task doesn't already have a undo_list, then allocate one* here. We guarantee there is only one thread using this undo list,* and current is THE ONE* If this allocation and assignment succeeds, but later
函数原型:static inline int get_undo_list(struct sem_undo_list **undo_listp)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct sem_undo_list ** | undo_listp |
1837 | 如果非undo_list则 |
1841 | spin_lock_init( & lock) |
1843 | 初始化链表头 |
1847 | undo_listp等于undo_list |
1848 | 返回:0 |
名称 | 描述 |
---|---|
find_alloc_undo | d_alloc_undo - lookup (and if not present create) undo array*@ns: namespace*@semid: semaphore array id* The function looks up (and if not present creates) the undo structure.* The size of the undo structure depends on the size of the semaphore |
copy_semundo | 重置信号量 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |