函数逻辑报告 |
Source Code:ipc\util.c |
Create Date:2022-07-27 18:15:06 |
| Last Modify:2022-05-23 18:05:07 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:pc_rmid - remove an ipc identifier*@ids: ipc identifier set*@ipcp: ipc perm structure containing the identifier to remove* ipc_ids.rwsem (as a writer) and the spinlock for this ID are held* before this function is called, and remain locked on the exit.
函数原型:void ipc_rmid(struct ipc_ids *ids, struct kern_ipc_perm *ipcp)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct ipc_ids * | ids | |
| struct kern_ipc_perm * | ipcp |
| 463 | idx等于ipcid_to_idx(id) |
| 465 | 删除释放idr |
| 467 | in_use自减 |
| 468 | deleted = true |
| 470 | 如果此条件成立可能性小(为编译器优化)(idx == max_idx)则 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |