函数逻辑报告 |
Source Code:ipc\util.c |
Create Date:2022-07-27 18:15:13 |
| Last Modify:2022-05-23 18:05:07 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:pc_obtain_object_idr*@ids: ipc identifier set*@id: ipc id to look for* Look for an id in the ipc ids idr and return associated ipc object.* Call inside the RCU critical section.* The ipc object is *not* locked on exit.
函数原型:struct kern_ipc_perm *ipc_obtain_object_idr(struct ipc_ids *ids, int id)
返回类型:struct kern_ipc_perm
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct ipc_ids * | ids | |
| int | id |
| 596 | idx等于ipcid_to_idx(id) |
| 602 | 返回:out |
| 名称 | 描述 |
|---|---|
| ipc_obtain_object_check | pc_obtain_object_check*@ids: ipc identifier set*@id: ipc id to look for* Similar to ipc_obtain_object_idr() but also checks the ipc object* sequence number.* Call inside the RCU critical section.* The ipc object is *not* locked on exit. |
| msq_obtain_object | |
| sem_obtain_object | sem_lock_(check_) routines are called in the paths where the rwsem* is not held.* The caller holds the RCU read lock. |
| shm_obtain_object | |
| shm_lock | shm_lock_(check_) routines are called in the paths where the rwsem* is not necessarily held. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |