| Function report | 
| Source Code: ipc\shm.c | Create Date:2022-07-28 16:46:27 | 
| Last Modify:2020-03-17 22:58:32 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Called with shm_ids.rwsem (writer) and the shp structure locked.* Only shm_ids.rwsem remains locked on exit.
Proto:static void do_shm_rmid(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct ipc_namespace * | ns | |
| struct kern_ipc_perm * | ipcp | 
| 119 | If shm_nattch Then | 
| 123 | shm_unlock(shp) | 
| 124 | Else shm_destroy(ns, shp) | 
| Name | Describe | 
|---|---|
| shmctl_down | This function handles some shmctl commands which require the rwsem* to be held in write mode.* NOTE: no locks must be held, the rwsem is taken inside this function. | 
| 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 |