Function report |
Source Code:ipc\util.c |
Create Date:2022-07-28 16:39:56 |
| Last Modify:2022-05-23 18:05:07 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:struct kern_ipc_perm *ipc_obtain_object_idr(struct ipc_ids *ids, int id)
Type:struct kern_ipc_perm
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct ipc_ids * | ids | |
| int | id |
| 596 | idx = ipcid_to_idx(id) |
| 602 | Return out |
| Name | Describe |
|---|---|
| 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. |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |